princeoffoods/csharptest-net

Configurable commit message format

Closed this issue · 5 comments

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

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

  • Changed state: FeatureRequest

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

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

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

  • Changed state: Accepted
[deleted comment]
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

  • Changed state: WontFix