#74 Allow whitelisting/blacklisting based on the advisory security_impact.
Merged by jkaluza. Opened by jkaluza.
jkaluza/freshmaker errata-filters  into  master

Download 74.patch

Stano told me David Kranz told him we should rebuild only advisories with certain security_impact level at the beginning. This makes it possible.

A suggestion to simplify this piece of code by using any.

if not isinstance(value_rule, list):
    value_rule = [value_rule]
if not any((re.compile(r).match(value) for r in value_rule)):
    return False

rebased

DId what cqi suggested. Will merge once the tests pass.

Pull-Request has been merged by jkaluza

Metadata