Mantis Logo
Mantis Manual
Manual
Installation

Requirements
Backups
Upgrading
CVS Integration
Uninstall


Partner Links


CVS Integration
Last Modified: August 12, 2005 08:08AM
(Introduced in 0.19.0)
Description

CVS integration allows Mantis to register commits to the CVS source control system into corresponding bug notes in the issue tracker.

The setup requires that the mantis installation be accessible on the computer running the CVS server. A copy of the Mantis 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 Mantis 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 string
issue #nnnn is found in the commit message, the Mantis corresponding to "nnnn" will have the CVS commit message added as a bug 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

User Contributed Notes
CVS Integration
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Thu, 20 Dec 2012 - 4:20:58

Mantis @ SourceForge