niwadhwa / bugzilla-vcs

Automatically exported from code.google.com/p/bugzilla-vcs
0 stars 0 forks source link

Don't want to use the word 'bug' for parsing commit message #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Want to match only #bugnumber formated portion of commit message.

What is the expected output? What do you see instead?
Needs to specify regular expression directly.

What version of the product are you using? On what operating system?
v0.2

Please provide any additional information below.
Patch is attached. This patch add '--bug-regex' option to sync.pl script.
This can be used like this 
--bug-regex='#\s*(\d+)'

Note: Please let me know if there is a way to use --bug-words option more 
better.

Original issue reported on code.google.com by kohir...@gmail.com on 17 Feb 2011 at 12:36

Attachments:

GoogleCodeExporter commented 9 years ago
Hmmm, interesting! I should probably make the regex use \s* internally, and 
then you could just specify --bug-words='#'

Original comment by avatrax...@gmail.com on 14 Mar 2011 at 9:59