Department of Chemistry

Murray-Rust Research Group

PasswordAuthSubversion

The new Subversion service uses CRSids and passwords for authentication. Although this means yet another password to remember, on the whole it should be easier to get on with than the previous certificate based system.

Contents

Existing Users

You should be able to migrate to the new subversion service yourself without needing action on the part of the COs.

Go to https://wwmm.ch.cam.ac.uk/svnpassword/modify.py to create a password for the new subversion service. You can revisit this page if you need to change your password or forget it (rather than badgering the COs :-). It's protected by Raven, so you'll need your Raven password.

Point a browser window at https://wwmm.ch.cam.ac.uk/svn2/users/[your CRSid]/ - you should be able to log in using your CRSID and new password. If not, contact ucc-support.

'Brute force' Working Copy Migration

The svn2 URLs point to the same physical repository as the svn URLs, so commits done with the certificate auth will appear automatically through the password auth server. Therefore the inelegant but reliable way of switching over is to commit all your current changes, move your existing working copy out of the way and then re-checkout the project(s).

However, there are more elegant ways of doing things, as follows: -

Migration Using the Command Line

You can migrate your working copies over to the new repository using the svn switch --relocate command: -

svn switch --relocate https://wwmm.ch.cam.ac.uk/svn/ https://wwmm.ch.cam.ac.uk/svn2/

Full documentation here.

Migration Using TortoiseSVN

Right click on your existing project folder and select 'Relocate'. Insert the relevant '2' into the URL.

Migrating data using Eclipse

Go into "SVN Repository Explorer" perspective. Right click on the repository locations in the old service (starting https://wwmm.ch.cam.ac.uk/svn/ and select "Relocate ...". Replace "svn" with "svn2" to update the URL. Eclipse should relocate all your projects for you.

If this doesn't work, relocate each project using the command line technique above, and then refresh in Eclipse.

New Users

Getting an account

Ask your supervisor to e-mail ucc-support@ch.cam.ac.uk and ask for a Subversion account, giving the user's CRSid and what access to group resources is required.

Setting your password

Once you receive a reply saying this has been set up, visit https://wwmm.ch.cam.ac.uk/svnpassword/modify.py. This is a simple password reset form that is protected by Raven (the University's central sign-on service). Enter your desired password in both of the input boxes and hit OK. You should quickly see a message that your password has been updated.

Accessing the service

Test that you've got access by browsing to https://wwmm.ch.cam.ac.uk/svn2/users/[your CRSid]/

You will be prompted for your username and password.