Firefox 3.0:BuildNotes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 6: Line 6:


The aim is to prepare a firefox/releases/3.0/ directory with appropriately named copies of the files from the RC3.
The aim is to prepare a firefox/releases/3.0/ directory with appropriately named copies of the files from the RC3.
==Tag with FIREFOX_3_0_RELEASE==


==Stage & Rename files==
==Stage & Rename files==

Revision as of 15:48, 16 June 2008

Build Engineers

nthomas

Notes

The aim is to prepare a firefox/releases/3.0/ directory with appropriately named copies of the files from the RC3.

Tag with FIREFOX_3_0_RELEASE

Stage & Rename files

# cltbld@stage
mkdir /data/cltbld/firefox-3.0
cd /data/cltbld/firefox-3.0
rsync -av --exclude='*partial.mar' /pub/mozilla.org/firefox/releases/3.0rc3/ .
rm *SUMS
rm -rvf contrib/solaris*
find linux-i686 source update -type f | perl -nle '$nf = $_; if ( $nf =~ s/rc3// ) { system("mv","-v",$_,$nf)}' 
find mac win32 -type f | perl -nle '$nf = $_; if ( $nf =~ s/\ RC\ 3// ) { system("mv","-v",$_,$nf)};'

~/bin/verify-locales.pl -m ~/firefox-3.0rc3/batch1/config/shipped-locales -l bz2

~/bin/checksum-files .
chown -R cltbld:firefox .
chmod 644 *SUMS

Verification:

find /pub/mozilla.org/firefox/releases/3.0rc3/ -type f | perl -nle '$a = substr($_,41); $a =~ s/rc3//; $a =~ s/\ RC\ 3//; system("diff","-q",$_,$a);'

# Output:
diff: contrib/solaris_pkgadd/firefox-3.0.en-US.opensolaris-sparc-pkg.bz2.cksum: No such file or directory
diff: contrib/solaris_pkgadd/firefox-3.0.en-US.opensolaris-i386-pkg.bz2: No such file or directory
diff: contrib/solaris_pkgadd/firefox-3.0.en-US.opensolaris-sparc-pkg.bz2: No such file or directory
diff: contrib/solaris_pkgadd/firefox-3.0.en-US.opensolaris-i386-pkg.bz2.cksum: No such file or directory
diff: contrib/solaris_tarball/README.txt: No such file or directory
diff: contrib/solaris_tarball/firefox-3.0.en-US.opensolaris-sparc.tar.bz2.cksum: No such file or directory
diff: contrib/solaris_tarball/firefox-3.0.en-US.opensolaris-i386.tar.bz2: No such file or directory
diff: contrib/solaris_tarball/firefox-3.0.en-US.opensolaris-i386.tar.bz2.cksum: No such file or directory
diff: contrib/solaris_tarball/firefox-3.0.en-US.opensolaris-sparc.tar.bz2: No  such file or directory
Files /pub/mozilla.org/firefox/releases/3.0rc3/MD5SUMS and MD5SUMS differ
Files /pub/mozilla.org/firefox/releases/3.0rc3/SHA1SUMS and SHA1SUMS differ
diff: update/mac/af/firefox-3.0rc2-3.0.partial.mar: No such file or directory
diff: update/mac/ar/firefox-3.0rc2-3.0.partial.mar: No such file or directory
...
diff: update/mac/zh-CN/firefox-3.0rc2-3.0.partial.mar: No such file or directory
diff: update/mac/zh-TW/firefox-3.0rc2-3.0.partial.mar: No such file or directory

Which is fine (we removed the contrib files, don't want the partial mars, and the filename changes appear in the SUMS file).

Add index.html

Add the text beltzner provided to index.html, check validation, and do

for dir in `find . -type d -mindepth 1 | grep -v contrib`; do cp -p index.html $dir/; done

Setup bouncer

  • setup done manually.

Push to mirrors

  • push the stage-merged directory to the releases area:
# on stage
rsync -av /data/cltbld/firefox-3.0/ /home/ftp/pub/firefox/releases/3.0/

Update rsync modules

Remove index.html