guix-devel/guix
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
..
build download: Default to a 10s connection establishment timeout. 2016-05-27 10:37:11 +02:00
build-system build-system/emacs: Use 'emacs-minimal' by default. 2016-05-24 11:32:27 +03:00
import import: Gracefully report import failures. 2016-05-17 14:02:48 +02:00
scripts guix package: Inherit the transformed version number. 2016-05-27 22:05:34 +02:00
base32.scm
base64.scm
build-system.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm cve: Use a more compact format for the list of package/versions. 2016-05-28 01:07:12 +02:00
cvs-download.scm
derivations.scm derivations: 'derivation' sorts items in the resulting object. 2016-05-21 01:35:14 +02:00
download.scm download: Update debian mirrors. 2016-05-16 12:10:49 +03:00
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm
git-download.scm
gnu-maintenance.scm
gnupg.scm
grafts.scm grafts: Create only one grafted variant of each derivation. 2016-05-25 23:33:56 +02:00
graph.scm graph: Add 'node-reachable-count'. 2016-05-24 00:06:01 +02:00
hash.scm
http-client.scm
licenses.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm
pk-crypto.scm
pki.scm
profiles.scm
records.scm
scripts.scm
search-paths.scm
serialization.scm
sets.scm
store.scm store: 'requisites' now takes a list of store items. 2016-05-24 23:35:28 +02:00
svn-download.scm
tests.scm
ui.scm ui: Let users report translation bugs. 2016-05-24 12:58:40 +02:00
upstream.scm import: Gracefully report import failures. 2016-05-17 14:02:48 +02:00
utils.scm