Toolserver:New-style Subversion repositories

How it used to work:


 * SVN repositories for each user were in $HOME/subversion/
 * svnserve ran to provide read-only access via svn://
 * Write access had to go via svn+ssh:// or file://, which accesses files directly

Why this sucked:


 * URLs for read-only and commit access were different
 * Allowing several users to commit to a repository required a new Unix group to be created
 * All files in the repository are readable by everyone

How it works now:


 * SVN repositories for each user are in /var/svn/repos
 * Direct access to the repository is not allowed
 * Apache with mod_dav_svn provides read and write access to the repository via http:// or https://

Why this is better:


 * URLs for read-only and commit access are the same
 * Allowing several users to access a repository, or restricting read access, can be done by editing a single file

How to convert your repository
Run setpass</tt> on nightshade. This will set your LDAP password, which is used for Subversion. (Note: you cannot use this password to log in. For now, Subversion is the only thing that uses it.)

Then ask a root to create your new repository. If you want files from your old repository copied, make sure you say so, otherwise the new repository will be empty and you'll have to import by hand.

Your new repository is available at  https:// svn.toolserver.org/svnroot/username</tt>. To commit, use your toolserver username and the password you set earlier.

SSL certificate
If your SVN client asks you to accept the SSL certificate, you can check it against the following details:

Certificate information: - Hostname: *.toolserver.org - Valid: from Tue, 03 Jun 2008 15:05:19 GMT until Thu, 04 Jun 2009 15:05:19 GMT - Issuer: Equifax Secure Inc., US - Fingerprint: c5:50:2f:45:8d:2c:55:7c:bd:61:1b:46:9c:02:95:9b:af:8b:0d:a6

(This is the same key that wiki.toolserver.org</tt> uses.)