Closed
Bug 482968
Opened 16 years ago
Closed 16 years ago
l10n repacks shouldn't trigger on en-US check-ins
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Pike, Assigned: Pike)
Details
(Whiteboard: [l10n])
Attachments
(1 file)
|
2.88 KB,
patch
|
armenzg
:
review+
|
Details | Diff | Splinter Review |
en-US check-ins don't make it into builds yet to repack, so there's no need to really run repacks on en-US landings.
This is a slight shift in plan, and we'll keep the logic to run on en-US check-ins in the scheduler, as we continue to run compare-locales on a cross-platform builder. That one is going to run on the l10n server for a while, though.
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [l10n]
| Assignee | ||
Comment 1•16 years ago
|
||
Not sure if I like this patch.
It binds us to have only enUS-triggered builds on the scheduler or not. What we really want is some matrix like
| linux | win | mac | compare-locales
------+-------+-----+-----+----------------
en-US | | | | X
l10n | X | X | X | X
linux | X | | |
win | | X | |
mac | | | X |
where the column is what triggered the build, en-US check-in, l10n check-in, linux, win, mac nightly, and the row is the triggered build. linux, win, mac repacks and compare-locales database reporting pseudo build.
If we kept the the compare-locales builder on a separate master, this patch would work, as the builder-triggered builds will be covered by trigger steps, which can be made platform-specific rather easily.
Going for a review request on Armen with this patch, tested locally with both enUS on and off.
Attachment #367069 -
Flags: review?(armenzg)
Updated•16 years ago
|
Attachment #367069 -
Attachment is patch: true
Attachment #367069 -
Attachment mime type: application/octet-stream → text/plain
Comment 2•16 years ago
|
||
Comment on attachment 367069 [details] [diff] [review]
one possible buildbotcustom way of doing it
The patch looks good and having the parameter will allow us to have it off until we decide what is the way to go.
Let's see what coop and joduinn think of this way to go; Having a separate master does not sound to me as the long run solution.
Attachment #367069 -
Flags: review?(armenzg) → review+
| Assignee | ||
Comment 3•16 years ago
|
||
Coop, joduinn, what's your take?
Status: NEW → ASSIGNED
Whiteboard: [l10n] → [l10n][needs-stage]
Comment 4•16 years ago
|
||
Comment on attachment 367069 [details] [diff] [review]
one possible buildbotcustom way of doing it
This is running on staging-master right now.
Comment 5•16 years ago
|
||
(In reply to comment #3)
> Coop, joduinn, what's your take?
Is there any reason why we'd need an entirely separate master vs. a new factory to handle the compare-locales-only logic? Maybe I'm not following something here.
| Assignee | ||
Comment 6•16 years ago
|
||
With this patch, we're handling buildOnEnUS per l10nbuilds.ini, which is a tad coarse if we wanted to run compare-locales-only logic on the same master.
Maybe we can do this piecewise, and use buildOnEnUS as default, and add an option to overwrite from l10nbuilds.ini later? Or I could try to come up with a revised patch.
It's not totally bad, though, as the compare-locales-only build needs a rather special slave anyway to get the rich reporting out.
Comment 7•16 years ago
|
||
Comment on attachment 367069 [details] [diff] [review]
one possible buildbotcustom way of doing it
No issues on staging, this one can land when ready.
| Assignee | ||
Comment 8•16 years ago
|
||
http://hg.mozilla.org/build/buildbotcustom/rev/30740a1c1041, marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•16 years ago
|
Whiteboard: [l10n][needs-stage] → [l10n]
Comment 9•16 years ago
|
||
It might be a silly question. If we want to trigger nothing when an en-US entity changes, shouldn't we pass *false* for buildOnEnUs to avoid adding the EnUsDispatcher?
26 + if buildOnEnUS:
27 + log2.msg('adding EnDispatcher for %s on %s for %s' %
28 + (section, branch, ' '.join(endirs)))
29 + scheduler.addDispatcher(EnDispatcher(endirs, branch, section))
Is there a following patch to change the master configuration to pass that value?
(I might be completely off with this)
| Assignee | ||
Comment 10•16 years ago
|
||
Either that or make the default value of the argument False.
Thanks for catching that.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 11•16 years ago
|
||
(In reply to comment #10)
> Either that or make the default value of the argument False.
I think the sensible default is False (off) so that we need to explicitly enable it if we want it, given previous discussions.
| Assignee | ||
Comment 12•16 years ago
|
||
Agreed. Wanna just change that with rs=me?
Comment 13•16 years ago
|
||
(In reply to comment #12)
> Agreed. Wanna just change that with rs=me?
Done.
changeset: 231:cdda843619ea
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•