Closed Bug 1034175 Opened 11 years ago Closed 10 years ago

Don't store the SHA1 for individual commit review requests in the commit-id field

Categories

(MozReview Graveyard :: General, defect)

Development/Staging
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: smacleod, Assigned: smacleod)

References

Details

This is preventing us from dealing with things like re-pushing review requests to a different review identifier, because commit-id's are supposed to be unique by repo. We can store this information in extra_data instead, and maybe expose it in the review details using rbmozui or rbbz. This allows us to create new review requests "willy-nilly", without fear of hitting collisions.
Commit SHA1s should be unique even across repos, right?
(In reply to :Ehsan Akhgari (lagging on bugmail, needinfo? me!) from comment #1) > Commit SHA1s should be unique even across repos, right? When I say "because commit-id's are supposed to be unique by repo" I mean "repo" in the Review Board sense. When creating review requests on Review Board a commit-id can be provided specifying which commit the Review Request represents. This field is enforced as unique, so that you should only ever be reviewing a specific commit in a single location. We're going to stop providing this commit-id as is because we want to break this constraint.
Gotcha, please ignore me. :-)
Blocks: 1021929
OS: Mac OS X → All
Hardware: x86 → All
Depends on: 1035502
Status: NEW → ASSIGNED
This will impact displaying commit URLs.
Blocks: 1039522
Changing this will cause lots of merge conflicts with bug 1034188. Since that bug has a patch, adding depends on.
Depends on: 1034188
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: bugzilla.mozilla.org → Developer Services
Product: Developer Services → MozReview
You need to log in before you can comment on or make changes to this bug.