support/scripts/pkg-stats: properly ignore CVEs in <pkg>_IGNORE_CVES
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 18 Feb 2020 23:35:26 +0000 (00:35 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 19 Feb 2020 07:22:09 +0000 (08:22 +0100)
commit60f2de1f12a7e87dd8b9daff2aa4efd53d26165b
treeee9bceb5ea34da544b912c8460a41fca4a6c713d
parent40c83693cdb1261de2b65ffad642c8be18298071
support/scripts/pkg-stats: properly ignore CVEs in <pkg>_IGNORE_CVES

It seems like throughout the series that the CVE pkg-stats support
went through, the support for ignoring CVEs in the per-package
<pkg>_IGNORE_CVES variable was forgotten.

Let's re-introduce this, which is now very simple thanks to the CVE
class, its .identifier() propertly and the .is_cve_ignored() method of
the Package class

Cc: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/scripts/pkg-stats