Closed
Bug 763946
Opened 12 years ago
Closed 12 years ago
[shipping] sign-off view skips pushes that are older than the fall-back sign-off
Categories
(Webtools Graveyard :: Elmo, defect)
Webtools Graveyard
Elmo
Tracking
(Not tracked)
RESOLVED
FIXED
2.2
People
(Reporter: Pike, Assigned: Pike)
References
Details
(Keywords: regression)
Attachments
(1 file)
2.06 KB,
patch
|
peterbe
:
review+
|
Details | Diff | Splinter Review |
Just came across this on sk and fx15, the fallback sign-off has a newer push-date than the pushes on the next appversion. Resolution is to only cut-off at push-date, if we're not falling back. Also a regression from data1.1, bug 650816
Assignee | ||
Comment 1•12 years ago
|
||
This one was easy, just needed to pass in the fallback data, too, and only cut at push_date if there's no fallback, i.e., the current signoff is on the current tree flow, and thus, you're really showing the pushes in question.
Attachment #632281 -
Flags: review?(peterbe)
Comment 2•12 years ago
|
||
Comment on attachment 632281 [details] [diff] [review] don't cut at current_so.push.push_date if there's a fallback Review of attachment 632281 [details] [diff] [review]: ----------------------------------------------------------------- ::: apps/shipping/api.py @@ +294,5 @@ > if Action.REJECTED in flags and len(initial_diff) < 2: > initial_diff.append(action4id[flags[Action.REJECTED]].signoff_id) > + # if we're having a sign-off on this appversion, i.e no fallback, > + # show only new pushes > + if current_so is not None and fallback is None: Why not just: `if current_so and not fallback:`
Attachment #632281 -
Flags: review?(peterbe) → review+
Comment 3•12 years ago
|
||
Commit pushed to develop at https://github.com/mozilla/elmo https://github.com/mozilla/elmo/commit/be1330e18e628133c62e9d76f5aa284804616f22 bug 763946, don't cut pushes to new ones if we're having a fallback, r=peterbe
Assignee | ||
Comment 4•12 years ago
|
||
FIXED and on production. To copy from irc, I tend to like reading is None and is not None, I also like the specific difference against other boolean false values.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•