Closed
Bug 1245589
Opened 8 years ago
Closed 8 years ago
Map commits to review requests based on MozReview-Commit-ID
Categories
(MozReview Graveyard :: General, defect)
MozReview Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gps, Assigned: gps)
References
Details
Attachments
(3 files)
Git and Mercurial are now both adding MozReview-Commit-ID annotations to commit messages. These annotations can be used to better map incoming commits to existing review requests. Use of these annotations should address a lot of complaints people have where MozReview assigns a new, unrelated commit to an existing review request. This occurs when history rewriting occurs, for example.
Assignee | ||
Comment 1•8 years ago
|
||
It is a simple function. But we will have multiple callers. So best to establish a reusable function. MozReview-Commit-ID: ByDAiV1uSK7 Review commit: https://reviewboard.mozilla.org/r/33455/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/33455/
Attachment #8715446 -
Flags: review?(dminor)
Assignee | ||
Comment 2•8 years ago
|
||
We have a dedicated function for this now. Use it. Also convert the description to a str so we are passing around the raw bytes as opposed to whatever Mercurial has munged it to for local representation. MozReview-Commit-ID: 3fXxsiMak9Q Review commit: https://reviewboard.mozilla.org/r/33457/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/33457/
Attachment #8715447 -
Flags: review?(dminor)
Assignee | ||
Comment 3•8 years ago
|
||
TODO need to update docs MozReview-Commit-ID: IF9JojPZBmS Review commit: https://reviewboard.mozilla.org/r/33459/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/33459/
Assignee | ||
Comment 4•8 years ago
|
||
Comment on attachment 8715446 [details] MozReview Request: mozautomation: establish API for parsing out commit IDs (bug 1245589); r?dminor Review request updated; see interdiff: https://reviewboard.mozilla.org/r/33455/diff/1-2/
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8715447 [details] MozReview Request: reviewboard: use parse_commit_id (bug 1245589); r?dminor Review request updated; see interdiff: https://reviewboard.mozilla.org/r/33457/diff/1-2/
Assignee | ||
Updated•8 years ago
|
Attachment #8715448 -
Attachment description: MozReview Request: INCOMPLETE mozreview: map commits to review requests based on commit ID (bug 1245589) → MozReview Request: mozreview: map commits to review requests based on commit ID (bug 1245589); r?dminor
Attachment #8715448 -
Flags: review?(dminor)
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8715448 [details] MozReview Request: mozreview: map commits to review requests based on commit ID (bug 1245589); r?dminor Review request updated; see interdiff: https://reviewboard.mozilla.org/r/33459/diff/1-2/
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8715446 [details] MozReview Request: mozautomation: establish API for parsing out commit IDs (bug 1245589); r?dminor Review request updated; see interdiff: https://reviewboard.mozilla.org/r/33455/diff/2-3/
Assignee | ||
Comment 8•8 years ago
|
||
Comment on attachment 8715447 [details] MozReview Request: reviewboard: use parse_commit_id (bug 1245589); r?dminor Review request updated; see interdiff: https://reviewboard.mozilla.org/r/33457/diff/2-3/
Assignee | ||
Comment 9•8 years ago
|
||
Comment on attachment 8715448 [details] MozReview Request: mozreview: map commits to review requests based on commit ID (bug 1245589); r?dminor Review request updated; see interdiff: https://reviewboard.mozilla.org/r/33459/diff/2-3/
Comment 10•8 years ago
|
||
Comment on attachment 8715446 [details] MozReview Request: mozautomation: establish API for parsing out commit IDs (bug 1245589); r?dminor https://reviewboard.mozilla.org/r/33455/#review30585
Attachment #8715446 -
Flags: review?(dminor) → review+
Comment 11•8 years ago
|
||
Comment on attachment 8715447 [details] MozReview Request: reviewboard: use parse_commit_id (bug 1245589); r?dminor https://reviewboard.mozilla.org/r/33457/#review30587
Attachment #8715447 -
Flags: review?(dminor) → review+
Updated•8 years ago
|
Attachment #8715448 -
Flags: review?(dminor) → review+
Comment 12•8 years ago
|
||
Comment on attachment 8715448 [details] MozReview Request: mozreview: map commits to review requests based on commit ID (bug 1245589); r?dminor https://reviewboard.mozilla.org/r/33459/#review30589
Assignee | ||
Updated•8 years ago
|
Summary: Map commits to review requested based on MozReview-Commit-ID → Map commits to review requests based on MozReview-Commit-ID
Assignee | ||
Comment 13•8 years ago
|
||
https://hg.mozilla.org/hgcustom/version-control-tools/rev/28bd62e8782097f1e0dc8b174853db1be5584156 mozautomation: establish API for parsing out commit IDs (bug 1245589); r=dminor https://hg.mozilla.org/hgcustom/version-control-tools/rev/09518d2261c53c2d6cb9578445ddcf8e1c576a55 reviewboard: use parse_commit_id (bug 1245589); r=dminor https://hg.mozilla.org/hgcustom/version-control-tools/rev/7737e110fd90a70ee52f22869bbff6fea817e22a mozreview: map commits to review requests based on commit ID (bug 1245589); r=dminor
Assignee | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Developer Services → MozReview
You need to log in
before you can comment on or make changes to this bug.
Description
•