Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




SVN -> Gemini Integration with SSH

add-ons

We are running SVN using fsfs Berkley DB file format and we commit changes to our SVN projects through an SSH tunnel using TortoiseSVN. Our installation of Gemini is used to handle issues in multiple projects. Which approach should be taken to link SVN Commits to specific issues in specific projects?

sqmgdev
· 1
sqmgdev
Replies (4)
helpful
0
not helpful

Commit failed (details follow): Commit blocked by pre-commit hook (exit code -532459699) with output:

Unhandled Exception: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException) at System.Security.CodeAccessSecurityEngine.CheckSetHelper(CompressedStack cs, PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Assembly asm, SecurityAction action) at CounterSoft.Gemini.Commons.Diagnostics.DiagnosticsManager.TraceMessage(String message) at CounterSoft.Gemini.SourceControl.SVN.Program.Main(String[] args) The action that failed was: LinkDemand The type of the first permission that failed was: System.Security.Permissions.SecurityPermission The first permission that failed was:

The demand was for:

The granted set of the failing assembly was:

The assembly or AppDomain that failed was: CounterSoft.Gemini.Commons, Version=3.1.2.2276, Culture=neutral, PublicKeyToken=0e17ff0349390ca9 The Zone of the assembly that failed was: Internet The Url of the assembly that failed was: file:///r:/testProject/hooks/CounterSoft.Gemini.Commons.DLL


sqmgdev
· 1
sqmgdev
helpful
0
not helpful

Where did you put Gemini the SVN dlls?

Please make sure that it is a trusted location.

See: http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/e91bfb53-5148-4122-894c-56dc0d0b6a29/


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I placed the CounterSoft.Gemini.Commons.dll and the CounterSoft.Gemini.Services.dll in the Hooks folder of the project repository. When using TortoiseSVN to checkout and commit code we include a connection string using our ssh login. e.g., when checking out code in TortoiseSVN:

svn+ssh:\user@SVN\testProject


sqmgdev
· 1
sqmgdev
helpful
0
not helpful

svn+ssh:\user@SVN\testProject

Maybe a small issue, but URLs don't use backslashes. Anyway, the error seems to be a permissions-related one. Who owns the DLLs? Who else has access?


Bob Denny
· 1
Bob Denny