Installing commitlog.py on a UNIX CVS Server

  1. If Python is not already installed, you will need to install it. Visit Python.org to download it.
  2. After that, you will need setup the script as a CVS handler:
    > cvs co CVSROOT
    > cd CVSROOT
    > mkdir commitinfo
    > cvs add commitinfo
    > cvs commit -m "added commitinfo dir"
    
  3. Make sure the first line of commitlog.py has the proper path to your Python installation.
  4. edit CVSROOT/loginfo and add the following line:
    ALL /YOUR_INSTALL_PATH/commitlog.py /MY_CVS_DIR/CVSROOT/commitinfo
  5. Check in loginfo
    > cvs commit loginfo -m "adding commitlog.py script"
    
  6. test it by checking in a file!