Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

The admin repository is a meta-repository that allows you to control your Subversion repository group. The admin repository contains the following files and directories:

  • authz
    This is the primary configuration file for the repository group. It is a standard Subversion authorization file, described in the Path-Based Authorization section of the Subversion book. This is where you create new repositories and control access to your repositories.
  • htpasswd
    This is a standard Apache "htpasswd" file that can be used to provide access to your Subversion repositories for someone without a SEAS account.
  • svnbiosis.conf
    This configuration file controls certain aspects of your repository group. You will generally not need to edit this file.
  • keydir
    It is possible to access your Subversion repository via ssh instead of using http. This directory is where you would store ssh keys if you were using this mechanism. If you are interested in using ssh for Subversion access, please contact us.

Adding new repositories

You add new repositories to your repository group by adding new stanzas to the authz file and committing the changes. For example, to add a repository called "niftycode" to your "bigproject" repository group, you would add the following to your authz file:

...

Where password is a password hash. You will typically manage entries in this file using the htpasswd program, which is part of a standard Apache install. If you do not have access to this program on your local computer, you can connect to login.seas.harvard.edu and generate entries there:

  • Connect to login.seas.harvard.edu using ssh.
  • Run htpasswd with the -n option, like this:
    htpasswd -n -m user@somewhere.com
  • Enter and confirm the password when prompted, and htpasswd will emit a line similar to the following:
    user@somewhere.com:$apr1$Phvgf...$w4R6hgDtojkIZnCNjvyzy0
  • Paste this line into your htpasswd file and commit the changes.

When selecting usernames, we encourage you to always use a person's email address.

...