Confirmed users
4,293
edits
(MU generation and checks) |
|||
Line 8: | Line 8: | ||
= Notes = | = Notes = | ||
== Generate major update == | |||
[https://bugzilla.mozilla.org/attachment.cgi?id=385232 Updated] the patcher and update verify configs. | |||
# ssh cltbld@prometheus-vm.build.mozilla.org | |||
mkdir -p /builds/3.0.11-3.5rc3build2-major-update-test/snippets | |||
cd /builds/3.0.11-3.5rc3build2-major-update-test/snippets | |||
cvs -d:ext:ffxbld@cvs.mozilla.org:/cvsroot co -d patcher-configs mozilla/tools/patcher-configs | |||
cvs -d:ext:ffxbld@cvs.mozilla.org:/cvsroot co -r UPDATE_PACKAGING_R8 -d patcher mozilla/tools/patcher | |||
cd patcher | |||
cvs -d:ext:ffxbld@cvs.mozilla.org:/cvsroot co -r UPDATE_PACKAGING_R8 -d MozBuild mozilla/tools/release/MozBuild | |||
export CVSROOT=:ext:ffxbld@cvs.mozilla.org:/cvsroot | |||
# build tools | |||
./patcher2.pl --build-tools --app=firefox --tools-rev=UPDATE_PACKAGING_R8 --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.5rc3 3.0.11-3.5rc3 | |||
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 | |||
===Separate out beta snippets=== | |||
Skipped over this because beta and release together, done like [[Releases/Firefox_3.0.x_MUtest/BuildNotes#Separate_out_beta_snippets_4| this]]. | |||
===Quick verify=== | |||
Check that releasetest = beta = release. | |||
# releasetest == beta | |||
find aus2.test -type d -iregex '.*/releasetest$' | perl -nle '$a = $_; $a =~ s/releasetest/beta/; $a =~ s/aus2\.test/aus2/; system("diff -r -u $_ $a");' | |||
find aus2 -type d -iregex '.*/beta$' | perl -nle '$a = $_; $a =~ s/beta$/releasetest/; $a =~ s/aus2/aus2.test/; system("diff -r -u $_ $a");' | |||
# beta == release | |||
find aus2 -type d -iregex '.*/beta$' | perl -nle '$a = $_; $a =~ s/beta/release/; system("diff -r -u $_ $a");' | |||
find aus2 -type d -iregex '.*/release$' | perl -nle '$a = $_; $a =~ s/release$/beta/; system("diff -r -u $_ $a");' | |||
=== Push to AUS === | |||
cd /builds/3.0.11-3.5rc3build2-major-update-test/snippets/patcher/temp/firefox/3.0.11-3.5rc3 | |||
rsync -e 'ssh -i /home/cltbld/.ssh/aus' -av aus2.test/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20090625-Firefox-3.0.11-3.5rc3build2-MU-test | |||
rsync -e 'ssh -i /home/cltbld/.ssh/aus' -av aus2/ cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/20090625-Firefox-3.0.11-3.5rc3build2-MU | |||
=== Enable test snippets === | |||
# cltbld@aus2-staging | |||
~/bin/backupsnip 20090625-Firefox-3.0.11-3.5rc3build2-MU-test | |||
~/bin/pushsnip 20090625-Firefox-3.0.11-3.5rc3build2-MU-test | |||
=== Update verify === | |||
Ran update verify on fx-{linux,mac,win32}-1.9-slave2 as follows: | |||
mkdir -p /builds/verify/firefox-3011-35rc3build2-major-test/ | |||
cd /builds/verify/firefox-3011-35rc3build2-major-test/ | |||
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'' | |||
== Stage and Rename files == | == Stage and Rename files == | ||
'''NOT DONE YET''' | '''NOT DONE YET''' | ||
We'll have to do something similar to [[Firefox_3.0:BuildNotes#Stage_.26_Rename_files | Firefox 3.0]] with at least the following caveats: | We'll have to do something similar to [[Firefox_3.0:BuildNotes#Stage_.26_Rename_files | Firefox 3.0]] with at least the following caveats: | ||
* | * All MARs can be trimmed out this time | ||
* Don't trim out contrib builds if they exist | * Don't trim out contrib builds if they exist | ||
* Work needs to be done as ffxbld | * Work needs to be done as ffxbld | ||
Line 17: | Line 90: | ||
== Add index files == | == Add index files == | ||
'''NOT DONE YET''' | '''NOT DONE YET''' | ||
Same as [https://wiki.mozilla.org/Firefox_3.0:BuildNotes#Add_index.html Firefox 3.0]. | Same as [[https://wiki.mozilla.org/Firefox_3.0:BuildNotes#Add_index.html Firefox 3.0]]. Should try to retrieve the index.html from Firefox 3.0 and run it by beltzner. | ||
== Bouncer Setup == | == Bouncer Setup == |