Hi,
just for the record: we turned on gerrit's bug-db-integration machinery,
i. e.
https://gerrit.libreoffice.org/#/c/286/
Our thanks go to Cedric for pointing that out and to Robert for
configuring this.
All our 5 bug dbs are currently supported. To see which pattern binds to
which db
i append the rules here.
Note 1: launchpad is currently missing in bin/lo-commit-stat
may be a good candidat for an easy hack?
Note 2: because of usage of non standard but really quickly regex engine
(http://www.brics.dk/automaton/) gerrit doesn't support case insensitive
regular expressions. That why we are doing this that (ugly) way:
[commentlink "freedesktop"]
match =
"(BUG|Bug|bug|BUGZILLA|Bugzilla|bugzilla|BZ|Bz|bz|TICKET|Ticket|ticket|fdo|FDO)\\s*:?\\s*#?(\\d+)"
link = https://bugs.freedesktop.org/show_bug.cgi?id=$2
[commentlink "redhat"]
match = "(rhbz|RHBZ)\\s*:?\\s*#?(\\d+)"
link = https://bugzilla.redhat.com/show_bug.cgi?id=$2
[commentlink "novell"]
match = "(bnc|BNC|n|N)\\s*:?\\s*#?(\\d+)"
link = https://bugzilla.novell.com/show_bug.cgi?id=$2
[commentlink "apache"]
match = "(ISSUE|issue|Issue|i|I)\\s*:?\\s*#?(\\d+)"
link = https://issues.apache.org/ooo/show_bug.cgi?id=$2
[commentlink "launchpad"]
match = "(lp|LP)\\s*:?\\s*#?(\\d+)"
link = https://launchpad.net/bugs/$2
Regards
David
Context
- Gerrit: bug db integration · David Ostrovsky
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.