Closed Bug 1095934 Opened 10 years ago Closed 10 years ago

Aurora builds should not be identified by the update channel

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(firefox35 fixed, firefox36 fixed)

RESOLVED FIXED
Firefox 36
Tracking Status
firefox35 --- fixed
firefox36 --- fixed

People

(Reporter: past, Assigned: past)

References

Details

Attachments

(3 files)

Identifying Aurora builds by the update channel results in non-nightly builds needing to have the update channel set in .mozconfig. We can do better than that.
I've been told that I should do this before, but it got forgotten in all the #fx10 craze.
Attachment #8519462 - Flags: review?(mh+mozilla)
Assignee: nobody → past
Status: NEW → ASSIGNED
Attachment #8519462 - Flags: review?(mh+mozilla) → review+
See Also: → 1096036
https://hg.mozilla.org/mozilla-central/rev/43118280b457
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
Comment on attachment 8519462 [details] [diff] [review]
Don't use the update channel to identify aurora

Approval Request Comment
[Feature/regressing bug #]: MOZ_DEV_EDITION was introduced in bug 1024110
[User impact if declined]: local and tinderbox builds from the aurora branch will not have the Developer Edition branding and behavior
[Describe test coverage new/current, TBPL]: m-c
[Risks and why]: trivial configuration change
[String/UUID change made/needed]: none
Attachment #8519462 - Flags: approval-mozilla-aurora?
Comment on attachment 8519462 [details] [diff] [review]
Don't use the update channel to identify aurora

Review of attachment 8519462 [details] [diff] [review]:
-----------------------------------------------------------------

::: configure.in
@@ +9006,5 @@
>      AC_DEFINE_UNQUOTED(ATK_MINOR_VERSION, $ATK_MINOR_VERSION)
>      AC_DEFINE_UNQUOTED(ATK_REV_VERSION, $ATK_REV_VERSION)
>  fi
>  
> +if test -z "$RELEASE_BUILD" -a -z "$NIGHTLY_BUILD"; then

Actually, after having built an aurora iceweasel, let me retract here. This should be test -n "$MOZ_DEV_EDITION", and MOZ_DEV_EDITION should be set in browser/branding/aurora/configure.sh.
Attachment #8519462 - Flags: review+
Comment on attachment 8520574 [details] [diff] [review]
Define MOZ_DEV_EDITION in aurora branding configuration

Review of attachment 8520574 [details] [diff] [review]:
-----------------------------------------------------------------

Yes (but double check it actually works ;) )
Attachment #8520574 - Flags: review?(mh+mozilla) → review+
Yep, I just built locally with only setting --with-branding and I got myself a nice Firefox Developer Edition.
Comment on attachment 8519462 [details] [diff] [review]
Don't use the update channel to identify aurora

I'll ask for approval on the combined patch.
Attachment #8519462 - Flags: approval-mozilla-aurora?
Attached patch Patch fro AuroraSplinter Review
This is the combied patch for Aurora.
Comment on attachment 8520640 [details] [diff] [review]
Patch fro Aurora

Approval Request Comment
[Feature/regressing bug #]: MOZ_DEV_EDITION was introduced in bug 1024110
[User impact if declined]: local and tinderbox builds from the aurora branch will not have the Developer Edition branding and behavior
[Describe test coverage new/current, TBPL]: m-c
[Risks and why]: trivial configuration change
[String/UUID change made/needed]: none
Attachment #8520640 - Flags: approval-mozilla-aurora?
Attachment #8520640 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
(In reply to Mike Hommey [:glandium] from comment #5)
> Actually, after having built an aurora iceweasel, let me retract here. This
> should be test -n "$MOZ_DEV_EDITION", and MOZ_DEV_EDITION should be set in
> browser/branding/aurora/configure.sh.

Why? This makes merge logistics more complicated (additional configure.sh change required on uplift). I don't particularly care to support the "easy building non-devedition from Aurora" use case.
Flags: needinfo?(mh+mozilla)
(In reply to :Gavin Sharp [email: gavin@gavinsharp.com] from comment #15)
> (In reply to Mike Hommey [:glandium] from comment #5)
> > Actually, after having built an aurora iceweasel, let me retract here. This
> > should be test -n "$MOZ_DEV_EDITION", and MOZ_DEV_EDITION should be set in
> > browser/branding/aurora/configure.sh.
> 
> Why? This makes merge logistics more complicated (additional configure.sh
> change required on uplift).

Huh? What changes are required to browser/branding/aurora/configure.sh on uplift?
Flags: needinfo?(mh+mozilla)
Sorry, I was confused and thought we were talking about confvars.sh. Nevermind!
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: