Closed Bug 526817 Opened 15 years ago Closed 15 years ago

Port bug 526668 - add option to 'unify' to allow files to match if their sorted contents match

Categories

(MailNews Core :: Build Config, defect)

All
macOS
defect
Not set
normal

Tracking

(thunderbird3.0 .5-fixed)

RESOLVED FIXED
Thunderbird 3.1a1
Tracking Status
thunderbird3.0 --- .5-fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(3 files, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #526668 +++ We have some files that wind up with the same contents in a slightly different order when you run a parallel build. The 'unify' script currently expects files to have identical contents, so these situations break universal builds easily. I have a patch that adds a --unify-with-sort <regex> option to unify, so we can pass in file patterns and have them special-cased. unify will sort the contents of the files and compare that instead.
Attached patch The fix [Checkin: Comment 2] (deleted) — Splinter Review
Ports the fix from bug 526668 and from bug 519357.
Assignee: nobody → bugzilla
Status: NEW → ASSIGNED
Attachment #411470 - Flags: review?(gozer)
Attachment #411470 - Flags: review?(gozer) → review+
Flags: in-testsuite-
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
First patch was incomplete because bug 518641 had not be ported yet... NB: All 'Bo' SeaMonkey builds are failing now and most probably need this.
Attachment #430325 - Flags: review?(gozer)
Attachment #430325 - Flags: review?(gozer) → review+
Comment on attachment 430325 [details] [diff] [review] (Bv1) Add missed "all-test-dirs.list", Unify indentation [Checkin: See comment 4+5] http://hg.mozilla.org/comm-central/rev/7cb6c4474d90 (Bv1a) Unify indentation http://hg.mozilla.org/comm-central/rev/b357570131ea (Cv1) Complete bug 526668 port: add missed "all-test-dirs.list"
Attachment #430325 - Attachment description: (Bv1) Add missed "all-test-dirs.list", Unify indentation. → (Bv1) Add missed "all-test-dirs.list", Unify indentation [Checkin: See comment 4]
Comment on attachment 430325 [details] [diff] [review] (Bv1) Add missed "all-test-dirs.list", Unify indentation [Checkin: See comment 4+5] (In reply to comment #4) + http://hg.mozilla.org/comm-central/rev/364f310598e3 (Dv1) Add missing '\'
Attachment #430325 - Attachment description: (Bv1) Add missed "all-test-dirs.list", Unify indentation [Checkin: See comment 4] → (Bv1) Add missed "all-test-dirs.list", Unify indentation [Checkin: See comment 4+5]
Attached patch (Ev1-191) Backport to c-1.9.1 too (obsolete) (deleted) — Splinter Review
Attachment #434699 - Flags: review?(gozer)
Ev1-191, with Makefile.in part too.
Attachment #434699 - Attachment is obsolete: true
Attachment #434759 - Flags: review?(gozer)
Attachment #434699 - Flags: review?(gozer)
Attachment #434759 - Flags: review?(gozer) → review+
Attachment #434759 - Flags: approval-thunderbird3.0.5?
Comment on attachment 434759 [details] [diff] [review] (Ev1a-191) Backport to c-1.9.1 too [Checkin: See comment 14] >diff --git a/Makefile.in b/Makefile.in ... >+else >+package-tests:: >+ $(MAKE) -C mozilla $@ This change doesn't seem related to this patch/bug and there's no explanation of why it is here. Therefore a=Standard8 only without that change included in this patch.
Attachment #434759 - Flags: approval-thunderbird3.0.5? → approval-thunderbird3.0.5+
Comment on attachment 434759 [details] [diff] [review] (Ev1a-191) Backport to c-1.9.1 too [Checkin: See comment 14] (In reply to comment #8) > This change doesn't seem related to this patch/bug and there's no explanation > of why it is here. It is. The explanation is in comment 3: see patch Ev1-CC in that bug.
Attachment #434759 - Flags: feedback?(bugzilla)
Attachment #411470 - Attachment description: The fix → The fix [Checkin: Comment 2]
(In reply to comment #9) > (From update of attachment 434759 [details] [diff] [review]) > > (In reply to comment #8) > > This change doesn't seem related to this patch/bug and there's no explanation > > of why it is here. > > It is. The explanation is in comment 3: see patch Ev1-CC in that bug. Comment 3 is not an explanation for Ev1-CC. Try looking at it from my perspective: Bv1 is a patch against trunk, it does not include any diffs like the package-tests one. Ev1-CC doesn't include any additional references. Indeed I notice now its only in comment 3 that you added the dep for bug 518641 which wasn't an original focus of this bug and isn't part of the title/original intent of this bug. So the only connection is the link between 526668 and 518641 for the bit of your patch that doesn't seem to be required as no-one is broken. In any case, I don't care about package-tests bit for comm-1.9.1. If SM really cares (and I'd be very surprised given SM2.0 tree is green), then please file a separate bug/patch on that.
Attachment #434759 - Flags: feedback?(bugzilla)
Comment on attachment 434759 [details] [diff] [review] (Ev1a-191) Backport to c-1.9.1 too [Checkin: See comment 14] http://hg.mozilla.org/releases/comm-1.9.1/rev/f4cd10d68090 Ev1a-191, with comment 10 suggestion(s).
Attachment #434759 - Attachment description: (Ev1a-191) Backport to c-1.9.1 too → (Ev1a-191) Backport to c-1.9.1 too [Checkin: Comment 11]
(In reply to comment #10) > In any case, I don't care about package-tests bit for comm-1.9.1. If SM really I disagree with your explanation, but anyway: c-1.9.1 is currently out of sync' with the package-tests part(s) that went in m-1.9.1 (in the meantime). > cares (and I'd be very surprised given SM2.0 tree is green), then please file a SM 2.0 is not green but random-orange. (Though I've stopped closely monitoring it for some time now.) > separate bug/patch on that. I filed bug 559088.
Attachment #434759 - Attachment description: (Ev1a-191) Backport to c-1.9.1 too [Checkin: Comment 11] → (Ev1a-191) Backport to c-1.9.1 too [Checkin: See comment 11]
(In reply to comment #11) > (From update of attachment 434759 [details] [diff] [review]) > > http://hg.mozilla.org/releases/comm-1.9.1/rev/f4cd10d68090 > Ev1a-191, with comment 10 suggestion(s). Backed out due to Thunderbird build bustage. http://hg.mozilla.org/releases/comm-1.9.1/rev/f4cd10d68090 Next time, please comment on the bug and/or ping me direct if we get a similar issue. Starring the build and leaving the tree busted is not the right thing to do especially as 3.0 is less actively monitored these days as its not a development head.
Attachment #434759 - Flags: approval-thunderbird3.0.5+ → approval-thunderbird3.0.5?
Whiteboard: [can only land once TB picks up latest m-c changes]
Whiteboard: [can only land once TB picks up latest m-c changes] → [can only land once TB picks up latest m-1.9.1 changes]
Attachment #434759 - Flags: approval-thunderbird3.0.5? → approval-thunderbird3.0.5+
Attachment #434759 - Attachment description: (Ev1a-191) Backport to c-1.9.1 too [Checkin: See comment 11] → (Ev1a-191) Backport to c-1.9.1 too [Checkin: See comment 14]
Whiteboard: [can only land once TB picks up latest m-1.9.1 changes]
Build-config only patch: as the build process is still working fine, verifying fixed for TB 3.0.5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: