Releases/Firefox 32.0/BuildNotes: Difference between revisions
< Releases
Jump to navigation
Jump to search
| Line 60: | Line 60: | ||
=== Generate snippets === | === Generate snippets === | ||
Can be done once all platforms have completed l10n. | Can be done once all platforms have completed l10n. '''NOT DONE YET''' | ||
<pre> | |||
# generate snippets (on b-linux64-hp-0029): | |||
mkdir ~/bug1015968/ | |||
cd ~/bug1015968/ | |||
hg clone http://hg.mozilla.org/build/tools | |||
cd tools | |||
wget -O- https://bugzilla.mozilla.org/attachment.cgi?id=8478911 | patch -p1 | |||
cd .. | |||
export PYTHONPATH="tools/lib/python:tools/lib/python/vendor" | |||
python tools/scripts/updates/create-snippets.py --config tools/release/patcher-configs/mozBeta-branch-patcher2.cfg \ | |||
--checksums-dir checksums --snippet-dir aus2 --test-snippet-dir aus2.test -v 2>&1 | tee snippets.log | |||
# ditch the betatest snippets, we're going to use releasetest only before pushing to beta | |||
rm -rf aus2.test/Firefox/*/WIN*/*/*/betatest | |||
rm -rf aus2.test/Firefox/*/Lin*/*/*/betatest | |||
rm -rf aus2.test/Firefox/*/Dar*/*/*/betatest | |||
# Sync to aus3-staging | |||
rsync -av -e 'ssh -i /home/cltbld/.ssh/ffxbld_dsa' aus2.test/ \ | |||
ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-32.0-build1-forbeta-test/ | |||
rsync -av -e 'ssh -i /home/cltbld/.ssh/ffxbld_dsa' aus2/ \ | |||
ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-32.0-build1-forbeta/ | |||
</pre> | |||
=== Update verify === | === Update verify === | ||
Can be done once snippet generation above is complete. | Can be done once snippet generation above is complete. | ||
Revision as of 10:29, 26 August 2014
nthomas - bug 1052412
Build 1 / RC 1
Issues Hit
- hg clone issues - mac xulrunner, windows en-US firefox, windows repack 1/10
Updates for beta channel
On bug 1052412 there are three patches to generate the partial from 32.0b9 as part of the automation, which simplifies this work quite a bit.
Generate patcher and update verify config
This was done as soon as we had en-US builds for all platforms. On my laptop ...
cd <parent_of_tools_checkout, updated to tip>
export PERL5LIB="tools/lib/perl:$HOME/perl5/lib/perl5" # need Config::General v2.44
wget http://hg.mozilla.org/releases/mozilla-release/raw-file/FIREFOX_32_0_RELEASE/browser/locales/shipped-locales
perl tools/release/patcher-config-bump.pl -p firefox -r Firefox -v 32.0 -a 32.0 -o 32.0b9 -b 1 \
-c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg -t stage.mozilla.org -f ftp.mozilla.org \
-d download.mozilla.org -l shipped-locales --partial-version 32.0b9 --platform linux --platform linux64 \
--platform macosx64 --platform win32
# then some manual modifications:
# * url in complete uses product firefox-32.0-build1-complete
# * url in <partials><31.0b9> uses firefox-32.0-build1-partial-31.0b9
# * to -> 32.0-build1
# * <32.0> block ——> <32.0-build1>,
# ** add mar-channel-ids "mar-channel-ids firefox-mozilla-beta,firefox-mozilla-release" (technically only needed for 33.0b1)
# ** pretty version -> 32.0 RC 1
# generate update verify configs
python tools/scripts/updates/create-update-verify-configs.py -c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg --platform linux64 --output tools/release/updates/mozBeta-firefox-linux64.cfg --release-config-file mozilla/release-firefox-mozilla-release.py -b https://hg.mozilla.org/build/buildbot-configs --channel releasetest -t FIREFOX_32_0_RELEASE
python tools/scripts/updates/create-update-verify-configs.py -c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg --platform linux --output tools/release/updates/mozBeta-firefox-linux.cfg --release-config-file mozilla/release-firefox-mozilla-release.py -b https://hg.mozilla.org/build/buildbot-configs --channel releasetest -t FIREFOX_32_0_RELEASE
python tools/scripts/updates/create-update-verify-configs.py -c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg --platform macosx64 --output tools/release/updates/mozBeta-firefox-mac64.cfg --release-config-file mozilla/release-firefox-mozilla-release.py -b https://hg.mozilla.org/build/buildbot-configs --channel releasetest -t FIREFOX_32_0_RELEASE
python tools/scripts/updates/create-update-verify-configs.py -c tools/release/patcher-configs/mozBeta-branch-patcher2.cfg --platform win32 --output tools/release/updates/mozBeta-firefox-win32.cfg --release-config-file mozilla/release-firefox-mozilla-release.py -b https://hg.mozilla.org/build/buildbot-configs --channel releasetest -t FIREFOX_32_0_RELEASE
# fix the to="/path" definitions
for f in tools/release/updates/mozBeta-firefox-{linux64,linux,mac64,win32}.cfg; do
sed -i '' -e 's,32.0-build1,32.0,g' $f
done
hg -R tools diff > patch
# attach this to bug 1052412 --> attachment 8478911
Setup up bouncer
Was done immediately after configs were generated above, no need to wait.
# add Products: Firefox-32.0-Partial-32.0b9, Firefox-32.0-build1-Complete # add Locations: Product OS Path Firefox-32.0-build1-Partial-32.0b9 win /firefox/candidates/32.0-candidates/build1/update/win32/:lang/firefox-32.0b9-32.0.partial.mar Firefox-32.0-build1-Partial-32.0b9 linux /firefox/candidates/32.0-candidates/build1/update/linux-i686/:lang/firefox-32.0b9-32.0.partial.mar Firefox-32.0-build1-Partial-32.0b9 linux64 /firefox/candidates/32.0-candidates/build1/update/linux-x86_64/:lang/firefox-32.0b9-32.0.partial.mar Firefox-32.0-build1-Partial-32.0b9 osx /firefox/candidates/32.0-candidates/build1/update/mac/:lang/firefox-32.0b9-32.0.partial.mar Firefox-32.0-build1-Complete win /firefox/candidates/32.0-candidates/build1/update/win32/:lang/firefox-32.0.complete.mar Firefox-32.0-build1-Complete linux /firefox/candidates/32.0-candidates/build1/update/linux-i686/:lang/firefox-32.0.complete.mar Firefox-32.0-build1-Complete linux64 /firefox/candidates/32.0-candidates/build1/update/linux-x86_64/:lang/firefox-32.0.complete.mar Firefox-32.0-build1-Complete osx /firefox/candidates/32.0-candidates/build1/update/mac/:lang/firefox-32.0.complete.mar
Generate snippets
Can be done once all platforms have completed l10n. NOT DONE YET
# generate snippets (on b-linux64-hp-0029): mkdir ~/bug1015968/ cd ~/bug1015968/ hg clone http://hg.mozilla.org/build/tools cd tools wget -O- https://bugzilla.mozilla.org/attachment.cgi?id=8478911 | patch -p1 cd .. export PYTHONPATH="tools/lib/python:tools/lib/python/vendor" python tools/scripts/updates/create-snippets.py --config tools/release/patcher-configs/mozBeta-branch-patcher2.cfg \ --checksums-dir checksums --snippet-dir aus2 --test-snippet-dir aus2.test -v 2>&1 | tee snippets.log # ditch the betatest snippets, we're going to use releasetest only before pushing to beta rm -rf aus2.test/Firefox/*/WIN*/*/*/betatest rm -rf aus2.test/Firefox/*/Lin*/*/*/betatest rm -rf aus2.test/Firefox/*/Dar*/*/*/betatest # Sync to aus3-staging rsync -av -e 'ssh -i /home/cltbld/.ssh/ffxbld_dsa' aus2.test/ \ ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-32.0-build1-forbeta-test/ rsync -av -e 'ssh -i /home/cltbld/.ssh/ffxbld_dsa' aus2/ \ ffxbld@aus3-staging.mozilla.org:/opt/aus2/snippets/staging/Firefox-32.0-build1-forbeta/
Update verify
Can be done once snippet generation above is complete.