Closed
Bug 908024
Opened 11 years ago
Closed 11 years ago
Sort patcher configs to make diffs clearer
Categories
(Release Engineering :: Release Automation: Other, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: nthomas)
References
Details
Attachments
(3 files, 1 obsolete file)
1010 bytes,
patch
|
bhearsum
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
471.47 KB,
patch
|
bhearsum
:
review+
nthomas
:
checked-in+
|
Details | Diff | Splinter Review |
796 bytes,
patch
|
rail
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
We get a lot of churn in the patcher configs because perl's Config::General doesn't enforce any sort order by default, eg http://hg.mozilla.org/build/tools/rev/105800cd997d. You can turn sorting on if you have v2.40 or later, and we have 2.44, so yay. I've confirmed that changing the config ordering doesn't change the snippets we get for the five patcher configs we use.
Attachment #793802 -
Flags: review?(bhearsum)
Assignee | ||
Comment 1•11 years ago
|
||
The sort order isn't perfect: past-update 22.0b6 23.0b1 betatest releasetest beta past-update 23.0b1 23.0b2 betatest releasetest beta + past-update 23.0b10 24.0b1 betatest releasetest beta past-update 23.0b2 23.0b3 betatest releasetest beta and similar for the likes of the <23.b10> release block, but it doesn't regress anything in my testing and I'll live with that for the win. These were all generated with a script that read the config in with the '-SaveSorted => 1' set on the Config::General object, then written straight back out again.
Attachment #793808 -
Flags: review?(bhearsum)
Assignee | ||
Comment 2•11 years ago
|
||
Upload the right patch.
Attachment #793808 -
Attachment is obsolete: true
Attachment #793808 -
Flags: review?(bhearsum)
Attachment #793812 -
Flags: review?(bhearsum)
Updated•11 years ago
|
Attachment #793802 -
Flags: review?(bhearsum) → review+
Updated•11 years ago
|
Attachment #793812 -
Flags: review?(bhearsum) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 793802 [details] [diff] [review] [tools] Sort patcher config when writing to disk https://hg.mozilla.org/build/tools/rev/adc48ae1e242
Attachment #793802 -
Flags: checked-in+
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 793812 [details] [diff] [review] [tools] one-off sorting of configs With refreshed mozBeta-branch-patcher2.cfg: https://hg.mozilla.org/build/tools/rev/917367ef222c
Attachment #793812 -
Flags: checked-in+
Assignee | ||
Comment 5•11 years ago
|
||
Bump looks good in 24.0b6.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 6•11 years ago
|
||
Wooot! So much better now. Thank a lot, Nick!
Assignee | ||
Comment 7•11 years ago
|
||
Turns out the machines used for ESR17 only have version 2.30 of Config::General.
Assignee | ||
Comment 8•11 years ago
|
||
Thankfully this version seems to do sane things with ordering even without the pref.
Attachment #803606 -
Flags: review?(rail)
Updated•11 years ago
|
Attachment #803606 -
Flags: review?(rail) → review+
Comment 9•11 years ago
|
||
Comment on attachment 803606 [details] [diff] [review] [tools] Test for version of Config::General remote: https://hg.mozilla.org/build/tools/rev/d2814ad96008 remote: https://hg.mozilla.org/build/tools/rev/0d43d91724b6
Attachment #803606 -
Flags: checked-in+
Assignee | ||
Comment 10•11 years ago
|
||
Updates for ESR went fine with that.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•