Closed
Bug 504819
Opened 16 years ago
Closed 16 years ago
dashboard v2 fennec support busted
Categories
(Mozilla Localizations :: Infrastructure, defect)
Mozilla Localizations
Infrastructure
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: Pike)
References
Details
Attachments
(3 files)
4.59 KB,
patch
|
coop
:
review+
|
Details | Diff | Splinter Review |
7.52 KB,
patch
|
coop
:
review+
|
Details | Diff | Splinter Review |
916 bytes,
patch
|
coop
:
review+
|
Details | Diff | Splinter Review |
Seems like I didn't totally fix fennec, i.e., initial_module for compare-locales isn't set in the new dashboard v2 factory.
Updated•16 years ago
|
blocking1.9.1: needed → ---
Assignee | ||
Comment 1•16 years ago
|
||
This needs patches in buildbotcustom and compare-locales, and a nitpick in locale-inspector.
Patches coming up.
Assignee: nobody → l10n
Assignee | ||
Comment 2•16 years ago
|
||
Attaching two patches for buildbotcustom and compare-locales.
I'm merging L10nConfigParser in both implementations again, after both patches, they're the same code up to the character.
I'm adding two optional entries to l10n.ini:
[general]
source-depth
This overwrites the depth for the SourceTree compare-locales, to get from mobile-browser/locales/en-US to mobile-browser. I didn't want to do too many magic assumptions on directory structures, so this is going in pair with
[compare]
tld
top level dir specifies that the given entry is matching locales/en-US in l10n. This can be specified in addition to dirs= for regular builds setup, and removes the entry if given.
I deprecate single-module-hg as type in l10nbuilds.ini. I map that to type hg in the setup code in l10n.py now. The name still stays live, but is now fed from compare.tld.
The api around dirsIter and directories() changes, it's now returning both the basedir and the en-US module (which might be empty for tlds).
Both patches rely on amended l10n.inis in mobile-browser ala
[general]
depth = ../..
source-depth = ..
all = locales/all-locales
[compare]
dirs = mobile
tld = mobile
[includes]
toolkit = toolkit/locales/l10n.ini
[include_toolkit]
type = hg
mozilla = mozilla-central
repo = http://hg.mozilla.org/
l10n.ini = toolkit/locales/l10n.ini
The patch combo was tested on a local fennec setup with central and 1.9.2 repositories and l10n.inis and x-testing, with commits to l10n and en-US in both toolkit and mobile, triggering the right builds, and given the right compare-locales results.
Attachment #397860 -
Flags: review?(ccooper)
Assignee | ||
Comment 3•16 years ago
|
||
Corresponding patch for compare-locales. Looks a bit bigger than it is, as I copied over all the comments that are currently in l10n.py.
Forgot to mention that I tested this with langpacker.py, too. That needs patching to pick up these changes, too.
Once reviewed, I should push an updated release of compare-locales to pypi.
Given the set of builds that releng does, I don't think that we need to move the compare-locales releng tag.
Attachment #397862 -
Flags: review?(ccooper)
Updated•16 years ago
|
Attachment #397860 -
Flags: review?(ccooper) → review+
Comment 4•16 years ago
|
||
Comment on attachment 397862 [details] [diff] [review]
[checked in] corresponding patch for compare-locales
Yay for comments and doc strings!
Attachment #397862 -
Flags: review?(ccooper) → review+
Assignee | ||
Comment 5•16 years ago
|
||
Coop, do you have a cycle to review the l10n.ini patch, too?
Attachment #400052 -
Flags: review?(ccooper)
Updated•16 years ago
|
Attachment #400052 -
Flags: review?(ccooper) → review+
Assignee | ||
Comment 6•16 years ago
|
||
Comment on attachment 400052 [details] [diff] [review]
[checked in] add tld and depth to fennec's l10n.ini's
http://hg.mozilla.org/mobile-browser/rev/a86b410cb8f9, fennec part landed.
Attachment #400052 -
Attachment description: add tld and depth to fennec's l10n.ini's → [checked in] add tld and depth to fennec's l10n.ini's
Comment 7•16 years ago
|
||
Comment on attachment 397860 [details] [diff] [review]
[checked in] buildbotcustom patch
http://hg.mozilla.org/build/buildbotcustom/rev/56a77756b028
Comment 8•16 years ago
|
||
Comment on attachment 397862 [details] [diff] [review]
[checked in] corresponding patch for compare-locales
http://hg.mozilla.org/build/compare-locales/rev/35b7774af82e
Attachment #397862 -
Attachment description: corresponding patch for compare-locales → [checked in] corresponding patch for compare-locales
Updated•16 years ago
|
Attachment #397860 -
Attachment description: buildbotcustom patch → [checked in] buildbotcustom patch
Comment 9•16 years ago
|
||
I just reconfig-ed both production masters with the buildbotcustom change.
Assignee | ||
Comment 10•16 years ago
|
||
I'm pretty sure this is fixed, but I still need to see more data on stage. Blocking public stage in bug 522293, for sure.
Blocks: 522293
Assignee | ||
Comment 11•16 years ago
|
||
This is FIXED now. Had to be a little bit tricked by bug 527019, which made me look at wrong versions to be compared, too. That one independent of fennec, though.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•