Closed Bug 755434 Opened 13 years ago Closed 13 years ago

l10n repacks should not execute config.py

Categories

(Release Engineering :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhopkins, Assigned: jhopkins)

References

Details

Attachments

(2 files, 1 obsolete file)

Executing config.py is problematic for Thunderbird for several reasons. config.py does not contain Thunderbird information. thunderbird_config.py does, but its dependencies are not met in the l10n repack environment because symlinks to Python modules that are present on a buildbot master are not present. We should pass in argument for the required options instead of executing config.py via lib/python/release/info.py:readConfig. The values we need are: stage_ssh_key hghost stage_server stage_username compare_locales_repo_path
I'm going to get to bug 740142 at some point in the not distant future, so if there's a fast fix and a long term fix, you may want to go with the faster fix.
Attachment #624194 - Flags: feedback?(bugspam.Callek)
Attached patch tools patch (obsolete) — Splinter Review
Attachment #624196 - Flags: feedback?(bugspam.Callek)
Comment on attachment 624196 [details] [diff] [review] tools patch Looks sane to me except for one minor typo, though I think you'll still want someone else to give this a look over for sure (I'm no expert on the newer repack logic) > $PYTHON $MY_DIR/create-release-repacks.py -c $branchConfig -r $releaseConfig \ > -b $BUILDBOT_CONFIGS -t $releaseTag -p $platform \ >- --chunks $chunks --this-chunk $thisChunk $generatePartials >+ --chunks $chunks --this-chunk $thisChunk $generatePartials \ >+ --stage-ssh-key=$stage_ssh_key \ >+ --stage-server=stage_server \ >+ --stage-username=stage_username \ >+ --hghost=hghost \ >+ --compare-locales-repo-path=compare_locales_repo_path \ >+ $SOURCE_REPO_KEY Typo is here you missed many of the $ chars needed for var expansion.
Attachment #624196 - Flags: feedback?(bugspam.Callek) → feedback+
Attachment #624194 - Flags: feedback?(bugspam.Callek) → feedback+
addressed Callek's feedback
Attachment #624196 - Attachment is obsolete: true
Attachment #624359 - Flags: review?(aki)
Attachment #624194 - Flags: review?(aki)
Attachment #624194 - Flags: review?(aki) → review+
Attachment #624359 - Flags: review?(aki) → review+
Planning to land the above two patches Thursday morning just before bear does a reconfig.
Attachment #624359 - Flags: checked-in+
in production 2012-05-17 0750 PDT
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
standalone_repacks.sh also needs to pass in the extra arguments. Tracking in bug 759100.
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: