Toolserver:Admin:Subversion
This page was moved from the Toolserver wiki.
Toolserver has been replaced by Toolforge. As such, the instructions here may no longer work, but may still be of historical interest.
Please help by updating examples, links, template links, etc. If a page is still relevant, move it to a normal title and leave a redirect.
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
[edit]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:
- 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:
[username:/] username = rw
- 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.