Closed Bug 1079641 Opened 10 years ago Closed 10 years ago

Make diffs more useful by sorting first

Categories

(Release Engineering Graveyard :: Applications: Balrog (frontend), defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: nthomas)

References

Details

Attachments

(1 file)

json stored in python dicts is not so great for consistent ordering, which makes diffs noisy.
This gets me a diff of
      "partials": {
        "Firefox-31.0-build2": "firefox-31.0-33.0.partial.mar", 
        "Firefox-32.0.2-build1": "firefox-32.0.2-33.0.partial.mar", 
-       "Firefox-32.0.3-build1": "firefox-32.0.3-33.0.partial.mar"
+       "Firefox-32.0.3-build1": "firefox-32.0.3-33.0.partial.mar", 
?                                                                 ++

+       "Firefox-33.0b9-build1": "firefox-33.0b9-33.0.partial.mar"
      }
    }, 
for fixing up the Firefox 33.0 blob (see https://wiki.mozilla.org/Releases/Firefox_33.0/BuildNotes#Updates_for_beta). It's still a little strange, but doesn't have any spurious changes in it for appVersion.
Attachment #8501498 - Flags: review?(bhearsum)
Attachment #8501498 - Flags: review?(bhearsum) → review+
Commit pushed to master at https://github.com/mozilla/balrog

https://github.com/mozilla/balrog/commit/d380eb2bd6d9bed46fd1247282703112be6173d3
Bug 1079641, make diffs more useful by sorting first, r=bhearsum
Waiting for the next push to production. No great rush.
I think this is in production now?
Oh yes, thanks for the reminder.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Release Engineering → Release Engineering Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: