Releases/Thunderbird 3.1.7/BuildNotes

From MozillaWiki
Jump to: navigation, search

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

gozer, jhopkins

Notes

Generate major update

Note: major updates from 3.0.x -> 3.1.x are generated by buildbot automation. These instructions have been edited making that assumption.

# ssh cltbld@momo-build-adm-01
$> cd /home/cltbld/patcher/mozilla/tools/patcher
# Edit the appropriate patcher-config/*.cfg file.
# - Change the http:// paths between <current-update>.
# - Paste in the <release 3.1> tag (adjust for the version you are releasing)
#   Note: copy from one of the other files and replace  <x.y.z> tag with <release> tag
# - Edit the "from=" and "to=" values as needed.
$> vim moz19-thunderbird-branch-major-update-patcher2.cfg

Download relevant product binaries

# TB 2.x
$> ./patcher2.pl --download --app=thunderbird --config=../patcher-configs/moz19-thunderbird-branch-major-update-patcher2.cfg

Create patcher symlinks

# (so patcher sees MARs that it thinks are partials)
$> cd temp/thunderbird
$> ln -s 3.1.7 2.0.0.24-3.1.7
$> cd ../..

# Create partial patches and snippets
$> ./patcher2.pl --create-patches --app=thunderbird --config=../patcher-configs/moz19-thunderbird-branch-major-update-patcher2.cfg

Quick verify

$ cd temp/thunderbird/2.0.0.24-x.y.z
$ ~/bin/patch-quick-verify

Create archive

$> cd temp/thunderbird
$> cd 2.0.0.24-3.1.7 # symlink made earlier
$> mv aus2 20100716-Thunderbird-2.0.0.24-3.1.7-MU
$> mv aus2.test 20100716-Thunderbird-2.0.0.24-3.1.7-MU-test
$> tar cvzf 20100716-Thunderbird-2.0.0.24-3.1.7-MU.tgz 20100716-Thunderbird-2.0.0.24-3.1.7-MU
$> tar cvzf 20100716-Thunderbird-2.0.0.24-3.1.7-MU-test.tgz 20100716-Thunderbird-2.0.0.24-3.1.7-MU-test

Mac Symlink Workaround

# NOTE: Not required for 2.x
# create Mac symlinks (to handle deprecation of PowerPC architecture)
$> ssh tbirdbld@momo-build-adm-01
$> cd /opt/aus/snippets/staging
$> for d in `find 20101207-Thunderbird-3.1.7* -name Darwin_Universal-gcc3 | cut -d/ -f 1-3`; do pushd $d; ln -s Darwin_Universal-gcc3 Darwin_x86-gcc3-u-ppc-i386; popd; done
$> exit
# [re-]push only the required updates
# NOTE: only has to be done if symlinks didn't exist in the snippet staging area
$> ssh cltbld@momo-build-adm-01
$> cd /opt/aus/snippets/staging
$> pushsnip 20100101-Thunderbird-3.1.7-test


Push 2.x to AUS

$ scp *.tgz someplace@accessible-from-mpt-vpn
$ ssh -A john.hopkins@mpt-vpn.mozilla.com
$ cd tmp
$ rm *
$ wget files_from_someplace
$ scp *.tgz cltbld@aus2-staging.mozilla.org:/opt/aus2/snippets/staging/
$ ssh cltbld@aus2-staging.mozilla.org
# aus2-staging.mozilla.org
$ cd /opt/aus2/snippets/staging
$ tar zxvf 20100916-Thunderbird-xyz.tar.gz

Push 3.x to AUS

cp -i *.tgz /opt/aus/snippets/staging/ cd /opt/aus/snippets/staging/ tar zxvf something-test.tgz pushsnip something

Enable test snippets

# cltbld@aus2-staging
$> ~/bin/backupsnip 20091206-Thunderbird-2.0.0.24-3.1-MU-test
$> ~/bin/pushsnip   20091206-Thunderbird-2.0.0.24-3.1-MU-test
$> ~/bin/pushsnip   20100622-Thunderbird-3.0.5-3.1-MU-test


Attach CVS patch to Bug

eg. Bug 579142

Attach a patch (cvs diff -u) and request review from a colleague.

Once reviewed, submit the patch to CVS.

Send a notification email

Let people know what's been done. Note: this is a wide list so keep traffic low.

To: thunderbird-drivers@mozilla.org
Subj: Thunderbird 2.0.0.24 => 3.1.1 Major Update available in test channels"

Thunderbird 2.0.0.24 => 3.1.1 Major Update available in betatest and releasetest channels, unthrottled.


Message #tb-qa and #tbdrivers on IRC.