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)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 7 Mar 2020 14:58:41 +0000 (15:58 +0100)
commit1097c0427d3b3f2838d14ee9661226bafc610572
treec1b8c712b16affb762a4ac2e9bc7c657728d3f83
parent5fe6b7829904a0aec596e390093d611a7f4d05ab
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