Closed Bug 299004 Opened 20 years ago Closed 19 years ago

MOZ_MILESTONE_RELEASE should be a configure flag and should be used for final releases.

Categories

(Firefox Build System :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX
mozilla1.8beta3

People

(Reporter: benjamin, Assigned: benjamin)

Details

(Whiteboard: [no l10n impact] needs testing at 1.8b4 release cycle)

Attachments

(1 file)

Currently, there is a hidden variable MOZ_MILESTONE_RELEASE which makes the GRE
buildid "1.7.3" instead of "1.7.3_1234567890". Right now you have to set it in
the environment, which sucks, and we haven't used it for any mozilla 1.7.x
release. It should become a first-class configure flag and should be used for
final release builds.
"should be used for final releases"?  I presume you are not advocating
reconfiguring every build system per-release number bump?
I don't know what you mean by that: What I mean is that nightly builds should be
configured without --enable-milestone-buildid but when we spin the final builds
they should be configured with --enable-milestone-buildid. I'm not sure what I
think about release candidate builds. We definitely don't want to have non-final
GREs floating around in the wild with "final" buildids.
(In reply to comment #2)
> I don't know what you mean by that: What I mean is that nightly builds should
> be configured without --enable-milestone-buildid but when we spin the final 
> builds they should be configured with --enable-milestone-buildid.

I mean it's still questionable that this will be used for final releases -- the
cost of managing these changes over time isn't 0.  Perhaps start by addressing
what new need there is for such a change?
It's not a "new" need, this variable was introduced in mozilla1.3 so that
embedders could find the GRE by version number ("1.8" or "1.8.1"). The
<version>_<buildid> hack was added so that nightly builds don't conflict with
releases (installing a nightly build won't hose your regular milestone release).

We absolutely have to make some distinction between nightlies and final releases
for embedders; how we feed the build system this distinction is up to you,
although I greatly prefer a configure flag to an environment variable.
Flags: blocking1.8b4+
Priority: -- → P1
Target Milestone: --- → mozilla1.8beta3
Whiteboard: [no l10n impact] needs testing at 1.8b4 release cycle
Attachment #190439 - Flags: review?(chase)
when we decided on the solution, we can evaluate taking this but we're not going
to block the release of Firefox beta on this. 
Flags: blocking1.8b4+ → blocking1.8b4-
Comment on attachment 190439 [details] [diff] [review]
Add --enable-milestone-release

Clearing my request queue.  Let's discuss the process implications before we
review patches for implementing it.
Attachment #190439 - Flags: review?(chase) → review-
Apologies for the upcoming bug spam.  I'm going to attempt to narrow down an
infamously hard to reproduce focus issue.
Attachment #190439 - Flags: review- → review?(chase)
Comment on attachment 190439 [details] [diff] [review]
Add --enable-milestone-release

Changing this bug back to normal.  Again, sorry for the spam.
Attachment #190439 - Flags: review?(chase) → review-
No longer blocks: xulrunner-1.8
This got hacked after a fashion in bug 324690 and I'll file another bug to use a textfile for the buildid in the 1.9 timeframe.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: