Toolserver:Admin:Subversion

We provide Subversion hosting for users. The repositories are on the HA cluster and use LDAP for authentication. Subversion repositories are stored in /global/misc/svn/repos, and are served by an Apache installation in /global/misc/svn/httpd-conf. The access control file is at /global/misc/svn/access.

New accounts have a repository created by default. Old accounts may not have one, or have a repository at $HOME/subversion instead.

The URL for the repository itself is https://svn.toolserver.org/svnroot/username.

Creating a new repository
For a new repository:


 * log into either host in the HA cluster
 * create the repository: /opt/local/bin/create-repo -w username projectname (for MMPs the projectname beginns with a "p_")
 * The repository is now available via https://svn.toolserver.org/svnroot/projectname
 * Add the repository to FishEye.

If the user has an existing $HOME/subversion repository and wants the content preserved:

[username:/] username = rw
 * copy the existing subversion directory to /global/misc/svn/repos/username.
 * grant acccess to Apache: chown -R webservd:webservd /global/misc/svn/repos/username
 * edit /global/misc/svn/access, and add:
 * The repository is now available via https://svn.toolserver.org/svnroot/username
 * Add the repository to FishEye.

For more information, see New-style Subversion repositories.

Category:Admin:Software