need a feature flag 'default' scope

Bug #650903 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Invalid
High
Martin Pool

Bug Description

At the moment if you don't register a default scope controller, no scopes are on, therefore no flags can ever match. This is causing an unfortunate proliferation of people defining match-everything scope controllers.

We should make "default" always match, and clean up existing code to use it. Perhaps rather this should be done as part as having a registry pattern for scope controllers, with "default" always registered.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 650903] [NEW] need a feature flag 'default' scope

I think having a default scope would be useful, however the
profileration is 2 call sites, both of which I filed bugs on, and both
of which will be gone in a few days.

-Rob

Gary Poster (gary)
Changed in launchpad-foundations:
status: Confirmed → Triaged
Revision history for this message
Robert Collins (lifeless) wrote :

the webapp scope provider already had 'default' when this was filed.

Changed in launchpad-foundations:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.