wiki:SubversionAccess

Version 5 (modified by Gavin, 16 years ago) (diff)

--

Subversion Access

  • Anonymous Access

Anyone may checkout a copy, you can try it, make changes and generate diffs but not commit.

 svn co http://gnumims.org/svn/gnumims/trunk gnuMimsTrunkHead
  • SVN+SSH Access

Developers you will need to generate a key pair. Where 'username' is your name.

 ssh-keygen -t dsa -f username_dsa

Two files will be created username_dsa is your private key, keep it safe and use it for access. The file username_dsa.pub is your public key, email a copy of this to us so we can add it to /home/svnuser/.ssh/authorized_keys. Please read SubversionUsage and CodingConventions.

The private key is used like this in the [tunnels] section of: ~/.subversion/config

 sshusername = /usr/bin/ssh -l username -i ~/.ssh/username_dsa

then test:

 svn list svn+sshusername://gnumims.org/gnumims/

checkout:

 svn co svn+sshusername://gnumims.org/gnumims/trunk gnuMimsTrunkHead
  • TortoiseSVN

To generate a key under windows you may need to get Putty. Open Explorer file window, right-click in the file section (get a pop-up), choose: TortoiseSVN -> Settings -> "Network" Pane-> SSH Client:

C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe -l username -i C:/PATH/TO/username_dsa