Changes between Initial Version and Version 1 of setup_svn_on_allende


Ignore:
Timestamp:
Apr 1, 2008, 3:42:47 PM (17 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • setup_svn_on_allende

    v1 v1  
     1= How do I setup an SVN repository for a member on Allende? =
     2
     3These instructions are for May First/People Link administrators and require special privileges to run.
     4
     5Big picture: these instructions will result in a single user account on allende that multiple people can use for accessing a subversion repository. Replace the variable $GROUPNAME with the actual group name you are creating.
     6
     7 * Login to allende and create a new user account - create a long random pasword (it won't be used)
     8{{{
     9adduser $GROUPNAME
     10}}}
     11 * Edit the /home/$GROUPNAME/.ssh/authorized_keys file. Add the keys of the people who should have access. Preceding each key should be (replace $USER with the name of the key's owner - this name will be used to attribute changes made by the person owning the public key:
     12{{{
     13command="svnserve -t --tunnel-user=$USER -r/srv/svn/nacla",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty
     14
     15For example:
     16command="svnserve -t --tunnel-user=jamie -r/srv/svn/nacla",no-port-forwarding,no-agent-forwarding,no-X11-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEA3Hk0plzcZ1v69ugNGpp8CwcEqdUz4FxhhbjhfOKqqLYfiUEC3e9j2EDWXkYBZUQecVgF9mxKdzhvUeGoYyJs6jdyOCbtfpo4qFRZrnsiH0GljTpLyM09mhhN8KHiLaQbgEPbQb5Zk7okAgMzR/hINjZzT0+0KC/V4hsHySjxoJ8= jamie@liberace
     17}}}
     18 * Create the group repository (FIXME How do you do this??)
     19 * Ensure proper permissions of the repository:
     20{{{
     21chgrp $GROUPNAME /srv/svn/$GROUPNAME
     22chmod 775 /srv/svn/$GROUPNAME
     23}}}
     24 * Create initial directories (you should put your own public key (temporarily) in the authorized_keys file so you can do this from your local computer:
     25{{{
     26svn mkdir svn+ssh://$GROUPNAME@svn.mayfirst.org/{trunk,tags,branches,sandbox}
     27}}}