GNOME Bugzilla – Bug 705065
Support commit links
Last modified: 2015-01-02 17:17:16 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
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.
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 :-)
*** This bug has been marked as a duplicate of bug 559537 ***