Skip to content

Grab the entire namespace when parsing the derived MR information

Thomas Randolph requested to merge tor/maintenance/get-full-mr-namespace into master

Updates the utility function getDerivedMergeRequestInformation to grab the entire namespace from the URL.

Before, it was only grabbing the last part of the namespace, which was "all of it" for a single group + project (e.g. gitlab-org/gitlab), but failed for any sub-group like gitlab-org/group/gitlab).

The effect of this failure has never been noted because the namespace is only one part of what should be a fully unique set of larger information, but this makes it more reliable, more unique, and usable for a wider variety of purposes.

Merge request reports