After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705065 - Support commit links
Support commit links
Status: RESOLVED DUPLICATE of bug 559537
Product: bugzilla.gnome.org
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Bugzilla Maintainers
Bugzilla Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-29 08:31 UTC by Nelson Benitez
Modified: 2015-01-02 17:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nelson Benitez 2013-07-29 08:31:42 UTC
Hi,
bugzilla currently supports automatic linking to other bugs by using the syntax "bug $bugnumber", this is very useful, it would also be cool if it could autolink to commits in the git.gnome.org web interface by parsing "commit $refcommit" text in comments. 

This is already done in the git web interface itself as you can see here[1] for short ref commit and here[2] for full ref commit.

So, taking into account that the git web interface also recognizes the "bug $bugnumber" syntax, then by adding to bugzilla the commit syntax we will bring them both in feature parity and so be more consistent for people using both tools.

You can reproduce this issue by looking at my bug comment here[3] which contains a commit text that is not converted to a link.

Regards,


[1] https://git.gnome.org/browse/gnome-shell/commit/?id=78b1ba56ce632a4caa2625be47a625056f3e1293

[2] https://git.gnome.org/browse/nautilus/commit/?id=df7048157403efefb560c5d1075f04088af3048b

[3] https://bugzilla.gnome.org/show_bug.cgi?id=703233#c5
Comment 1 André Klapper 2013-07-29 12:09:01 UTC
Can be done by writing / enhancing an extension.

See https://git.wikimedia.org/blob/wikimedia%2Fbugzilla%2Fmodifications.git/19207c99daf9c5fb211cb0fe8cd50f08e313a8f9/extensions%2FWikimedia%2FExtension.pm#L36 for very similar examples.
Comment 2 Nelson Benitez 2013-07-30 14:46:13 UTC
Ok, if such extension could be integrated into bugzilla.gnome.org I'll give it a go.

Btw, I think we should also support the "pushed as $refcommit" syntax that is automatically generated by.. ¿Owen's git-bz? as seen here[1]

[1] https://bugzilla.gnome.org/show_bug.cgi?id=692097#c9

Thank you for the feedback and extension link :-)
Comment 3 André Klapper 2015-01-02 17:17:16 UTC

*** This bug has been marked as a duplicate of bug 559537 ***