Closed Bug 1606937 Opened 5 years ago Closed 5 years ago

Add a FENNEC_BETA define for Fennec Beta builds

Categories

(Firefox for Android Graveyard :: General, enhancement, P1)

enhancement

Tracking

(firefox-esr68 verified)

VERIFIED FIXED
Tracking Status
firefox-esr68 --- verified

People

(Reporter: st3fan, Assigned: petru)

References

Details

(Whiteboard: [fennec68.4.2])

Attachments

(2 files)

This bug is similar to bug 1547710 - we need a FENNEC_BETA define for Fennec Beta builds.

This is a dependency for bug 1601729 (Leanplum Open URL deeplink is unpredictable when multiple versions of Firefox are installed) - which is critical and highly urgent for our Fennec to Fenix migration.

Bug 1547710 has a pretty straightforward patch - I hope we can do the same for this new define.

Severity: normal → critical
Priority: -- → P1

This should be pretty straightforward using bug 1547710 as a starting point. However, Johan did refactor things a bit in bug 1562632 to simplify our mozconfig usage. Those changes will need to be taken into account when working on this bug.

Basically, instead of setting |export FENNEC_BETA=1| in all the relevant mozconfigs like the original patch did with FENNEC_NIGHTLY, you'll want to be setting it in the env section in android.yml for the appropriate Beta builds as shown in the push below:
https://hg.mozilla.org/releases/mozilla-esr68/rev/a9ec5cfb029f#l31.12

Beyond that, I don't see any particular gotchas lurking.

Assignee: nobody → petru.lingurar
Status: NEW → ASSIGNED
Depends on: 1547710, 1562632

No more beta mozconfigs means we just need to make sure taskcluster knows to
add the right environment variable for beta builds,
And the Python configure also knows to handle this new variable.

Currently unused but might be useful in the future.
Also helps to inform Fennec devs about the existence of this new env var.

Depends on D58959

Comment on attachment 9119123 [details]
Bug 1606937 - Add FENNEC_BETA define for local/CI beta builds; r?RyanVM,jlorenzo

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: Patches needed for a high priority ticket - bug 1601729
  • User impact if declined:
  • Fix Landed on Version:
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Small change.
  • String or UUID changes made by this patch:
Attachment #9119123 - Flags: approval-mozilla-esr68?
Attachment #9119127 - Flags: approval-mozilla-esr68?

Comment on attachment 9119123 [details]
Bug 1606937 - Add FENNEC_BETA define for local/CI beta builds; r?RyanVM,jlorenzo

Makes it possible to target code to Fennec Beta builds similar to what we have for Nightly. Approved for 68.5b3.

Attachment #9119123 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68+
Attachment #9119127 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68+
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Because the QA team asked about, in order to test this, one can look in the config.status file
of a beta try build containing this patches and verify if it contains the new FENNEC_BETA define.
A nightly try build would not contain this.
My try nightly / beta try builds containing this patches - https://treeherder.mozilla.org/#/jobs?repo=try&revision=a925274c504b3cc6e4d17ed861700855a64f2b94

This patches though would indirectly be tested when testing bug 1601729.

Flags: qe-verify+
Whiteboard: [fennec68.4.x]
Whiteboard: [fennec68.4.x] → [fennec68.4.2]
QA Whiteboard: [qa-triaged]

I have downloaded the config.status from the try build provided at comment 8 and can confirm that "FENNEC_BETA=1" is present in the file

Hi, checked the config.status file and confirm that "FENNEC_BETA=1" is present in the file mentioned in comment9:

  • Fennec 68.5b4 build 2
  • Fennec 68.5b5 build 1
  • Fennec 68.5b6 build 1
  • Fennec 68.6b1 build 2
    I will mark the ticket as verified.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: