Page MenuHomePhabricator

Ability to link to bugzilla bug from github commit messages
Closed, ResolvedPublic

Description

Can be done by a service on GitHub. Needs to be activated and configured.


Version: unspecified
Severity: normal
Whiteboard: u=dev c=infrastructure p=5 s=2014-04-01
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=61003

Details

Reference
bz62522

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:59 AM
bzimport set Reference to bz62522.
bzimport added a subscriber: Unknown Object (MLST).

This is for Wikidata components on GitHub.

  • Bug 62373 has been marked as a duplicate of this bug. ***

It'd be nice to have it done for all Wikimedia repos on gerrit... Might need an automated way of doing it

Similar for SHA1 hashes at bug 61003

How was this done? Can you show an example on GitHub where this works?

We use the webservice github provides for bugzilla. Can be set up in each repository.

(In reply to Krinkle from comment #4)

How was this done? Can you show an example on GitHub where this works?

[22:01:28] <Reedy> https://bugzilla.wikimedia.org/show_bug.cgi?id=62522 Has anyone got an example of the bugzilla linking on github? :)
[22:01:34] <Reedy> I remember seeing it before...
[22:02:40] <Lydia_WMDE> Reedy: https://bugzilla.wikimedia.org/show_bug.cgi?id=68033
[22:03:48] <Lydia_WMDE> there is one in there
[22:04:14] <Reedy> https://github.com/wmde/ValueView/commit/8e7949cf6938fdda49e5c93e6039149bb688335a doesn't link :(
[22:05:09] <Reedy> Oh..
[22:05:15] <Reedy> I wonder if we're crossing wires slightly
[22:06:18] <Reedy> I take "Ability to link to bugzilla bug from github commit messages" to mean that Bug: 12345 (even if just the numbers) are hyperlinked back to bugzilla when viewed on github...
[22:06:29] <Reedy> Not quite sure what Krinkles take on it is
[22:06:53] <Lydia_WMDE> ah
[22:07:10] <Lydia_WMDE> well what we need is a commit message showing up in bugzuilla when pushing to github
[22:07:13] <Lydia_WMDE> that is what this was about
[22:07:15] <Reedy> Right