CVS Syncmail

Commit Notifications via Email (syncmail)

To help keep your developers informed of development activity, and as an auditing control, you may use CVS syncmail to automatically send email after every commit to your CVS repository. maintains a centralized install of syncmail in the /cvsroot/sitedocs/CVSROOT/cvstools directory of the CVS servers. intained in a central location (in the /cvsroot/sitedocs/CVSROOT/cvstools directory).

We recommend you configure syncmail as follows:

Checkout a copy of the 'CVSROOT' module for your project. This module is present by default in all CVS repositories, and contains files that affect the management of your project's normal CVS files.

cvs co CVSROOT

Modify the 'loginfo' file per the values defined below
Commit the loginfo changes back to the repository
The loginfo file should be modified to add the following lines (with the appropriate substitution of the USERNAME, PROJECTNAME and LISTNAME place-holders):

# This line sends all changes to the CVSROOT module to the user specified
# by USERNAME. It is recommended that someone be watching this module
# as it shouldn't need to be modified very often.  
CVSROOT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv}
# This sends mail to a mailing list, defined by the PROJECTNAME-LISTNAME
# value. Any changes to any modules in the project will thus generate an
# email message to the mailing list specified. 
DEFAULT /cvsroot/sitedocs/CVSROOT/cvstools/syncmail %{sVv} PROJECTNAME-

Please refer to the CVS Manual and syncmail source code for additional configuration options.

If you make an error during syncmail installation and break repository access, you may repair the repository using the interactive shell service.


Documentation: CVS