[cvsnt] Bug id format?
lists at connectionbrazil.com
Mon Jan 12 11:05:10 GMT 2009
Bo Berglund wrote:
>>>>> I originally constructed the parsing for issue numbers for the
>>>>> Roundup issue tracker, but tried to make it as general as possible
>>>>> to enable other systems as well. I have never before heard about
>>>>> JIRA (have not looked either), but if that is popular I could add
>>>>> some instructions for that to the CVSMailer website as well...
>>>> Somewhat related to this... is it possible at all to place the bug
>>>> id (if present) into the subject line of the notification emails?
>>> If you tell me how it can be extracted from the data supplied in the
>>> CVSNT invocation of CVSMailer....
>>In my case, there is a string in the commit comment that indicates the
>>bug (coming from TortoiseCVS). But I let you know when/if I find
>>something how to get it from CVSNT itself.
> OK, if it is inside the commit message then it can be extracted by
> CVSMailer in a similar way that I extract the Issue number and create
> a browsing link for the Issue tracker from it into the email.
> This is a marker that the developer must type in himself and enter the
> correct number too.
> If there is a case for bugid:s as well then it could be defined as a
> special marker in the commit message and CVSMailer could use it to
> create some kind of action (and put it into the subject line).
> If you use the issue link, would it be OK to put the issue ID number
> into the subject as well?
> That would be simple to do since I already handle the issue number to
> create the link into the Roundup Issue tracker (in my case).
Yes, for my case being able to place the issue id that CVSMailer already
parses into the subject would be enough.
>>> However there is a case for putting bugid:s on the individual file
>>> name line in the *body* of the email.
>>That's also a good thing. In general, once you have it extracted, it
>>should be relatively easy to make it available for both subject and
> Except if there is a zillion different bug-id:s for the various files
> then the subject would be quickly saturated. There is a definite size
> limit here, you know. I had to change CVSMailer in order to handle
> this for subjects that crashed a user's mailer system....
For my situation at least, there will only be one issue id per commit,
so using only the first for example would work fine.
More information about the cvsnt