support/scripts: make CVE class independent of the Packaage class
authorGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 24 Jul 2020 15:43:52 +0000 (17:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 28 Aug 2020 09:00:40 +0000 (11:00 +0200)
commit2a2f69d672f51f96eef377139c9e77001ae4a0e9
treef3fb59251884162202d5cf52325828cf37585537
parentb9c9f23f9a063c3a19ae52677242845bf8799da9
support/scripts: make CVE class independent of the Packaage class

The affects method of the CVE uses the Package class defined in
pkg-stats. The purpose of migrating the CVE class outside of pkg-stats
was to be able to reuse it from other scripts. So let's remove the
Package dependency and only use the needed information.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
support/scripts/cve.py
support/scripts/pkg-stats