Firefox 3.0:BuildNotes: Difference between revisions

 
(8 intermediate revisions by the same user not shown)
Line 56: Line 56:
* setup done manually.
* setup done manually.


==Push live==
==Push to mirrors==
 
* push the covering index.html in the top level (Monday 0900 PDT)
# on stage
rsync -av /data/cltbld/firefox-3.0/index.html /home/ftp/pub/firefox/releases/3.0/
* push the stage-merged directory to the releases area (Tuesday 0010 PDT)
# on stage
rm -v /data/cltbld/firefox-3.0/source/firefox*
rsync -av /data/cltbld/firefox-3.0/ /home/ftp/pub/firefox/releases/3.0/


==Update rsync modules==
==Update rsync modules==
From /pub/mozilla.org/zz/rsyncd-mozilla-current.exclude remove
+ firefox/releases/1.5.0.12
+ firefox/releases/1.5.0.12/**
and added
+ firefox/releases/3.0   
+ firefox/releases/3.0/**
FIXME: need a way to provide major update to the laggard Fx1.5.0.x users
==Tag with FIREFOX_3_0_RELEASE==
On fx-linux-1.9-slave2:
# cvsroot
mkdir -p /builds/tags/FIREFOX_3_0_RELEASE/cvsroot
cd /builds/tags/FIREFOX_3_0_RELEASE/cvsroot
cvs -d cltbld@cvs.mozilla.org:/cvsroot  co -r FIREFOX_3_0rc3_RELEASE mozilla 2>&1 | tee checkout.log
cd mozilla
cvs up -r GECKO19_20080529_RELBRANCH client.mk
# edit client.mk and replace 5 instances of FIREFOX_3_0rc3_RELEASE with FIREFOX_3_0_RELEASE
cvs ci -m "Bump tags in client.mk for final 3.0 tag (FIREFOX_3_0_RELEASE)" client.mk
cvs tag FIREFOX_3_0_RELEASE 2>&1 | tee tag-FIREFOX_3_0_RELEASE.log
cvs -q -d cltbld@cvs.mozilla.org:/cvsroot rdiff -r FIREFOX_3_0rc3_RELEASE -r FIREFOX_3_0_RELEASE mozilla 2>&1 | tee ../rdiff.log
# l10n
mkdir -p /builds/tags/FIREFOX_3_0_RELEASE/l10n
cd /builds/tags/FIREFOX_3_0_RELEASE/l10n
cvs -d cltbld@cvs.mozilla.org:/l10n  co -r FIREFOX_3_0rc3_RELEASE l10n 2>&1 | tee checkout.log
cd l10n
cvs tag FIREFOX_3_0_RELEASE 2>&1 | tee ../tag-FIREFOX_3_0_RELEASE.log
==Update source tarball and push==
On stage:
mkdir -p /tmp/source/firefox-3.0
cd /tmp/source/firefox-3.0
rsync -av /pub/mozilla.org/firefox/releases/3.0rc3/source/firefox-3.0rc3-source.tar.bz2 .
tar xfj firefox-3.0rc3-source.tar.bz2
cd mozilla
cvs -q up -r FIREFOX_3_0_RELEASE
cd ..
tar cfj firefox-3.0-source.tar.bz2 mozilla
rsync -av firefox-3.0-source.tar.bz2 /data/cltbld/firefox-3.0/source/
Pull the source tarball down to the signing machine, generate a gpg sig, and push it back
mkdir -p ~/signing-work/firefox-3.0
cd ~/signing-work/firefox-3.0
rsync -av cltbld@stage.mozilla.org:~/firefox-3.0/source/ stage-unsigned/
rsync -av stage-unsigned/ stage-signed/
cd stage-signed/
sign-files .
cd ..
# should only push the asc here
rsync -nav stage-signed/ cltbld@stage.mozilla.org:~/firefox-3.0/source/
rsync -av stage-signed/  cltbld@stage.mozilla.org:~/firefox-3.0/source/
Then push it to the mirrors
rsync -nav /data/cltbld/firefox-3.0/ /home/ftp/pub/firefox/releases/3.0/
rsync -av /data/cltbld/firefox-3.0/ /home/ftp/pub/firefox/releases/3.0/
Should also have updated MD5SUMS and SHA1SUMS for this, fixed after the fact when a bug got filed.


==Remove index.html==
==Remove index.html==
Once the website goes live then we can remove the index.html bandaid:
cd /pub/mozilla.org/firefox/releases/3.0/
find . -name index.html | less
find . -name index.html | xargs rm -v
Confirmed users
4,293

edits