Closed
Bug 474898
Opened 16 years ago
Closed 15 years ago
l10n builds not pulling en-US tip properly
Categories
(Release Engineering :: General, defect, P2)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nthomas, Assigned: coop)
Details
Attachments
(1 file, 1 obsolete file)
3.19 KB,
patch
|
Pike
:
review+
coop
:
checked-in+
|
Details | Diff | Splinter Review |
For l10n builds, we're doing this if [ -d mozilla-central ]; then hg -R mozilla-central pull -r tip ; else hg clone http://hg.mozilla.org/mozilla-central ; fi for our copy of mozilla-central, and also for the locale. Which is busted in the case where you already have a clone, because the pull grabs the changes but never applies them to the working copy, so we're not building what we should be. Noticed this when bug 472431 wasn't having the right affect. Why do we have the '-r tip' there ? So that we can use the en-US nightly revision at some point in the future ? I think we want 'hg pull; hg up -r rev' in that case. Can we just start using the Mercurial stuff in buildbot ?
Comment 1•16 years ago
|
||
True, we are missing the update step (Link to mentioned code http://mxr.mozilla.org/mozilla/source/tools/buildbotcustom/process/factory.py#737) The l10n stuff, checked out is "updated" in: http://mxr.mozilla.org/mozilla/source/tools/buildbotcustom/process/factory.py#763 but we as mentioned we forgot to add the "update" step for en-US, we should add it here: http://mxr.mozilla.org/mozilla/source/tools/buildbotcustom/process/factory.py#834 Changing "tip" for "default" should be good too. Nick, here is the bug were we removed the Mercurial step for the "if" structure https://bugzilla.mozilla.org/show_bug.cgi?id=472568
Comment 2•16 years ago
|
||
Sadly, for l10n builds the Mercurial stuff get's confused about revisions between the various repos, and ends up clobbering etc. This command is really missing a ; hg update -R mozilla-central -r default where default could be a build property. Compare http://mxr.mozilla.org/mozilla/source/tools/buildbotcustom/process/factory.py#737 and http://hg.mozilla.org/users/axel_mozilla.com/tooling/file/591f1b71d39c/buildbotcustom/buildbotcustom/process/factory.py#l9
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → ccooper
Status: NEW → ASSIGNED
Priority: -- → P2
Assignee | ||
Comment 3•16 years ago
|
||
Axel: I think your suggestion about using a build property is a good one, but we don't really have an entry point for setting it dynamically AFAICT. Suggestions welcome. For now, I just set both revisions to 'default' in the existing callback. Also fixed up some places where we specify 'tip' instead of 'default.'
Attachment #359312 -
Flags: review?(l10n)
Comment 4•16 years ago
|
||
Comment on attachment 359312 [details] [diff] [review] Add an "hg update" for main checkout and l10n We should either hard-code default or use baseTag, mixing the two isn't good, I think. I'd prefer the source of the properties to be just "Scheduler". For one because I don't think that additional level of detail helps a lot, and for the very selfish reason that I love databases for the string size requirements. I picked 20, given that Scheduler seemed to be the longest by far for my mbdb db. I'd prefer "en_revision" over "revision", there isn't a single revision for l10n builds, so being specific helps, IMHO. Style nit, mixing "strings" and 'strings'.
Attachment #359312 -
Flags: review?(l10n) → review-
Assignee | ||
Comment 5•16 years ago
|
||
Addressed Axel's comments.
Attachment #359312 -
Attachment is obsolete: true
Attachment #359325 -
Flags: review?(l10n)
Updated•15 years ago
|
Attachment #359325 -
Flags: review?(l10n) → review+
Assignee | ||
Comment 6•15 years ago
|
||
Comment on attachment 359325 [details] [diff] [review] Add an "hg update" for main checkout and l10n, v2 changeset: 178:7ca9fa5a6595
Attachment #359325 -
Flags: checked‑in+ checked‑in+
Assignee | ||
Comment 7•15 years ago
|
||
Now running in production.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•