Ludovic Courtès 870bf71eb0
cve: Use a more compact format for the list of package/versions.
On a warm cache, "guix lint -c cve vorbis-tools" goes down
from 6.5s to 2.4s.

* guix/cve.scm (cpe->package-name): Change to return two values instead
of a pair.
(cpe->product-alist): New procedure.
(%parse-vulnerability-feed): Use it instead of 'filter-map'.
(fetch-vulnerabilities): Bump sexp format version to 1.
(vulnerabilities->lookup-proc): Adjust accordingly.  When #:version is
omitted, return a list of vulnerabilities instead of a list of
version/vulnerability pairs.
* tests/cve.scm (%expected-vulnerabilities)
("vulnerabilities->lookup-proc): Adjust accordingly.
2016-05-28 01:07:12 +02:00
..
2016-05-16 12:10:49 +03:00
2015-01-26 21:58:12 +01:00
2016-05-24 00:06:01 +02:00
2016-03-31 01:40:30 -04:00
2015-09-04 18:31:06 +02:00
2015-01-11 23:50:01 +01:00
2016-05-24 12:58:40 +02:00
2016-05-09 11:41:00 +03:00