Comment format for CVS -> Bugzilla comment gateway

Gervase Markham gerv at mozilla.org
Fri Oct 25 15:06:00 UTC 2002


Christian Reis wrote:
> Hi there,
> 
> I'm working on a loginfo script that will add a comment to Bugzilla
> every time a CVS commit is done with a bug number cited. I was wondering
> what sort of information people would like to see in the comment. I am
> thinking to add:
> 
> - A short text explaining a commit was done (should I use a standard
>   format like "CVS Checkin:" instead of a line of text?)
> - The checkin comment
> - author (pity I can't get email, right? or can I..)

If there's a mapping from cvs account names to email addresses, like on 
mozilla.org, then yes :-)

> - The files touched by the checkins, optionally being links to Bonsai
>   diffs

Making them links is difficult; currently, the only way to do this is to 
  print the entire URL and get it linkified, but that would be Really Ugly.

Something like:

Related CVS checkin by foo at bar.com:
"Bug 123456: Fix the foo generator. Patch by gerv; r=bbaetz."

File List:
template/en/default/index.html.tmpl (1.33)
template/en/default/sidebar.xul.tmpl (1.1)

Gerv




More information about the developers mailing list