Closed Bug 1223385 Opened 9 years ago Closed 9 years ago

Switch to use in-tree version of compare-locales

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(firefox46 fixed, firefox50 fixed)

RESOLVED FIXED
Tracking Status
firefox46 --- fixed
firefox50 --- fixed

People

(Reporter: Pike, Assigned: Callek)

References

Details

Attachments

(5 files, 4 obsolete files)

Let's use the in-tree version of compare-locales for Desktop, and Android. This is the less-aggressive path than originally proposed in https://groups.google.com/d/msg/mozilla.dev.builds/0koWKXx7arg/izvBHzy8nmwJ I don't know what it'd take for SeaMonkey, tbh. For Thunderbird, we'll want bug 1154448 in the tree, though.
Also fix that the default merge dir in the mach command creates a directory that's the merge make target, and thus keeps that make target from actually running. Review commit: https://reviewboard.mozilla.org/r/30165/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/30165/
Attachment #8705717 - Flags: review?(gps)
Assignee: nobody → l10n
Comment on attachment 8705715 [details] MozReview Request: bug 1223385, refactor mach helper into LocalesMixin, r?rail https://reviewboard.mozilla.org/r/30161/#review26861
Attachment #8705715 - Flags: review?(rail) → review+
Attachment #8705716 - Flags: review?(rail) → review+
Comment on attachment 8705716 [details] MozReview Request: bug 1223385, use in-tree compare-locales in mozharness, r?rail https://reviewboard.mozilla.org/r/30163/#review26865 ::: testing/mozharness/mozharness/mozilla/l10n/locales.py:164 (Diff revision 1) > - status = self.run_command(command, error_list=compare_locales_error_list, > + status = self._mach(command, env, error_list=compare_locales_error_list, Much easier to read! Thanks.
Comment on attachment 8705717 [details] MozReview Request: bug 1223385, use in-tree compare-locales in Makefiles, r?gps https://reviewboard.mozilla.org/r/30165/#review26903 Thank you for explaining the default merge dir change in the commit message, as I would have been scratching my head otherwise.
Attachment #8705717 - Flags: review?(gps) → review+
Keywords: checkin-needed
Version: 38 Branch → Trunk
Nightlies are busted :-( https://treeherder.mozilla.org/logviewer.html#?job_id=3079720&repo=mozilla-central is the log. The removal of the dirs entry was premature, we should add it back so that clobber find the compare-locales checkout that mozharness still does. We should remove those in a follow-up.
Blocks: 1239707
Backed this out because I've used mozilla-central as try enough. This patch turned out to be mozharness more than anything else, so I'm moving this bug over. I think the patches are an OK start, but this patch needs someone that can actually hack on mozharness, and I can't even get it to run locally. Thus I'm unassigning myself. Maybe the last problem was that the merge dirs for chrome-% were wrong in the multilocale fennec build. Maybe that wasn't the last problem :-/ We do have things in the code today, notably https://dxr.mozilla.org/mozilla-central/source/dom/locales/en-US/chrome/netErrorApp.dtd, which is breaking the currently used compare-locales parser. That's riding with 45, https://hg.mozilla.org/mozilla-central/rev/b957faece566. So we're already late, sadly.
Assignee: l10n → nobody
Status: RESOLVED → REOPENED
Component: Build Config → Mozharness
Product: Firefox → Release Engineering
QA Contact: jlund
Resolution: FIXED → ---
Target Milestone: Firefox 46 → ---
Version: Trunk → ---
PS: desktop nightlies work without https://hg.mozilla.org/mozilla-central/rev/f59d1f7941b0, i.e., within the bootstrap environment, but not with the plain query_env().
Nick, can you take a look?
Flags: needinfo?(nthomas)
Not sure how far I'll get in mach land, but I'll have a look around.
Assignee: nobody → nthomas
Flags: needinfo?(nthomas)
Blocks: 1277505
Assignee: nthomas → bugspam.Callek
Attachment #8769273 - Flags: review?(l10n)
Attachment #8769274 - Flags: review?(jlund)
Attachment #8769275 - Flags: review?(gps)
Attachment #8769276 - Flags: review?(jlund)
Attachment #8769277 - Flags: review?(rail)
Also fix that the default merge dir in the mach command creates a directory that's the merge make target, and thus keeps that make target from actually running. Review commit: https://reviewboard.mozilla.org/r/63244/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/63244/
Attachment #8707849 - Attachment is obsolete: true
Attachment #8705717 - Attachment is obsolete: true
Attachment #8705716 - Attachment is obsolete: true
Attachment #8705715 - Attachment is obsolete: true
Attachment #8769273 - Flags: review?(l10n) → review+
Comment on attachment 8769273 [details] Bug 1223385 - Remove unused extract-bookmarks.py. https://reviewboard.mozilla.org/r/63240/#review60046 Removal is cool, it was only useful when we converted bookmarks.html to bookmarks.ini back in the old old days.
Comment on attachment 8769277 [details] Bug 1223385 - Don't clone the older copy of compare-locales anywhere. https://reviewboard.mozilla.org/r/63248/#review60054
Attachment #8769277 - Flags: review?(rail) → review+
Fwiw, I did a try push at: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3d6c071826f9 Also of note though is the buildbot l10n stuff will likely die due to timeouts (it has that problem), but if its timeout-dead that is still a good sign I didn't break it.
Comment on attachment 8769274 [details] Bug 1223385 - remove b2g_desktop_multilocale script due to being unused (dougt-encouraged). https://reviewboard.mozilla.org/r/63242/#review60056
Attachment #8769274 - Flags: review?(jlund) → review+
Attachment #8769276 - Flags: review?(jlund) → review+
(In reply to Jordan Lund (:jlund) from comment #27) > <p>what does this mean for these: > https://dxr.mozilla.org/mozilla-central/ > search?q=path%3Amozharness%2Fconfigs+compare-locales&amp;redirect=true ?</p> See the last patch in the series (already reviewed by rail)
Attachment #8769275 - Flags: review?(gps) → review+
Pushed by Callek@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/7f0116af2fd7 Remove unused extract-bookmarks.py. r=Pike https://hg.mozilla.org/integration/mozilla-inbound/rev/fcb193036063 remove b2g_desktop_multilocale script due to being unused (dougt-encouraged). r=jlund https://hg.mozilla.org/integration/mozilla-inbound/rev/5278700efd2d use in-tree compare-locales in Makefiles, r=gps https://hg.mozilla.org/integration/mozilla-inbound/rev/5e4044707462 Make sure nothing in mozharness uses (or clones) compare-locales manually. r=jlund https://hg.mozilla.org/integration/mozilla-inbound/rev/c9964faafa19 Don't clone the older copy of compare-locales anywhere. r=rail
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: