Please add 'See Also' support for GitLab
Categories
(bugzilla.mozilla.org :: Bug Creation/Editing, enhancement)
Tracking
()
People
(Reporter: mgorny, Assigned: dkl)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
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'.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Merged to master.
Assignee | ||
Comment 3•2 years ago
|
||
This change is live now.
Reporter | ||
Comment 4•2 years ago
|
||
I'm sorry but I'm confused. Does that mean that this feature will only be available on BMO but not in 'regular' Bugzilla code to be consumed downstream?
(In reply to Michał Górny from comment #4)
I'm sorry but I'm confused. Does that mean that this feature will only be available on BMO but not in 'regular' Bugzilla code to be consumed downstream?
Yes, upstream would need to cherry pick the patch from our repository.
Description
•