CVS Integration

CVS integration allows MantisBT to register commits to the CVS source control system into corresponding issue notes in the issue tracker. The setup requires that the MantisBT installation be accessible on the computer running the CVS server. A copy of the MantisBT config_inc.php file must be present.Note that the mysql database also needs to be accessible from the cvs machine. That is, "localhost" for $g_hostname won't work unless CVS and MantisBT are hosted on the same machine.To activate the integration, the following line to the cvs "commitinfo" file. (Instructions to edit this file are in any number of CVS primers). ALL /usr/bin/php /path_to_mantis/core/checkin.php This will pass the commit message to checkin.php for all commits. If the stringissue #nnnn is found in the commit message, the MantisBT corresponding to "nnnn" will have the CVS commit message added as an issue note to the issue. Multiple issues can be listed.This feature is configured through config_inc.php and through custom functions.

See also: Source Control Integration for configuration, and Custom Functions