Releases/Firefox 31.0/BuildNotes: Difference between revisions

Jump to navigation Jump to search
Line 241: Line 241:
* rerun checksums builder, remove contrib* dirs it wants to create, run again to succeed
* rerun checksums builder, remove contrib* dirs it wants to create, run again to succeed
* run av checks over new partial files
* run av checks over new partial files
<pre>
# Generate patcher configs and update verify configs, nthomas's laptop but can be done on a slave too
cd /path/to/tools/..
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_30_0_RELEASE/browser/locales/shipped-locales
perl tools/release/patcher-config-bump.pl -p firefox -r Firefox -v 31.0 -a 31.0 -o 31.0 -b 2 \
  -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 31.0b9 --partial-version 31.0 \
  --platform linux --platform linux64 --platform macosx64 --platform win32
# then some manual modifications: url in <complete> should use product firefox-30.0-build2-complete,
# from -> 31.0-build1, to -> 31.0-build1
# fix up urls in <current-update>
## complete url: product -> firefox-31.0-build2-complete
## partial urls: product -> firefox-31.0-build2-partial-31.0-build1 and firefox-31.0-build2-partial-31.0b9
## <31.0> -> <31.0-build1> in <partials>
# <31.0> block ——> <31.0-build2>, add <31.0-build1> block by copying build2 and modifying buildid
# add mar-channel-ids & pretty version to <31.0-build1> and <31.0-build2>
# 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_31_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_31_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_31_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_31_0_RELEASE
# fix the to="/path" definitions
for f in tools/release/updates/mozBeta-firefox-{linux64,linux,mac64,win32}.cfg; do
  echo $f
  sed -i '' -e 's,31.0-build2,31.0,g' $f
done
# fix the from="/path" and to="/path" definitions
for f in tools/release/updates/mozBeta-firefox-{linux64,linux,mac64,win32}.cfg; do
  echo $f
  sed -i '' -e 's,firefox/releases/31.0-build1,firefox/candidates/31.0-candidates/build1,' -e 's,31.0-build1,31.0,g' $f
done
hg -R tools diff > patch
# attach this to bug 1015968, attachment 8457951
</pre>
Confirmed users
4,293

edits

Navigation menu