Closed Bug 639388 Opened 9 years ago Closed 9 years ago

Automate addition of Solaris bouncer entries for Firefox

Categories

(Release Engineering :: General, defect, P4)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: rail)

References

Details

Attachments

(3 files)

Every release cycle we add bouncer entries for each Thunderbird and Firefox release manually, taking a few minutes for each release and doing a bunch of copy & paste operations. Given there are about 20K Solaris users of Fx 3.5 and 3.6 this is, proportionally speaking, not a good use of our time.

We could automate this several ways
* automatically add Solaris locations when we add the other Firefox entries, but still do Thunderbird manually
* set up a configurable builder in buildbot to add the entries for solaris, passing in an app name and version
* some other api that talks to bouncer's submission interface

What do you think Rail ?
Would have to allow for branding too.
Summary: Automate addition of Solaris bounce entries → Automate addition of Solaris bouncer entries
It shouldn't be too hard to implement, but still need to fix bug 637666.
Assignee: nobody → rail
Depends on: 637666
Attachment #521680 - Flags: review?(nrthomas)
Attached patch buildbotcustomSplinter Review
Attachment #521681 - Flags: review?(nrthomas)
Attached patch configsSplinter Review
Attachment #521682 - Flags: review?(nrthomas)
Passed staging tests. Generated links tested by downloading them.
Comment on attachment 521680 [details] [diff] [review]
tuxedo-add.py solaris templates

>From eb4c51310badadab98ad81c8b2345379d23286c0 Mon Sep 17 00:00:00 2001
>From: Rail Aliev <rail@mozilla.com>
>Date: Fri, 25 Mar 2011 00:36:54 +0200
>Subject: [PATCH] Bug 639388 - Automate addition of Solaris bouncer entries
>
>---
> release/firefox-tuxedo.ini |   20 ++++++++++++++++++++
> 1 files changed, 20 insertions(+), 0 deletions(-)
>
>diff --git a/release/firefox-tuxedo.ini b/release/firefox-tuxedo.ini
>index 8edc07b..9a8bee8 100644
>--- a/release/firefox-tuxedo.ini
>+++ b/release/firefox-tuxedo.ini
>@@ -14,8 +14,28 @@ full_product_template = /%(product)s/releases/%(version)s/%(ftp_platform)s/%(loc
> [linux64]
> full_product_template = /%(product)s/releases/%(version)s/%(ftp_platform)s/%(locale)s/%(product)s-%(version)s.tar.bz2
> 
> [macosx]
> full_product_template = /%(product)s/releases/%(version)s/%(ftp_platform)s/%(locale)s/%(brandName)s %(prettyVersion)s.dmg
> 
> [macosx64]
> full_product_template = /%(product)s/releases/%(version)s/%(ftp_platform)s/%(locale)s/%(brandName)s %(prettyVersion)s.dmg
>+
>+[solaris-sparc]
>+full_product_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(version)s.en-US.solaris-10-fcs-sparc.tar.bz2
>+complete_mar_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(version)s.en-US.solaris-10-fcs-sparc.complete.mar
>+partial_mar_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(old_version)s-%(version)s.en-US.solaris-10-fcs-sparc.partial.mar

>+[solaris-i386]
>+full_product_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(version)s.en-US.solaris-10-fcs-i386.tar.bz2
>+complete_mar_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(version)s.en-US.solaris-10-fcs-i386.complete.mar
>+partial_mar_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(old_version)s-%(version)s.en-US.solaris-10-fcs-i386.partial.mar
>+
>+[opensolaris-sparc]
>+full_product_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(version)s.en-US.opensolaris-sparc.tar.bz2
>+complete_mar_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(version)s.en-US.opensolaris-sparc.complete.mar
>+partial_mar_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(old_version)s-%(version)s.en-US.opensolaris-sparc.partial.mar
>+
>+[opensolaris-i386]
>+full_product_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(version)s.en-US.opensolaris-i386.tar.bz2
>+complete_mar_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(version)s.en-US.opensolaris-i386.complete.mar
>+partial_mar_template = /%(product)s/releases/%(version)s/contrib/solaris_tarball/%(product)s-%(old_version)s-%(version)s.en-US.opensolaris-i386.partial.mar
>-- 
>1.7.1
>
Attachment #521680 - Flags: review?(nrthomas) → review+
Attachment #521681 - Flags: review?(nrthomas) → review+
Attachment #521682 - Flags: review?(nrthomas) → review+
Oops, sorry about comment #7. There's not meant to be anything there apart from the r+.

This is all looks good for Firefox. Probably we should push out adding Thunderbird/SeaMonkey to bouncer to another bug. Not sure how we'd generate a builder on our buildbots using their config; Thunderbird does things a bit differently.
Comment on attachment 521680 [details] [diff] [review]
tuxedo-add.py solaris templates

http://hg.mozilla.org/build/tools/rev/73c8f0d177bd
Attachment #521680 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Summary: Automate addition of Solaris bouncer entries → Automate addition of Solaris bouncer entries for Firefox
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.