FrontPage
»
CVSAddons
Enabling automatic CVS-checkin email notifications, remote symlink management, etc
Owner: Ken Manheimer
Here are instructions for hooking in our local checkin-notification and remote symlink-management provisions.
- Create the repository using
cvs init
according to your needs. - Do a checkout of your repository's CVSROOT bookkeeping directory. You'll be adding all our customizations there.
- CVS add copies of the following files, as is:
postcommit_actions - must be executable - chmod +x postcommit_actions
- CVS add a copy of traffic_table.py, changing the value for internal
and the settings in the
add_to_table()
call ininit_table()
to suit your purposes. - Add the following lines to the
checkoutlist
file, and check in the changes:postcommit_actions traffic_table.py adjustlinks.py repolinks passwd
- Add and checkin the following lines to the loginfo file:
^CVSROOT ${CVSROOT}/CVSROOT/postcommit_actions --verbose %{sVv} DEFAULT ${CVSROOT}/CVSROOT/postcommit_actions %{sVv}
The values in traffic_table.py dictate triggering and routing of notifications. The settings in repolinks dictate symlinks in the repository. Text at the tops of the files have detailed instructions.