Closed Bug 1719852 Opened 3 years ago Closed 3 years ago

bug 1712633 enabled MOZ_REQUIRE_SIGNING for esr

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr78 unaffected, firefox90 wontfix, firefox91+ fixed, firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox90 --- wontfix
firefox91 + fixed
firefox92 --- fixed

People

(Reporter: jcristau, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

This is from code inspection rather than looking at an actual build, but it seems to me the changes in 1712633 mean the next esr will have MOZ_REQUIRE_SIGNING enabled (it matches is_release_or_beta, and no longer disables the signing requirement in mozconfig).

Flags: needinfo?(mh+mozilla)
Assignee: nobody → mh+mozilla
Flags: needinfo?(mh+mozilla)

It was enabled in bug 1712633 by mistake.

Because there wasn't a way to distinguish esr yet, we add one, and while
at it, expose it to the build system.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/248b19f1b5e6
Remove leftovers from bug 1712633. r=jcristau
https://hg.mozilla.org/integration/autoland/rev/f087d46c2b86
Disable MOZ_REQUIRE_SIGNING on esr. r=jcristau,firefox-build-system-reviewers,mhentges
https://hg.mozilla.org/integration/autoland/rev/e5224e804fa8
Derive addon sideload default from milestone rather than update channel. r=firefox-build-system-reviewers,mhentges

Should we add an AppConstants for this as well?

https://searchfox.org/mozilla-central/source/toolkit/modules/AppConstants.jsm#26

Should I open a separate bug?

(In reply to Mike Kaply [:mkaply] from comment #5)

Should we add an AppConstants for this as well?

https://searchfox.org/mozilla-central/source/toolkit/modules/AppConstants.jsm#26

Should I open a separate bug?

Sure, please do.

Comment on attachment 9230817 [details]
Bug 1719852 - Remove leftovers from bug 1712633.

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: The bug affects esr specifically.
  • User impact if declined: Firefox requires addons to be signed, which is not expected on esr.
  • Fix Landed on Version: 92
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): build change only.
  • String or UUID changes made by this patch:
Attachment #9230817 - Flags: approval-mozilla-esr91?
Attachment #9230818 - Flags: approval-mozilla-esr91?
Attachment #9230819 - Flags: approval-mozilla-esr91?

Should this land on beta too for consistency?

I think if you put it on beta it will go in ESR91. I don't think we have a 91 ESR branch yet.

So it should just go in beta.

but yes, It should go in both 91s.

Blocks: 1720389

Comment on attachment 9230817 [details]
Bug 1719852 - Remove leftovers from bug 1712633.

What Mike said, it'll get into esr91 by way of beta.

Attachment #9230817 - Flags: approval-mozilla-esr91? → approval-mozilla-beta?
Attachment #9230818 - Flags: approval-mozilla-esr91? → approval-mozilla-beta?
Attachment #9230819 - Flags: approval-mozilla-esr91? → approval-mozilla-beta?

Comment on attachment 9230817 [details]
Bug 1719852 - Remove leftovers from bug 1712633.

Approved for 91 beta 3, thanks.

Attachment #9230817 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9230818 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9230819 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Mike, as far as I can tell, ESR is now always defined, either empty or 1. Would it make sense to do something like the below so that when we're not on ESR the macro is undefined instead, for consistency with the other similar macros NIGHTLY_BUILD and RELEASE_OR_BETA?

-        is_esr=app_version_display.endswith("esr"),
+        is_esr=app_version_display.endswith("esr") or None,
Flags: needinfo?(mh+mozilla)

Sure.

Flags: needinfo?(mh+mozilla)

I'll fix this in 1720389

Regressions: 1721373
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: