Open Bug 1620834 Opened 6 years ago Updated 3 years ago

provide check if application is an ESR build and not a normal release build

Categories

(Firefox Build System :: General, task)

task

Tracking

(Not tracked)

People

(Reporter: aryx, Unassigned)

Details

(Keywords: in-triage)

From a discussion on Friday:

There are some ESR-specific settings and behaviors but boolean indicating if the application is an ESR built or not.

We don't have something like RELEASE_OR_BETA for ESR, but MOZ_UPDATE_CHANNEL is the wrong thing to use.

It looks like the search service uses AppConstants.MOZ_APP_VERSION_DISPLAY.endsWith("esr")
yeah, that's better albeit not really ideal

Keywords: in-triage

Is the ask that we basically want a new config variable (e.g. MOZ_IS_ESR) which is equal to MOZ_APP_VERSION_DISPLAY.endsWith("esr")?

Also, are you planning on working on this, or is this a feature request for the build system?

Flags: needinfo?(aryx.bugmail)

It's a feature request.

From the discussion:

  • "We don't have something like RELEASE_OR_BETA for ESR, but MOZ_UPDATE_CHANNEL is the wrong thing to use. Please file a build system bug"
  • "It looks like the search service uses AppConstants.MOZ_APP_VERSION_DISPLAY.endsWith("esr")" - "yeah, that's better albeit not really ideal"

MOZ_ESR would be more in line with the other defines.

Flags: needinfo?(aryx.bugmail)

For reference, one of the persons in the discussions mentioned in comment 0 and comment 2 is me.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.