Fleet and job views now recognise GitLab merge request links and label them "mr".
What's wrong with this entry?
Rows linking to a GitLab merge request are now recognised and labelled "mr" instead of "pr", and merge request numbers are parsed out of URLs and free text. Previously only GitHub /pull/ links were matched anywhere in these views.
- The per-number matcher accepts either
pullor-/merge_requests, and the free-text parser falls back to/\/-\/merge_requests\/(\d+)(?!\d)/. - The badge is passed a kind computed from the link target: "mr" when the href matches a merge-request path, "pr" otherwise.
- The URL-to-number parser gained a matching merge-request branch.
/\/-\/merge_requests\/\d/, return /\/-\/merge_requests\/\d/.test(e.href) ? "mr" : "pr";
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Stale editor bridge connections are dropped instead of read
Both mention integration
-
v2.1.234
Git remote URLs can no longer smuggle a different host
Both mention integration
-
v2.1.236
Change detection ignores custom diff drivers and submodules
Both mention integration