Integrating Mantis and Subversion
Posted: 12 Mar 2009, 09:40
Hello
I'm trying to integrate Mantis (v 1.1.6) and SVN, but although I followed the "http://alt-tag.com/blog/archives/2006/1 ... ubversion/" site, I didn't succeed in making the link.
This is my config.inc script :
***********
config_inc.php
***********
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'mantis';
$g_db_username = 'root';
$g_db_password = 'smp';
// Liaison Mantis-SVN
$g_source_control_account = 'svn';
$g_source_control_regexp = '/\bissue [#]{0,1}(\d+)\b/i';
$g_source_control_set_status_to = CLOSED;
$g_source_control_set_resolution_to = FIXED;
$g_source_control_fixed_regexp ='/\bfix(?:ed|es)\s+(?:bug|issue)?\s*[#]{0,1}(\d+)\b/i';
?>
********
And what I get in the cmd windows when I try the first test :
C:\Serveur\PHP\php-5.2.9-Win32>%> C:\Serveur\PHP\php-5.2.9-Win32 C:\Serveur\CollabNet Subversion Server\httpd\htdocs\mantis\core\checkin.php 'issue #1'
Accès refusé.
Could anybody help me please ?
Thanks
I'm trying to integrate Mantis (v 1.1.6) and SVN, but although I followed the "http://alt-tag.com/blog/archives/2006/1 ... ubversion/" site, I didn't succeed in making the link.
This is my config.inc script :
***********
config_inc.php
***********
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'mantis';
$g_db_username = 'root';
$g_db_password = 'smp';
// Liaison Mantis-SVN
$g_source_control_account = 'svn';
$g_source_control_regexp = '/\bissue [#]{0,1}(\d+)\b/i';
$g_source_control_set_status_to = CLOSED;
$g_source_control_set_resolution_to = FIXED;
$g_source_control_fixed_regexp ='/\bfix(?:ed|es)\s+(?:bug|issue)?\s*[#]{0,1}(\d+)\b/i';
?>
********
And what I get in the cmd windows when I try the first test :
C:\Serveur\PHP\php-5.2.9-Win32>%> C:\Serveur\PHP\php-5.2.9-Win32 C:\Serveur\CollabNet Subversion Server\httpd\htdocs\mantis\core\checkin.php 'issue #1'
Accès refusé.
Could anybody help me please ?
Thanks