Changes

Jump to: navigation, search

Releases/Firefox 3.0.18/BuildNotes

3,857 bytes added, 03:07, 5 February 2010
3.0.18 -> 3.6 Major Update Refresh
==== 3.0.18 -> 3.6 Major Update Refresh ====
 
* version bumps for [https://bugzilla.mozilla.org/attachment.cgi?id=425321 patcher config] and [http://hg.mozilla.org/build/tools/rev/XX update verify config]
===== Snippet Generation =====
On fx-linux-1.9-slave2:
<pre>
mkdir -p /builds/3.0.18-3.6-major-update/snippets
cd /builds/3.0.18-3.6-major-update/snippets
 
cvs -d:ext:cltbld@cvs.mozilla.org:/cvsroot co -d patcher-configs mozilla/tools/patcher-configs
cvs -d:ext:cltbld@cvs.mozilla.org:/cvsroot co -r UPDATE_PACKAGING_R9 -d patcher mozilla/tools/patcher
cd patcher
cvs -d:ext:cltbld@cvs.mozilla.org:/cvsroot co -r UPDATE_PACKAGING_R9 -d MozBuild mozilla/tools/release/MozBuild
 
export CVSROOT=:ext:cltbld@cvs.mozilla.org:/cvsroot
# build tools
./patcher2.pl --build-tools --app=firefox --tools-rev=UPDATE_PACKAGING_R9 --config=../patcher-configs/moz19-branch-major-update-patcher2.cfg 2>&1 | tee ../firefox_build-tools.log
 
# download mars
./patcher2.pl --download --app=firefox --config=../patcher-configs/moz19-branch-major-update-patcher2.cfg 2>&1 | tee ../firefox_download.log
 
# FIXME - patcher needs to see that the MARs that it thinks are partials
# are there or else it will not attempt to generate patchinfo
cd temp/firefox
ln -s 3.6 3.0.18-3.6
cd ../..
 
# Create partial patches and snippets
./patcher2.pl --create-patches --app=firefox --config=../patcher-configs/moz19-branch-major-update-patcher2.cfg 2>&1 | tee ../firefox-create-patches.log
</pre>
===== Quick Verify =====
Check that betatest releasetest = beta = release (normally betatest would be different but 3.6 is well shipped and all the channels point at bouncer this time).
cd temp/firefox/3.0.18-3.6
# betatest == releasetest
find aus2.test -type d -iregex '.*/betatest$' | perl -nle '$a = $_; $a =~ s/betatest/releasetest/; system("diff -r -u $_ $a");'
find aus2.test -type d -iregex '.*/releasetest$' | perl -nle '$a = $_; $a =~ s/releasetest/betatest/; system("diff -r -u $_ $a");'
# releasetest == beta
find aus2.test -type d -iregex '.*/releasetest$' | perl -nle '$a = $_; $a =~ s/releasetest/beta/; $a =~ s/aus2\.test/aus2.beta/; system("diff -r -u $_ $a");'
find aus2.beta -type d -iregex '.*/beta$' | perl -nle '$a = $_; $a =~ s/beta$/releasetest/; $a =~ s/aus2\.beta/aus2.test/; system("diff -r -u $_ $a");'
# beta == release
find aus2.beta -type d -iregex '.*/beta$' | perl -nle '$a = $_; $a =~ s/aus2\.beta/aus2/; $a =~ s/beta/release/; system("diff -r -u $_ $a");'
find aus2 -type d -iregex '.*/release$' | perl -nle '$a = $_; $a =~ s/release$/beta/; $a =~ s/aus2/aus2.beta/; system("diff -r -u $_ $a");'
 
===== Push to AUS =====
cd /builds/3.0.18-3.6-major-update/snippets/patcher/temp/firefox/3.0.18-3.6
rsync -e 'ssh -i /home/cltbld/.ssh/aus' -av aus2.test/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20100204-Firefox-3.0.18-3.6-MU-test
rsync -e 'ssh -i /home/cltbld/.ssh/aus' -av aus2.beta/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20100204-Firefox-3.0.18-3.6-MU-beta
rsync -e 'ssh -i /home/cltbld/.ssh/aus' -av aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20100204-Firefox-3.0.18-3.6-MU
 
===== Enable test snippets =====
ssh -i ~/.ssh/aus2 cltbld@aus2-staging.mozilla.org
~/bin/backupsnip 20100204-Firefox-3.0.18-3.6-MU-test
~/bin/pushsnip 20100204-Firefox-3.0.18-3.6-MU-test
 
===== Update verify =====
Ran update verify on fx-{linux,mac,win32}-1.9-slave2 as follows:
mkdir -p /builds/verify/firefox-3018-36-major/
cd /builds/verify/firefox-3018-36-major/
hg clone http://hg.mozilla.org/build/tools
# get patch to trawl "Only in" directories
cd tools/release/common
# on mac & linux
curl -sL https://bugzilla.mozilla.org/attachment.cgi?id=367544 | patch -p3
# on win32
wget --no-check-certificate -O patch https://bugzilla.mozilla.org/attachment.cgi?id=367544§
patch -p3 < patch
# everyone ...
cd ../updates
platform=linux # or mac or win32
./verify.sh -c moz19-firefox-$platform-major.cfg 2>&1 | tee $platform.log
 
''Results''
==== Push updates to beta channel ====
Confirm
4,293
edits

Navigation menu