svn.csail.mit.edu end of life

Creating new repository mappings at svn.csail.mit.edu is no longer possible.

Accessing existing URLs will no longer be possible after August 31, 2018

TIG previously provided a WebDAV service that allowed self-service mapping of arbitrary AFS paths to arbitrary read/write HTTPS URLs at svn.csail.mit.edu

As most projects have transitioned from Subversion (svn) to git and more code repository hosting options have available this service is being retired.

Alternatives

MIT IST git hosting

MIT IST operates a GitHub Enterprise instance. Note that this service allows you to have private repositories only if the user community is limited to MIT affiliates.

Public git hosting services

Both of these services allow for both public and private repositories, but charge maintenance fees if you need multiple private repositories or more advanced authorization and authentication options.

Continued self hosting at CSAIL

It is also possible to migrate to git and use gitolite (from the gitolite3 package in Ubuntu) to provide and ssh key based repository structure. This option does not require your collaborators to have CSAIL accounts.

IF all the people you collaborate with have CSAIL accounts you can continue to use your existing repositories via ssh rather than http by changing your svn url.

How To

Migrate Subversion repository to git

The most recommended solutions involve using git rather than Subversion. Thankfully, it is possible to import a Subversion repository into git using the git-svn command. If you need help transitioning from Subversion to git please send mail to help@csail.mit.edu and we will do everything we can to help you have a smooth transition; the sooner we know the smoother your transition is likely to be.

Change svn repository URL

If you do decided to stay with Subversion you will probably need to change the repository URL your local working copy refers to. First, determine what URL you are currently using by changing directory into the top level of your existing working copy and running this command:

$ svn info --show-item url
svn+ssh://svn.csail.mit.edu/afs/csail.mit.edu/group/tig/REPOS/my_code_repo

In this case, there is an svn+ssh path using the host svn.csail.mit.edu and the filesystem path/afs/csail.mit.edu/group/tig/REPOS/my_code_repo. If you have anhttps` URL you will need to find the matching AFS filesystem path.

Next, you need to construct a new URL pointing to svn+ssh://login.csail.mit.edu plus the filesystem path for your repository. This will point to the exact same location on disk as the other URL, except using a different host (and maybe different protocol) to get there. So the above case becomes svn+ssh://login.csail.mit.edu/afs/csail.mit.edu/group/tig/REPOS/my_code_repo.

$ svn relocate svn+ssh://login.csail.mit.edu/afs/csail.mit.edu/group/tig/REPOS/my_code_repository

You can verify the change by running the first command again which should show the new URL that was just set:

$ svn info --show-item url
svn+ssh://login.csail.mit.edu/afs/csail.mit.edu/group/tig/REPOS/my_code_repo