You are not logged in Log in Join
You are here: Home » DevHome » Subversion » CVSAddons

Log in
Name

Password

 
 
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.

  1. Create the repository using cvs init according to your needs.
  2. Do a checkout of your repository's CVSROOT bookkeeping directory. You'll be adding all our customizations there.
  3. CVS add copies of the following files, as is:

    postcommit_actions - must be executable - chmod +x postcommit_actions

    adjustlinks.py

    repolinks

    traffic_table.py

  4. CVS add a copy of traffic_table.py, changing the value for internal and the settings in the add_to_table() call in init_table() to suit your purposes.
  5. Add the following lines to the checkoutlist file, and check in the changes:
          postcommit_actions
          traffic_table.py
          adjustlinks.py
          repolinks
          passwd
    
  6. 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.