Closed Bug 955781 Opened 10 years ago Closed 10 years ago

Link "bug xxx" to bugzilla in hgweb

Categories

(Instantbird Servers Graveyard :: hg.instantbird.org, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: clokep, Unassigned)

Details

Attachments

(1 file)

*** Original post on bio 1037 at 2011-09-16 12:33:00 UTC ***

Mozilla links "bug xxx" in hgweb automatically to Bugzilla, this is really useful when looking at check-in logs on hg.instantbird.org/instantbird. flo figures they're just using a hacked template.
*** Original post on bio 1037 at 2011-09-16 19:08:13 UTC ***

It seems that the mozilla code to do this is at http://hg.mozilla.org/users/bsmedberg_mozilla.com/hgpoller/file/tip/buglink.py and just needs to be enabled as a Mercurial extension.

I found this from https://bugzilla.mozilla.org/show_bug.cgi?id=552201
*** Original post on bio 1037 as attmnt 898 at 2011-10-15 12:50:00 UTC ***

There are necessary changes to the gitweb template (I'm just using gitweb here, but you should get the idea anyways) to get this working on my local repository.

This is no patch I expect to apply anywhere by the way ;)
*** Original post on bio 1037 at 2011-10-17 19:17:44 UTC ***

We could link bugs with 6 digits (or more;) to BMO and everything with 5 or less digits to BIO? I think the number of cases where this goes wrong is very limited and it seems future-proof too: I'm hoping very much that we'll never need more than five digits for our bug numbers!
*** Original post on bio 1037 at 2011-11-04 18:24:18 UTC ***

(In reply to comment #3)
> We could link bugs with 6 digits (or more;) to BMO and everything with 5 or
> less digits to BIO? I think the number of cases where this goes wrong is very
> limited and it seems future-proof too: I'm hoping very much that we'll never
> need more than five digits for our bug numbers!

If someone sends me the template files I'd be willing to spend time on this.
We're now using hg.mozilla.org (and this works :)).
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: