Hi,
I am trying to get subversion commits to change the status of a mantis
bug to closed.
I have it working for comments, but not status.
Committing with `svn commit -m "bug 33: Text to leave as comment"`
works for adding
a log comment. I have tried using `svn commit -m "status 33: resolved
fixed"` like the
example in the config with no luck. When I do the comment commit, I see
this in the
scmbug logfile: "Processing an 'activity_commit' for bug id '31' from
SCM user 'username'".
I only see a connection line when I try to commit using status.
Here is the relevant part of the glue.conf that I am using -
--------------------------------------------------
log_template => {
log_bugid_regex => 'bug\s*([\d|\s|,|#]*?):',
log_bugid_split_regex => ',\s?#|\s?#|,|\s+',
log_body_regex => 'bug.*?:\s*(.*)'
},
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_case_sensitive_verification => 1,
resolution_status_convert => {
enabled => 1,
resolution_status_convert_from => '_',
resolution_status_convert_to => ' '
},
resolution_valid_bug_owner => 1,
},
-------------------------------------------------------
Does anyone know what I need to do to get the status commits working?
Thanks,
Jason
--
Jason Woodward
Joslin Diabetes Center, Research Computing
Room 393B - 617-735-1948
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users