On 11 Jan 2007, at 12:17, Brian J=F8rgensen wrote:
> Johannes Kilian wrote:
>> It would be nice if the -bugzilla flag converts also commit-entry =20
>> parts
>> as for example "bug14" "Bug#14" "bug# 14", etc to links ...
Ok, the next release will do this.
The new regex pattern (case-insensitive) is:
bug\\s*(?:number\\s*)?(?:#\\s*)?(\\d+)
Ideas on how to catch more cases are welcome.
> I would suggest allowing the user to specify a pattern, since all =20
> cases
> can't be supported anyway. Localized commit messages wouldn't be =20
> caught
> by this approach.
Let's try to avoid adding more configuration options, unless really =20
necessary. Don't you think we can catch the vast majority of cases =20
with a flexible regex?
I think we should ignore non-english commit messages until there is =20
some evidence that people actually need support for it. (German =20
speakers, for example, usually don't translate "bug".)
> Additionally the default pattern should be moved from the Mantis and
> Bugzilla classes to a super class.
Good idea. Done.
Richard
>
> --=20
> MVH / Best regards
>
> ***************************************************************
> Brian J=F8rgensen, 9th semester Software Engineering student
> Department of Computer Science, Aalborg University
> Room: E4-115
> Fredrik Bajers Vej 7E, DK-9220 Aalborg, Denmark
> ***************************************************************
>
>
> ----------------------------------------------------------------------=20=
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to =20
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?=20
> page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV
> _______________________________________________
> Statcvs-users mailing list
> Sta...@li...
> https://lists.sourceforge.net/lists/listinfo/statcvs-users
>
|