Hello all,
I'm new to SCMBug. I'm trying to integrate it to mantis (using
Subversion). I've set up the SCMBug 0.23.0, Mantis 1.1.1 and
Subversion 1.3.2.
I have to say that I can put notes on the bug pages (on Mantis) using
the commit log comments. For example:
svn ci -m "bug 4: This is a note added by SCMBug automatically".
Although this works fine, I'm not able to change the status of a bug.
According to the docs, it's as simple as:
svn ci -m "status 4: fixed worksforme"
At the begining this throws me an error:
Scmbug error 3: No list of bug ids was found that matches the
log_bugid_regex 'bug\s*([\d|\s|,|#]*?):' and log_bugid_split_regex
',\s?#|\s?#|,|\s+' in the log message ''.
So I've changed the presence_of_bug_ids paramter to optional, and
then, when I commit, svn does it well, but SCMBug does nothig:
MarcBook:~/test $ svn ci -m "status 4: resolved worksforme"
Sending web/index.php
Transmitting file data .
Committed revision 16.
And the activity.log:
Wed Feb 13 20:15:26 2008 127.0.0.1:46042 Processing connection from localhost
Wed Feb 13 20:15:26 2008 127.0.0.1:46042 Connection from localhost processed
Wed Feb 13 20:15:26 2008 reaped 17323
Wed Feb 13 20:15:27 2008 127.0.0.1:46043 Processing connection from localhost
Wed Feb 13 20:15:27 2008 127.0.0.1:46043 Connection from localhost processed
Wed Feb 13 20:15:27 2008 reaped 17331
My resolution template looks like:
resolution_template => {
enabled => 1,
resolution_bugid_regex => 'status\s*([\d|\s|,|#]*?):',
resolution_bugid_split_regex => ',\s?#|\s?#|,|\s+',
resolution_status_regex => 'status.*?:\s*(\S+)\s*.*',
resolution_status_resolution_regex => 'status.*?:\s*\S+\s+(\S+)',
resolution_status_resolution_data_regex =>
'status.*?:\s*\S+\s+\S+\s+(\S+)',
resolution_status_convert => {
enabled => 1,
resolution_status_convert_from => '_',
resolution_status_convert_to => ' '
},
},
What am i doing wrong?
Cheers,
Marc.
--
"I'm unique, just like everyone else". Read it out there
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users