Status

Mozilla Messaging
Release Engineering
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: rebron, Assigned: jhopkins)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
Repack Thunderbird 3.1.2 for Funnel Cake 2.

1) Add/set parameters for urls Start and What's New via a distribution.ini or
.js file
2) Hook up "cancel install" and "uninstall surveys"
2a) Create cancel install and uninstall surveys
3) Add additional parameters for autoconfig initiate, fail, and success

From Bug 551720:
Here's how:

1) On a Mac box ensure that there is a 7zip executable in the path.
- I used http://www.macupdate.com/info.php/id/19139
- I suggest gozer uses one of the Mac minis as they have 7zip & everything else
already installed.

2) Clone http://hg.mozilla.org/build/partner-repacks/

3) Apply attachment 437575 [details] [diff] [review] to the cloned repo. Note: don't push it to the repo,
it isn't in a fit state for that.

4) cd into partner-repacks/scripts

5) Run the repack script:

# ./partner-repacks.py --version=3.0.4 --pkg-dmg=<path to a mozilla-1.9.1
directory>build/package/mac_osx/pkg-dmg

6) This will then produce the repacked builds into the partner-repacks/scripts
/repacked_builds directory.

7) Upload the builds to ftp, in this case create a partner_repacks directory
under:

http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/3.1.2-candidates/build1/unsigned/

and then upload the contents of the repacked_builds/3.1.2/build1 directory
straight to ftp so that we get:

http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/3.1.2-candidates/build1/unsigned/partner_repacks/funnelcake/{linux-i686,mac,win32}
etc

This includes all three platforms. I believe they are initially generated from
unsigned, but lets get the unsigned checked first and we can sign them later.


For future reference, Firefox automates all of this as part of its partner
repacks builds and we could potentially do the same. xref:

http://hg.mozilla.org/build/buildbotcustom/file/9726abec8642/process/factory.py#l6601

QA/Testing - 
things we should be checking on these builds:

- Preferences set correctly when app loading (see the funnelcake.js file in
attachment 437575 [details] [diff] [review]).

- Account wizard still works correctly.

- Start & What's New pages still work correctly.

- Windows installation wizard: Check that aborting the installation gives a
prompt to go to a survey page.

- Windows uninstall wizard: Check that an uninstall survey is offered on
Windows OS that are older than Vista. Note, this should be offered even if
we're not a funnelcake build. It isn't offered on Vista or later - bug 557826.
We should probably do this under releng. Assigning to myself in the first instance to check if everything is still right on the 1.9.2 branch.
Assignee: nobody → bugzilla
Component: Build Config → Release Engineering
Product: Thunderbird → Mozilla Messaging
QA Contact: build-config → release
Version: 3.1 → other
Created attachment 466774 [details] [diff] [review]
Updated funnelcake patch

Updated patch for funnel cake 2
Passing to build... (reassign if I've got the wrong person).

Instructions:

Follow those in comment 0 except:

- Use attachment 466774 [details] [diff] [review] on this bug rather than the attachment referenced.

- You can try using the -signed argument to ./partner-repacks.py I believe this will keep the windows builds as signed (or re-sign them). However, I won't be surprised if this gets the wrong signing info.
Assignee: bugzilla → john.hopkins
On mini-10:

mkdir /builds/slave/repack
cd /builds/slave/repack

hg clone http://hg.mozilla.org/build/partner-repacks/
hg clone http://hg.mozilla.org/releases/mozilla-1.9.2/

cd partner-repacks/scripts

./partner-repacks.py \
    --signed \
    --version=3.1.2 \
    --pkg-dmg=/builds/slave/repack/mozilla-1.9.2/build/package/mac_osx/pkg-dmg
    
rsync -av repacked_builds/3.1.2/build1/ tbirdbld@stage.mozilla.org:/pub/mozilla.org/thunderbird/nightly/3.1.2-candidates/build1/unsigned/partner_repacks/
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Blocks: 609116
You need to log in before you can comment on or make changes to this bug.