[Koha-devel] Proposal to Standardize Bug Number References in Commit Messages

Robin Sheat robin at catalyst.net.nz
Thu Nov 10 22:43:20 CET 2011


Chris Nighswonger schreef op do 10-11-2011 om 15:39 [-0500]:
> So I propose that we use the form: [BZX...X]

Most (many?) people seem to use a variant of 'Bug 1234' somewhere on the
first line, why not just use that given it seems to be habit already?
It'd be easy enough to regex for it, and you'd have a reasonable amount
of backwards compatibility.

Also, something that's compatible with the way 'git bz' does things
would be very much preferred. It uses this regex:
(\b[Ss]ee\s+(?:[^\s:/]+\s+){0,2})?
(?:(https?://[^/]+/show_bug.cgi\?id=[^&\s]+)
     |
   [Bb]ug\s+\#?(\d+))

so, 'See: <url>' or 'Bug <number>' seem to be what it looks for.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: </pipermail/koha-devel/attachments/20111111/6a3d548f/attachment.pgp>


More information about the Koha-devel mailing list