Releases/Firefox 3.6/BuildNotes

Until we're about to ship this page will serve as a spot to put down a rough checklist of what needs to be done to ship.

Release Engineers

Tracking Bug

bug 540666

Notes

Stage and Rename files

Much the same as Firefox 3.5.

# ffxbld@stage
mkdir firefox-3.6
cd firefox-3.6
rsync -av --exclude='*partial.mar' --exclude=source --exclude=*SUMS /pub/mozilla.org/firefox/releases/3.6rc2/ .
find contrib linux-i686 update -type f | perl -nle '$nf = $_; if ( $nf =~ s/rc2// ) { system("mv","-v",$_,$nf)}' 
find mac win32 -type f | perl -nle '$nf = $_; if ( $nf =~ s/\ RC\ 2// ) { system("mv","-v",$_,$nf)};'
wget -O../firefox-3.6-shipped-locales http://hg.mozilla.org/releases/mozilla-1.9.2/raw-file/FIREFOX_3_6rc2_RELEASE/browser/locales/shipped-locales
~cltbld/bin/verify-locales.pl -m ~/firefox-3.6-shipped-locales -l bz2
~cltbld/bin/checksum-files .
chown -R ffxbld:firefox linux-i686 mac update win32
chmod 644 *SUMS

Content verification

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

Output:

diff: contrib/solaris_tarball/firefox-3.6rc1-3.6.en-US.solaris-10-fcs-sparc.partial.mar: No such file or directory
diff: contrib/solaris_tarball/firefox-3.6rc1-3.6.en-US.solaris-10-fcs-i386.partial.mar: No such file or directory
diff: contrib/solaris_tarball/firefox-3.6rc1-3.6.en-US.opensolaris-i386.partial.mar: No such file or directory
diff: contrib/solaris_tarball/firefox-3.6rc1-3.6.en-US.opensolaris-sparc.partial.mar: No such file or directory
diff: source/firefox-3.6.bundle.asc: No such file or directory
diff: source/firefox-3.6.bundle: No such file or directory
diff: source/firefox-3.6.source.tar.bz2.asc: No such file or directory
diff: source/firefox-3.6.source.tar.bz2: No such file or directory
diff: update/linux-i686/af/firefox-3.6rc1-3.6.partial.mar: No such file or directory
diff: update/linux-i686/ar/firefox-3.6rc1-3.6.partial.mar: No such file or directory
...
diff: update/win32/zh-CN/firefox-3.6rc1-3.6.partial.mar: No such file or directory
diff: update/win32/zh-TW/firefox-3.6rc1-3.6.partial.mar: No such file or directory
Files /pub/mozilla.org/firefox/releases/3.6rc2/MD5SUMS and MD5SUMS differ
Files /pub/mozilla.org/firefox/releases/3.6rc2/SHA1SUMS and SHA1SUMS differ

Everything above is expected: We don't want the partials, we regenerated *SUMS because of filename changes, and we haven't yet regenerated source packages yet.

Ownernship/permission verification

find . ! -user ffxbld
find . ! -group firefox
find . -type f ! -perm 644
find . -mindepth 1 -type d ! -perm 755 ! -name 'contrib*'
find . -maxdepth 1 -type d ! -perm 2775  -name 'contrib*'

Virus check

This will have been done for 3.6rc2 and background scans but double check

clamscan -r --quiet -i .

No problems found.

Add index files

curl -sL https://bugzilla.mozilla.org/attachment.cgi?id=422468 > index.html
for dir in `find . -type d -mindepth 1`; do cp -pv index.html $dir/; done

Generate major update

We currently have majortest snippets pointing at 3.6rc2 in bouncer but we should point at the 3.6 files for tracking purposes. Also need to have a releasetest channel for QA to check. Updated config.

Bouncer Setup

Tag and Source package regeneration

On release day.

Push to Mirrors

Update rsync modules

Push Major Update

Symlink update

Remove index.html files

Once we are fully announced we can remove the index.html files:

cd /pub/mozilla.org/firefox/releases/3.6/
find . -name index.html | less
find . -name index.html | xargs rm -v