expose OSPrettyVersionRule. _get_windows_versions() query as an api service

NEW
Unassigned

Status

Socorro
Webapp
8 months ago
8 months ago

People

(Reporter: lonnen, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 months ago
Expose the OSPrettyVersionRule. _get_windows_versions function as an API endpoint.

    def _get_windows_versions(self):
       ...
       return [[windows_version_name, major_version, minor_version],...]

This function grabs all the windows versions in the windows_versions table. It is used to build a lookup table used in one place -- _get_pretty_os_version.


This or an equivalent may already exist.
You need to log in before you can comment on or make changes to this bug.