Jordy21 / csharptest-net

Automatically exported from code.google.com/p/csharptest-net
0 stars 0 forks source link

Configurable commit message format #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Our SVN server uses a common pre-commit hook to enforce a valid JIRA id at the 
*beginning* of a message.  My corresponding property is:
svn propset bugtraq:regex "^([A-Z]+-\d+)" .

I am struggling to get JiraSVN to present a legally formatted message in this 
environment?  Can we supply another control string/regex for this.  I suggest 
something in keeping with bugtraq:message but with more parameters for your 
message components:
svn propset jira:fullmessage "%BUGID% %COMMENT%\n%JIRASVNCOMMENT%" .

Original issue reported on code.google.com by drekb...@gmail.com on 2 Aug 2010 at 8:57

GoogleCodeExporter commented 8 years ago

Original comment by Grig...@gmail.com on 14 Sep 2010 at 1:27

GoogleCodeExporter commented 8 years ago

Original comment by Grig...@gmail.com on 14 Sep 2010 at 1:34

GoogleCodeExporter commented 8 years ago

Original comment by Grig...@gmail.com on 14 Sep 2010 at 1:35

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Although I can understand your plight, I'm not sure this is the kind of change 
I want to introduce at this time.  A simple change to your regular expression 
for the bugtraq:regex would resolve this issue for you.

Your always welcome to fork the code from https://github.com/csharptest/JiraSVN 
and implement this.  I'll consider merging the changes if you want to issue a 
pull request.

Thannks.

Original comment by Grig...@gmail.com on 26 Jan 2011 at 11:24