Closed Bug 1221999 Opened 9 years ago Closed 9 years ago

Improve reviewer parsing from commit summaries

Categories

(MozReview Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dminor, Assigned: glob)

References

Details

Attachments

(1 file)

We'll need to improve things when we start rewriting commits. This will also help with the work to re-request reviews using r?.
Assignee: nobody → glob
mozautomation: Rework parse_reviewers to improve logic (Bug 1221999); r?gps

Rewrite the reviewer parsing code so it handles unusual syntax.  Matching
reviewers in a single regex makes it trivial to perform operations such as
replacing matched reviewers.
Attachment #8684043 - Flags: review?(gps)
Comment on attachment 8684043 [details]
MozReview Request: mozautomation: Rework parse_reviewers to improve logic (Bug 1221999); r?gps

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/24483/diff/1-2/
Comment on attachment 8684043 [details]
MozReview Request: mozautomation: Rework parse_reviewers to improve logic (Bug 1221999); r?gps

https://reviewboard.mozilla.org/r/24483/#review22111

I would have been terrified to review this if the test coverage weren't so good.

You can always count on a Perl guru being able to solve complicated parsing problems like this with regular expressions :D. Nice work.
Attachment #8684043 - Flags: review?(gps) → review+
https://hg.mozilla.org/hgcustom/version-control-tools/rev/361c7d0f6a40
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: