CDS subversion server

From CDSWiki
Jump to navigationJump to search

The CDS subversion server allows access to an individual repository attached to your account. By setting up different subdirectories within the repository and establishing permissions for individual users to access these directories, you can allow read and/or write access to selected files by on campus and off campus collaborators.

Instructions for setting up a subversion repository attached to your account:

  1. Send e-mail to help@cds and request that a subversion repository be established for your account
  2. Once the account is created you will find a directory in your home directory called ~/subversion_conf. This is where all of your control files will live:
    • ~/subversion_conf/username.htpasswd - This file will control access via htpasswd to your repo. Please 'man htpasswd' for examples. Note: If this file is empty svn will continually prompt you for a username and password as a valid user is *required*.
    • ~/subversion_conf/username.access - This is your repo control file. The default for this file is:
      [/]
      * = rw
      
      See - http://svnbook.red-bean.com/en/1.4/svn-book.html#svn.serverconfig.pathbasedauthz
    • ~/subversion_conf/username.email - Optional: enter an email address here if you would like a post-commit email sent automatically.
  3. Your base repo has been created as:

    https://svn.cds.caltech.edu/subversion/<username>