Changes between Version 5 and Version 6 of SubversionAccess


Ignore:
Timestamp:
May 28, 2009, 12:27:59 AM (15 years ago)
Author:
Gavin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SubversionAccess

    v5 v6  
    1 == Subversion Access ==
     1= Subversion Access =
     2There are two ways to access subversion. Anonymous is for anyone to get the latest copy of the code (with svn info included) and Developer is the next step if you find yourself regularly contributing to the code. Note the "Browse Source" link above also allows downloading of the trunk folder as a zip file (with no svn info included).
    23
    3 
    4  * Anonymous Access
    5     Anyone may checkout a copy, you can try it, make changes and generate diffs but not commit.
     4== Anonymous Access ==
     5    Anyone may checkout a copy, you can try it, make changes to it and generate diffs. But not commit directly with svn. You may email the diffs to us though and this is a good starting point to becoming a developer.
    66{{{
    77 svn co http://gnumims.org/svn/gnumims/trunk gnuMimsTrunkHead
    88}}}
    9  * SVN+SSH Access
    10     Developers you will need to generate a key pair. Where 'username' is your name.
     9
     10== Developer Access (Custom SVN+SSH) ==
     11    Developers you will need to generate a key pair. Where ''!UserName'' is replaced with your name.
    1112{{{
    12  ssh-keygen -t dsa -f username_dsa
     13 ssh-keygen -t dsa -f UserName_dsa
    1314}}}
    14     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.
    1515
    16     The private key is used like this in the [tunnels] section of: ~/.subversion/config
     16    Two files will be created:
     17 * '''!UserName_dsa.pub''' is your '''public key'''.
     18 * Email a copy of the public key to us so ''we'' can add it to /home/svnuser/.ssh/authorized_keys on the svn server.
     19
     20 * '''!UserName_dsa''' is your '''private key''', keep it safe and use it for access.
     21 * You use the private key like this in: '''/home/me/.subversion/config'''
    1722{{{
    18  sshusername = /usr/bin/ssh -l username -i ~/.ssh/username_dsa
     23 [tunnels]
     24 customssh = /usr/bin/ssh -l svnuser -i /home/me/.ssh/UserName_dsa
    1925}}}
    20     then test:
     26
     27    Notes: [tunnels] should already be a section in the config file. The full path to the key is required and the only thing that should be changed is ''!UserName''.
     28
     29
     30 Once we have added your public key then you can try the test bellow. In the mean time please read SubversionUsage and CodingConventions.
     31    Test:
    2132{{{
    22  svn list svn+sshusername://gnumims.org/gnumims/
     33 svn list svn+customssh://gnumims.org/gnumims/
    2334}}}
    24     checkout:
     35    Checkout:
    2536{{{
    26  svn co svn+sshusername://gnumims.org/gnumims/trunk gnuMimsTrunkHead
     37 svn co svn+customssh://gnumims.org/gnumims/trunk gnuMimsTrunkHead
    2738}}}
    2839 * TortoiseSVN
     40     ''Not tested yet as none of use use Tortoise''
    2941     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:
    3042{{{