Closed Bug 1293745 Opened 8 years ago Closed 6 years ago

Recipe Filtering on OS/version

Categories

(Firefox :: Normandy Client, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1472797

People

(Reporter: Matt_G, Unassigned)

References

Details

We now have a few use cases for research that requires us to target either a specific version of an operating system OR to exclude a specific version of an operating system.

Filters should be:

* OS
* OS Version
I found https://github.com/bestiejs/platform.js, which may provide the info we want. Let's spot-check some possible filter expressions with this library:

> (os|isWindows && os.version > 7)
> (os|isLinux)

I'm thinking we should use filters for checking what the OS is because the library has a few valid OS values for "Windows XP" vs "Windows Server 2008" and so on, and how it has a bunch of different values for Linux. The library isn't so great at specifying what the values of things like version are on different OSes, but we can test and document that ourselves.

How does that API look?
Flags: needinfo?(mgrimes)
Flags: needinfo?(mcooper)
I should've talked with mythmon before posting that comment, I have a better idea that I'm going to work on for a bit. Sorry!
Flags: needinfo?(mgrimes)
Flags: needinfo?(mcooper)
Depends on: 1296028
Depends on: 1302248
Component: General → Add-on
Product: Shield → Firefox
Priority: -- → P2
Oops. I filed another bug (bug 1472797), and added this feature in that instead.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.