Cherry pick 'See Also' support for GitLab from BMO
Categories
(Bugzilla :: Creating/Changing Bugs, enhancement)
Tracking
()
People
(Reporter: emceeaich, Unassigned)
References
()
Details
+++ This bug was initially created as a clone of Bug #1645768 +++
The related patch is in: https://github.com/mozilla-bteam/bmo/pull/1584
There is a growing number of projects using GitLab for their contributions. However, it seems that even with MoreBugUrl extension GitLab merge requests URL are not accepted in 'See also'. Could it be extended for that, please?
GitLab issue and merge request URLs follow the following patterns, respectively:
https://<domain>[/<relative_url>]/<group>/<project>/-/issues/<number>
https://<domain>[/<relative_url>]/<group>/<project>/-/merge_requests/<number>
The 'issues' part seems to be handled already by the support for some other backend, however 'merge_requests' are not. I suspect it would be reasonable to match them via path ending with '/-/merge_requests/[0-9]+'.
Examples:
https://invent.kde.org/multimedia/kdenlive/-/issues/724
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/82
Disclaimer: I've tested it only on 5.0.6 but grepped git master for 'merge_requests'.
| Reporter | ||
Updated•5 years ago
|
Description
•