From: Brian G. P. <br...@br...> - 2004-01-29 10:06:31
|
I submitted this to the StatCVS Tracker some time ago, but would like to raise it here in the hopes of a response or some direction... Our project team finds the statcvs/viewcvs integration to the Commit Log to be very useful. We also make extensive use of Bugzilla, and Bugzilla integration to CVS. Feature Request: add a -bugzilla <url> flag to statcvs Requested Behavior: When Bugzilla is integrated to CVS, a developer will check in code that fixes/modifies a bug with a commit comment like: Bug 14 on a single line in thier commit comments. (other legal values are 'bug 14' 'Bug#14' 'bug# 14', etc) Statcvs, when parsing the commit log to HTML, would replace instances of the pattern above with a HREF like: http://www.myserver.com/bugzilla/show_bug.cgi?id=14 so: Bug 14 is replaced with: <a href='http://www.myserver.com/bugzilla/show_bug.cgi?id=14'>Bug 14</a> a perl regular expression that is used by the bugzilla/cvs integration that may be useful in implementing this feature request is: s/^Bug?\s+#?([\d,\s]+)/$1/i (the bug number goes into $1) Most web bug systems that I am aware of allow the use of the bug number as the last parameter in the URL, so a command line switch to StatCVS with a ,<url> could simply append the bug number. If someone could point me to the correct place in the code, I may be able to provide a patch that accomplishes this functionality. Thanks for the consideration! Regards, - Brian Peterson Ref: http://sourceforge.net/tracker/?func=detail&aid=754865&group_id=57558&atid=484572 |