Administration
From Cmcl
Here are some basic tips on moo administration:
Contents |
Subversion Management
SVN operations require root. If you don't have it, email Dave or Dan.
SVN repositories are located in: /home/svn
Creating a new SVN repository
svnadmin create [path-to-repository]
Changing or granting access permissions to a repository
Edit the file
/usr/local/etc/apache22/auth-files/svn-authzfile
It should be obvious how things work from other examples in the file.
To add a user that doesn't currently have an SVN account on moo, first have them create a password using htpasswd:
htpasswd -c my-svn-passwd <your-username>
Then, have them send you the password file (don't worry, the password is hashed) and add its contents as an entry to:
/usr/local/etc/apache2/auth-files/svn-authzfile/svn.passwd
Commit email messages
To add email commit messages, look at: your repository root/hooks/post-commit.tmpl
copy this file to 'post-commit' in the same directory, and add the appropriate emails.
chmod 775 post-commit
Note: you may need to add a full path to get the commit-email.pl script to work. That path is: /usr/local/share/subversion/hook-scripts/commit-email.pl
Other SVN tips
- If you are getting HTTP errors when trying to check out, but are pretty sure you've done everything above correctly, make sure that the 'www' user has file permissions to read your repository directory. (e.g., chown -R www [repo-path] )
- A full SVN reference can be found at: http://svnbook.red-bean.com/
Other files and directories you might want on moo
- If you're writing CGI scripts in apache and your scripts are failing check this file for why : /var/logs/http-errors
- If you're looking for old scripts, etc from 15-441 of Fall '06 : /home/441/www
