Confirmed users
1,377
edits
| Line 496: | Line 496: | ||
==== 3.0.19 -> 3.6.9 MU ==== | ==== 3.0.19 -> 3.6.9 MU ==== | ||
landed [http://hg.mozilla.org/build/tools/rev/afe9fd11cd8e update verify configs] and [https://bug598187.bugzilla.mozilla.org/attachment.cgi?id=482875 patcher configs]. | |||
===== Generation ===== | |||
done on mv-moz2-linux-ix-slave07 | |||
<pre> | |||
mkdir -p /builds/slave/3.0.19-3.6.11-major-update/snippets | |||
cd !$ | |||
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.11 3.0.19-3.6.11 | |||
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 Verification ===== | ===== Quick Verification ===== | ||
<pre> | |||
cd /builds/slave/3.0.19-3.6.11-major-update/snippets/patcher/temp/firefox/3.0.19-3.6.11/ | |||
# 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");' | |||
</pre> | |||
which produced no output | |||
===== Push to AUS ===== | ===== Push to AUS ===== | ||
<pre> | |||
cd /builds/slave/3.0.19-3.6.11-major-update/snippets/patcher/temp/firefox/3.0.19-3.6.11 | |||
rsync -av aus2.test/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20101013-Firefox-3.0.19-3.6.11-MU-test | |||
rsync -av aus2.beta/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20101013-Firefox-3.0.19-3.6.11-MU-beta | |||
rsync -av aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20101013-Firefox-3.0.19-3.6.11-MU | |||
</pre> | |||
===== Enable test snippets ===== | ===== Enable test snippets ===== | ||
<pre> | |||
cd /opt/aus2/snippets/staging | |||
~/bin/backupsnip 20101013-Firefox-3.0.19-3.6.11-MU-test | |||
~/bin/pushsnip 20101013-Firefox-3.0.19-3.6.11-MU-test | |||
</pre> | |||
===== Verify ===== | ===== Verify ===== | ||