6.2. Mantis

Mantis is a web based PHP/MySQL-based bugtracking system.

Mantis does not provide a public interface for SCM integration. However, the Scmbug daemon includes a native Perl-based bug-tracking backend for integration with Mantis. Configuration of the variables installation_directory(Figure 6-1) and installed_locally(Figure 6-2) is not required.

Mantis supports installation with multiple database backends. The daemon configuration variable database_vendor defines the selected database backend, as shown in Figure 6-3.

Figure 6-3. Database vendor variable.

# Valid values are the ones accepted by the Perl DBI.
#
# For Bugzilla, this value is ignored
#
# For Mantis, *some* valid values (there are others) are:
# - 'mysql'
# - 'Pg'
database_vendor => 'mysql',
	   

The Mantis developers are planning to provide a formal SCM integration interface in future releases.

As of version 0.19.0, Mantis does not yet support a mapping of the SCM username to a Mantis username. An SCM to bug-tracking username mapping is accomodated by the integration daemon using the userlist variable, as described in Section 4.4.8.

Scmbug has been verified to work against the following releases of Mantis: