Le Mer 3 Mai 2006 12:06, Steinar H. Gunderson a écrit :
> On Wed, May 03, 2006 at 11:56:32AM +0200, Pierre Habouzit wrote:
> > So basically to trig it, you just have to set the right forward
> > status for your bugs.
>
> What is the "right" forward status? An URL for the upstream bug?
Exactly. the tool is URI-triggerd.
Like you can see in the TODO, it's currently very naive, as it only
verify if the uri "starts" with the remote BTS uri. see the current
state of the configuration file[1] for a list of the one currently
recognized.
For example, since I've listed the mozilla BTS having an uri of
httpS://bugzilla.mozilla.org, it currently does not recognize bugs that
are forwarded to the http://... alias.
But I'll soon add new settings per remote bts:
* a regexp that match bugs from that bugzillas, capturing the bug id.
=> would be https?://bugzilla.mozilla.org/show_bug.cgi?id=([0-9]*)
for mozilla e.g.
=> for gcc it would be:
http://gcc.gnu.org/(?:PR|bugzilla/show_bug.cgi?id=)([0-9]*)
...
* a python format to forge the prefered URI form for that bugzilla.
e.g. http://gcc.gnu.org/PRnnn is shorter and nicer to look at, and
the format would then simple be:
http://gcc.gnu.org/PR%s
[1] http://svn.debian.org/wsvn/bts-link/trunk/btslink.cfg?op=file
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org
Attachment:
pgpwaO6aab6g1.pgp
Description: PGP signature