Confirmed users
4,293
edits
(Add second iteration) |
|||
(12 intermediate revisions by the same user not shown) | |||
Line 67: | Line 67: | ||
The second iteration, to test what other packaging fixes we need ahead of b4. | The second iteration, to test what other packaging fixes we need ahead of b4. | ||
===Generate updates=== | |||
# ssh cltbld@fx-linux-1.9-slave2 (prod 1.9 box) | |||
mkdir /builds/updates/firefox-20012-3b3-fake-major/ | |||
cd /builds/updates/firefox-20012-3b3-fake-major/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d patcher -r UPDATE_PACKAGING_R1 mozilla/tools/patcher | |||
# check out MozBuild | |||
cd patcher | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d MozBuild -r UPDATE_PACKAGING_R1 mozilla/tools/release/MozBuild | |||
cd .. | |||
# config now lives in public repo | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d config mozilla/tools/patcher-configs/moz18-branch-major-update-patcher2.cfg | |||
# apply patch waiting for review | |||
cd config | |||
curl -s https://bugzilla.mozilla.org/attachment.cgi?id=304201 | patch -p0 | |||
cd .. | |||
cd patcher | |||
export CVSROOT=cltbld@cvs.mozilla.org:/cvsroot | |||
# build tools | |||
./patcher2.pl --build-tools --app=firefox --tools-rev=UPDATE_PACKAGING_R1 \ | |||
--config=../config/moz18-branch-major-update-patcher2.cfg 2>&1 | tee firefox_build-tools.log | |||
# download complete MARs | |||
# FIXME - we only really need to "to" mars, not the "from" mars, but there must be "from" | |||
# mars present for patcher to build the patchinfo | |||
./patcher2.pl --download --app=firefox \ | |||
--config=../config/moz18-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.0b3 2.0.0.12-3.0b3 | |||
cd ../.. | |||
# Create partial patches and snippets | |||
./patcher2.pl --create-patches --app=firefox \ | |||
--config=../config/moz18-branch-major-update-patcher2.cfg 2>&1 | tee firefox-create-patches.log | |||
Push aus2.test to the AUS staging box as 20080219-Fx20012-3b3-MU-test, do manual snippet verifications, and push live. | |||
===Verify updates=== | |||
On fx-win32-1.9-slave2, fx-mac-1.9-slave2, fx-linux-1.9-slave2, do | |||
mkdir -p /builds/verify/firefox-20012-3b3-fake-major/ | |||
cd /builds/verify/firefox-20012-3b3-fake-major/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d updates mozilla/testing/release/updates/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d common mozilla/testing/release/common/ | |||
cd updates | |||
# apply patch awaiting review | |||
curl -s https://bugzilla.mozilla.org/attachment.cgi?id=304202 | patch -p0 | |||
./verify.sh -c moz18-firefox-$platform-major.cfg 2>&1 | tee $platform.log | |||
==From 2.0.0.12 to 3.0b4== | |||
The third iteration, to test what other packaging fixes we need ahead of b5. | |||
===Generate updates=== | |||
# ssh cltbld@fx-linux-1.9-slave2 (prod 1.9 box) | |||
mkdir /builds/updates/firefox-20012-3b4-fake-major/ | |||
cd /builds/updates/firefox-20012-3b4-fake-major/ | |||
# config now lives in public repo | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d config mozilla/tools/patcher-configs/moz18-branch-major-update-patcher2.cfg | |||
# get patcher | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d patcher -r UPDATE_PACKAGING_R2 mozilla/tools/patcher | |||
# check out MozBuild | |||
cd patcher | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d MozBuild -r UPDATE_PACKAGING_R2 mozilla/tools/release/MozBuild | |||
export CVSROOT=cltbld@cvs.mozilla.org:/cvsroot | |||
# build tools | |||
./patcher2.pl --build-tools --app=firefox --tools-rev=UPDATE_PACKAGING_R2 \ | |||
--config=../config/moz18-branch-major-update-patcher2.cfg 2>&1 | tee firefox_build-tools.log | |||
# download complete MARs | |||
# FIXME - we only really need to "to" mars, not the "from" mars, but there must be "from" | |||
# mars present for patcher to build the patchinfo | |||
./patcher2.pl --download --app=firefox \ | |||
--config=../config/moz18-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.0b4 2.0.0.12-3.0b4 | |||
cd ../.. | |||
# Create partial patches and snippets | |||
./patcher2.pl --create-patches --app=firefox \ | |||
--config=../config/moz18-branch-major-update-patcher2.cfg 2>&1 | tee firefox-create-patches.log | |||
Push aus2.test to the AUS staging box as 20080317-Fx20012-3b4-MU-test, do manual snippet verifications, and push live. | |||
===Verify updates=== | |||
On fx-win32-1.9-slave2, fx-mac-1.9-slave2, fx-linux-1.9-slave2, do | |||
mkdir -p /builds/verify/firefox-20012-3b4-fake-major/ | |||
cd /builds/verify/firefox-20012-3b4-fake-major/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d updates mozilla/testing/release/updates/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d common mozilla/testing/release/common/ | |||
# get patch to trawl "Only in" directories | |||
cd common | |||
# on mac & linux | |||
curl -s https://bugzilla.mozilla.org/attachment.cgi?id=304252 | patch -p0 | |||
# on win32 | |||
wget --no-check-certificate -O patch https://bugzilla.mozilla.org/attachment.cgi?id=304252 | |||
patch -p0 < patch | |||
cd ../updates | |||
./verify.sh -c moz18-firefox-$platform-major.cfg 2>&1 | tee $platform.log | |||
==From 2.0.0.14 to 3.0== | |||
The fourth iteration, to test what other packaging fixes we need ahead of 3.0.1 | |||
===Generate updates=== | |||
# ssh cltbld@fx-linux-1.9-slave2 (prod 1.9 box) | |||
mkdir /builds/updates/firefox-20014-3-fake-major/ | |||
cd /builds/updates/firefox-20014-3-fake-major/ | |||
# config now lives in public repo | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d config mozilla/tools/patcher-configs/moz18-branch-major-update-patcher2.cfg | |||
# get patcher | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d patcher -r UPDATE_PACKAGING_R4 mozilla/tools/patcher | |||
# check out MozBuild | |||
cd patcher | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d MozBuild -r UPDATE_PACKAGING_R4 mozilla/tools/release/MozBuild | |||
export CVSROOT=cltbld@cvs.mozilla.org:/cvsroot | |||
# build tools | |||
./patcher2.pl --build-tools --app=firefox --tools-rev=UPDATE_PACKAGING_R4 \ | |||
--config=../config/moz18-branch-major-update-patcher2.cfg 2>&1 | tee firefox_build-tools.log | |||
# download complete MARs | |||
# FIXME - we only really need to "to" mars, not the "from" mars, but there must be "from" | |||
# mars present for patcher to build the patchinfo | |||
./patcher2.pl --download --app=firefox \ | |||
--config=../config/moz18-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.0 2.0.0.14-3.0 | |||
cd ../.. | |||
# Create partial patches and snippets | |||
./patcher2.pl --create-patches --app=firefox \ | |||
--config=../config/moz18-branch-major-update-patcher2.cfg 2>&1 | tee firefox-create-patches.log | |||
Push aus2.test to the AUS staging box as 20080627-Fx20014-3-MU-test, do manual snippet verifications, and push live. | |||
===Verify updates=== | |||
On fx-win32-1.9-slave2, fx-mac-1.9-slave2, fx-linux-1.9-slave2, do | |||
mkdir -p /builds/verify/firefox-20014-3-fake-major/ | |||
cd /builds/verify/firefox-20014-3-fake-major/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d updates mozilla/testing/release/updates/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d common mozilla/testing/release/common/ | |||
# get patch to trawl "Only in" directories | |||
cd common | |||
# on mac & linux | |||
curl -s https://bugzilla.mozilla.org/attachment.cgi?id=304252 | patch -p0 | |||
# on win32 | |||
wget --no-check-certificate -O patch https://bugzilla.mozilla.org/attachment.cgi?id=304252 | |||
patch -p0 < patch | |||
cd ../updates | |||
./verify.sh -c moz18-firefox-$platform-major.cfg 2>&1 | tee $platform.log | |||
==From 2.0.0.16 to 3.0.1== | |||
The fifth iteration, are we there yet ? | |||
===Update configs=== | |||
Both the patcher and verify configs need updating for the new version - [https://bugzilla.mozilla.org/attachment.cgi?id=333503 patch] | |||
===Generate updates=== | |||
# ssh cltbld@fx-linux-1.9-slave2 (prod 1.9 box) | |||
mkdir /builds/updates/firefox-20016-301-fake-major/ | |||
cd /builds/updates/firefox-20016-301-fake-major/ | |||
# config now lives in public repo | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d config mozilla/tools/patcher-configs/moz18-branch-major-update-patcher2.cfg | |||
# get patcher | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d patcher -r UPDATE_PACKAGING_R4 mozilla/tools/patcher | |||
# check out MozBuild | |||
cd patcher | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d MozBuild -r UPDATE_PACKAGING_R4 mozilla/tools/release/MozBuild | |||
export CVSROOT=cltbld@cvs.mozilla.org:/cvsroot | |||
# build tools | |||
./patcher2.pl --build-tools --app=firefox --tools-rev=UPDATE_PACKAGING_R4 \ | |||
--config=../config/moz18-branch-major-update-patcher2.cfg 2>&1 | tee firefox_build-tools.log | |||
# download complete MARs | |||
# FIXME - we only really need to "to" mars, not the "from" mars, but there must be "from" | |||
# mars present for patcher to build the patchinfo | |||
./patcher2.pl --download --app=firefox \ | |||
--config=../config/moz18-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.0.1 2.0.0.16-3.0.1 | |||
cd ../.. | |||
# Create partial patches and snippets | |||
./patcher2.pl --create-patches --app=firefox \ | |||
--config=../config/moz18-branch-major-update-patcher2.cfg 2>&1 | tee firefox-create-patches.log | |||
Rsync temp/firefox/2.0.0.16-3.0.1/aus2.test to the AUS staging box as 20080814-Fx20016-301-MU-test, do manual snippet verifications, and push live. | |||
===Verify updates=== | |||
On fx-win32-1.9-slave2, fx-mac-1.9-slave2, fx-linux-1.9-slave2, do | |||
mkdir -p /builds/verify/firefox-20016-301-fake-major/ | |||
cd /builds/verify/firefox-20016-301-fake-major/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d updates mozilla/testing/release/updates/ | |||
cvs -d cltbld@cvs.mozilla.org:/cvsroot co -d common mozilla/testing/release/common/ | |||
# get patch to trawl "Only in" directories | |||
cd common | |||
# on mac & linux | |||
curl -s https://bugzilla.mozilla.org/attachment.cgi?id=304252 | patch -p0 | |||
# on win32 | |||
wget --no-check-certificate -O patch https://bugzilla.mozilla.org/attachment.cgi?id=304252 | |||
patch -p0 < patch | |||
cd ../updates | |||
./verify.sh -c moz18-firefox-$platform-major.cfg 2>&1 | tee $platform.log | |||
Then push the logs up to [https://build.mozilla.org/logs/Firefox_2.0.0.16_3.0.1_MU/ here] (LDAP auth) and compare against the fourth iteration. When doing a diff, the only thing of note is that | |||
PREPARE REMOVE searchplugins/pbi-pl.xml | |||
+file cannot be removed because it does not exist; skipping | |||
PREPARE REMOVE searchplugins/taobao.xml | |||
file cannot be removed because it does not exist; skipping | |||
... | |||
FINISH ADD searchplugins/fbc-pl.xml | |||
-remove failed: -1,2 (searchplugins/fbc-pl.xml.moz-backup) | |||
for the Polish locale (due to {{bug|408888}}, pbi-pl died and was replaced by fbcpl). |