Page 1 of 1

SVN user name in bug after commit.

Posted: 12 Mar 2012, 05:56
by jagtap.suhas
I have integrated mantis 1.2.9 with subversion.And i have created a script using "g_source_control_account" to specify the name of the user updating the issue.
I didn't want to always specify the same user, but instead specify the name of the user actually committing the files. Is there any settings to do that.

Below is the script i have configured in mantis "config_inc.php"

#------Subversion Integration With Mantis-------
$g_source_control_account = 'eqube';
$g_source_control_regexp = "/\bissue [#]{0,1}(\d*)\b/i";
$g_source_control_set_status_to = ON;
$g_source_control_fixed_regexp = '/\bfix(?:ed|es)\s+(?:bug|issue)?\s*[#]{0,1}(\d+)\b/i';
$g_source_control_notes_view_status = VS_PUBLIC;

Re: SVN user name in bug after commit.

Posted: 12 Mar 2012, 08:37
by atrol
There is a newer approach to integrate SCM's
https://github.com/mantisbt-plugins/source-integration/