integrate mantis with SVN using subversion post commit hook

From the mantisbt source control integration comments something like this should work:


\#!/bin/sh
REPOS="$1"
REV="$2"

SVNLOOK=/usr/local/bin/svnlook
PHP=/usr/bin/php
MANTIS=/srv/www/novo/html/mantis/core/checkin.php
COMMIT_MSG=`$SVNLOOK log -r $REV "$REPOS"`

$PHP -f $MANTIS <<zzzMantiszzz
Revision: $REV: $COMMIT_MSG
zzzMantiszzz

Also, great details at Alt Tag

Comments

I am glad to learn that

I am glad to learn that mentis can also be integrated with other configuration management systems besides the fact that mantis primarily supports native integration with CVS and subversion (SVN). Thanks for sharing the apt and useful information in this regard.

Using mantis(PHP and MysQL)

Using mantis(PHP and MysQL) as a bug tracking tool is very interesting. Moreover, mantis can also be integrated with MediaWiki. However, it is integrated for commit.

Post new comment

The content of this field is kept private and will not be shown publicly.