Closed Bug 1803374 Opened 1 year ago Closed 1 year ago

Numbers in PR descriptions are considered bug numbers by the Bugzilla GitHub integration

Categories

(bugzilla.mozilla.org :: Extensions, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: marco, Assigned: dkl)

Details

Attachments

(1 file)

For example, https://github.com/mozilla/pdf.js/pull/15765 was linked to https://bugzilla.mozilla.org/show_bug.cgi?id=15742 because its title is "[api-minor] Remove the TextLayer timeout parameter (PR 15742 follow-up)".

In pdf.js, we mention "bug XXX" in the description when we want to reference a bug.

I am using the same regexp used in moz-phab and few other places so not sure why PR XXX would have triggered it but we may have to get very specific going forward and when the hook is triggered. So I can definitely change it to only trigger when "[Bb]ug XXX" is encountered and just ignore any other integer number.

Assignee: nobody → dkl
Status: NEW → ASSIGNED

(In reply to David Lawrence [:dkl] from comment #1)

So I can definitely change it to only trigger when "[Bb]ug XXX" is encountered and just ignore any other integer number.

You'd want \b[Bb]ug[ -]\d+ as I've seen both Bug 1803374 and Bug-1803374 .

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: