Closed
Bug 688469
Opened 13 years ago
Closed 13 years ago
Create the Calendar 1.0b7 release builds
Categories
(Calendar :: Build Config, defect)
Calendar
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: standard8, Assigned: standard8)
Details
Once I land the patch on bug 685133, I'll be ready to start proper release builds for Lightning. There's a few config tweaks to do yet, but my plan is to document everything here, and then whoever can take over the production of the builds. Before we get started I'll need to know that all of Calendar's patches for 1.0b7 have landed in comm-beta. Then I'll need to know the changeset of comm-beta that you want to sign-off against. For the mozilla-beta changeset, I'd recommend taking the changeset that Thunderbird uses. Note *-beta will probably become *-release in a few hours as we're merging everything across to the release branch and doing final builds there.
Assignee | ||
Comment 1•13 years ago
|
||
Per Fallen on irc, the remaining changes have now landed. Therefore the following changesets are applicable: http://hg.mozilla.org/releases/comm-release/rev/0a19c0eb2533 http://hg.mozilla.org/releases/mozilla-release/rev/273977a2c0ea (release branch: GECKO70_2011092208_RELBRANCH) L10n changesets are the ones for miramar: http://hg.mozilla.org/build/buildbot-configs/rev/a66944ad1817
Assignee | ||
Comment 2•13 years ago
|
||
* Landed mozconfigs for comm-release as it is new: http://hg.mozilla.org/build/buildbot-configs/rev/0313c22f2e84 * Landed release configuration and l10n changesets: http://hg.mozilla.org/build/buildbot-configs/rev/550a096953d2 http://hg.mozilla.org/build/buildbot-configs/rev/48c29a20412d http://hg.mozilla.org/build/buildbot-configs/rev/1de9384a0100 (typo fix) * Clobbered builders * Pulled onto the buildbot master and reconfigured buildbot * Did the sendchange: ./buildbot.sh sendchange --username=standard8 --master=localhost:9030 --branch=releases/comm-release -m "Lightning 1.0b7 build 1 kick 1" doit Tagging is now running
Assignee | ||
Comment 3•13 years ago
|
||
On one of the linux boxes: $ mkdir linuxmerge $ cd linuxmerge $ wget http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/1.0b7-candidates/build1/linux-i686/lightning.xpi $ mv lightning.xpi lightning-32.xpi $ wget http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/1.0b7-candidates/build1/linux-x86_64/lightning.xpi $ mv lightning.xpi lightning-64.xpi $ mkdir 32 64 $ unzip lightning-32.xpi -d 32 $ unzip lightning-64.xpi -d 64 $ vi 64/install.rdf Just before the existing em:targetPlatform line, add the line: <em:targetPlatform>Linux_x86-gcc3</em:targetPlatform> $ echo binary-component Darwin_x86-gcc3/libcalbasecomps.dylib ABI=Darwin_x86-gcc3 > 64/components/binary.manifest $ echo binary-component Darwin_x86_64-gcc3/libcalbasecomps.dylib ABI=Darwin_x86_64-gcc3 >> 64/components/binary.manifest $ mkdir 64/components/Darwin_x86_64-gcc3 $ mv 64/components/libcalbasecomps.so 64/components/Darwin_x86_64-gcc3/ $ mkdir 64/components/Darwin_x86-gcc3 $ mv 32/components/libcalbasecomps.so 64/components/Darwin_x86-gcc3/ $ cd 64 $ zip -r ../lightning.xpi * $ cd .. $ ssh -l calbld -i ~/.ssh/calbld_dsa stage.mozilla.org mkdir -p /home/ftp/pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1/linux && scp -i ~/.ssh/calbld_dsa lightning.xpi calbld@stage.mozilla.org:/home/ftp/pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1/linux Then on stage.mozilla.org (as calbld): $ cd /pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1 $ cp /pub/mozilla.org/calendar/sunbird/nightly/1.0b7-candidates/build1/linux-x86_64/gdata-provider.xpi linux/ $ mkdir source $ cp /pub/mozilla.org/calendar/sunbird/nightly/1.0b7-candidates/build1/source/sunbird-1.0b7.source.tar.bz2 source/lightning-1.0b7.source.tar.bz2 Hence Linux 1.0b7 builds now up at: http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1/
Comment 4•13 years ago
|
||
Previous releases had the binaries in e.g. lightning.xpi\components\Linux_x86-gcc3. Linux test build1 has them in lightning.xpi\components\Darwin_x86-gcc3. Does this works?
Assignee | ||
Comment 5•13 years ago
|
||
ahem. Well spotted, I'll fix it now.
Assignee | ||
Comment 6•13 years ago
|
||
Revised Linux Instructions (obsoletes comment 3): mkdir linuxmerge $ cd linuxmerge $ wget http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/1.0b7-candidates/build1/linux-i686/lightning.xpi $ mv lightning.xpi lightning-32.xpi $ wget http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/1.0b7-candidates/build1/linux-x86_64/lightning.xpi $ mv lightning.xpi lightning-64.xpi $ mkdir 32 64 $ unzip lightning-32.xpi -d 32 $ unzip lightning-64.xpi -d 64 $ vi 64/install.rdf Just before the existing em:targetPlatform line, add the line: <em:targetPlatform>Linux_x86-gcc3</em:targetPlatform> $ echo binary-component Linux_x86-gcc3/libcalbasecomps.so abi=Linux_x86-gcc3 > 64/components/components.manifest $ echo binary-component Linux_x86_64-gcc3/libcalbasecomps.so abi=Linux_x86_64-gcc3 >> 64/components/components.manifest $ mkdir 64/components/Linux_x86_64-gcc3 $ mv 64/components/libcalbasecomps.so 64/components/Linux_x86_64-gcc3/ $ mkdir 64/components/Linux_x86-gcc3 $ mv 32/components/libcalbasecomps.so 64/components/Linux_x86-gcc3/ $ cd 64 $ zip -r ../lightning.xpi * $ cd .. $ ssh -l calbld -i ~/.ssh/calbld_dsa stage.mozilla.org mkdir -p /home/ftp/pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1/linux && scp -i ~/.ssh/calbld_dsa lightning.xpi calbld@stage.mozilla.org:/home/ftp/pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1/linux Then on stage.mozilla.org (as calbld): $ cd /pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1 $ cp /pub/mozilla.org/calendar/sunbird/nightly/1.0b7-candidates/build1/linux-x86_64/gdata-provider.xpi linux/ $ mkdir source $ cp /pub/mozilla.org/calendar/sunbird/nightly/1.0b7-candidates/build1/source/sunbird-1.0b7.source.tar.bz2 source/lightning-1.0b7.source.tar.bz2 New Linux builds are now up: http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1/
Assignee | ||
Comment 7•13 years ago
|
||
Windows builds got stuck in a different place to expected. We're running commands by hand: * buildsymbols * uploadsymbols * special buildbot command to download all l10n files * make repack-l10n-all * make upload * On stage, created win32 directory in /pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1/ * copied lightning.xpi and gdata-provider.xpi from sunbird ... 1.0b7-candidates/build1/unsigned/win32 to the new dir. Hence Win32 is available there as well now.
Assignee | ||
Comment 8•13 years ago
|
||
Mac failed due to an issue with some of my assumptions around the repack-l10n-all target. Need to think it through, but will probably just do a manual fix up in the morning for now.
Assignee | ||
Updated•13 years ago
|
Whiteboard: [win32 & linux complete, mac to finish]
Assignee | ||
Comment 9•13 years ago
|
||
Philipp pointed out that we'd not stripped the linux components. I've now done that by downloading onto the builders and doing a strip there, the smaller file is now on the ftp site in the same location (2.8M as opposed to 3.8M). Need to think about how to get that back into build automation.
Assignee | ||
Comment 10•13 years ago
|
||
The mac builds I had to finish manually - the repack-l10n-all script only worked on the non-universal part, so I took that and put the universal stuff into it. All builds are now available here and I believe they are ready to go: http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/1.0b7-candidates/build1/ Just need to file some follow-ups before closing this bug.
Whiteboard: [win32 & linux complete, mac to finish] → [need to file follow-ups]
Comment 11•13 years ago
|
||
I'm still a bit surprised about the size though. The last Lighting release was 4.8 mb on linux. Assuming each stripped binary component is about 400 kb and the last release contained 4 binary components (32+64 bit / tb5+tb6), 2.7 + 1.6 = 4.3 mb. Where are the missing 500 kb?
Assignee | ||
Comment 12•13 years ago
|
||
I'm not sure, but you could always try extracting the two and doing a recursive diff of the directories (sorry I have to go out now).
Assignee | ||
Comment 13•13 years ago
|
||
I've just been doing the differences and there's nothing obvious in there. I see the last lightning release as about 3M and the current one about 2.8M. The difference there is mainly just the fact we're only shipping one set of binary components.
Assignee | ||
Comment 14•13 years ago
|
||
Filed follow ups: bug 690553, bug 690556, bug 690560
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [need to file follow-ups]
You need to log in
before you can comment on or make changes to this bug.
Description
•