| 1 | == Subversion Access == |
| 2 | |
| 3 | |
| 4 | * Anonymous Access |
| 5 | This command will checkout a copy, you can try it, make changes and generate diffs but not commit. |
| 6 | {{{ |
| 7 | svn co http://gnumims.org/svn/gnumims/trunk |
| 8 | }}} |
| 9 | * SVN+SSH Access |
| 10 | You will need to generate a key pair. Where 'username' is your name. |
| 11 | {{{ |
| 12 | ssh-keygen -t dsa -f username_dsa |
| 13 | }}} |
| 14 | Two files will be created '''username_dsa''' is your '''private key''', keep it safe, 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. |
| 15 | |
| 16 | The private key is used like this in: ~/.subversion/config |
| 17 | {{{ |
| 18 | sshusername = /usr/bin/ssh -l username -i ~/.ssh/username_dsa |
| 19 | }}} |
| 20 | then test: |
| 21 | {{{ |
| 22 | svn list svn+sshusername://gnumims.org/gnumims/ |
| 23 | }}} |
| 24 | checkout: |
| 25 | {{{ |
| 26 | svn co svn+sshusername://gnumims.org/gnumims/trunk gnuMimsTrunkHead |
| 27 | }}} |