guix-play/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 base32: Use a custom error condition instead of 'misc-error'. 2015-05-31 22:39:48 +02:00
base64.scm
build-system.scm
combinators.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
config.scm.in build: Move 'Makefile' fragments to subdirectories. 2016-04-21 18:47:50 +02:00
cpio.scm linux-initrd: Produce cpio archives with zeroed timestamps, etc. 2015-06-24 18:05:03 +02:00
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 packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
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 elf: Add missing argument in 'elf-segment'. 2015-03-30 15:21:11 +02:00
ftp-client.scm ftp-client: Default port for 'ftp-open' is now "ftp". 2015-11-22 14:35:28 +01:00
gcrypt.scm
gexp.scm derivations: Raise an error when a module file is not found. 2016-03-23 00:23:12 +01:00
git-download.scm download: Disable offloading for downloads. 2015-09-05 22:11:03 +02:00
gnu-maintenance.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
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 http-client: No 'setvbuf' for non-file ports. 2016-03-16 11:27:37 +01:00
licenses.scm licenses: Add the nmap license. 2016-03-31 01:40:30 -04:00
monad-repl.scm monad-repl: Close connection when leaving the monad REPL. 2016-01-13 17:43:21 +01:00
monads.scm monads: Fix 'liftN' fallback case. 2015-09-04 18:31:06 +02:00
nar.scm utils: Move 'fcntl-flock' to (guix build syscalls). 2016-05-06 13:25:30 +02:00
packages.scm packages: Cache the result of 'input-grafts'. 2016-03-08 00:01:13 +01:00
pk-crypto.scm pk-crypto: Improve documentation of 'key-type'. 2015-03-18 14:43:03 +01:00
pki.scm
profiles.scm profiles: Factor out 'manifest-lookup-package'. 2016-05-02 22:06:46 +08:00
records.scm records: Remove unnecessary 'begin'. 2015-06-11 23:33:32 +02:00
scripts.scm emacs: Add 'guix-devel-build-package-source'. 2015-10-12 10:59:31 +03:00
search-paths.scm utils: Have search-path-as-list pattern search for directories. 2015-10-29 17:30:18 -05:00
serialization.scm utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
sets.scm
store.scm store: 'requisites' now takes a list of store items. 2016-05-24 23:35:28 +02:00
svn-download.scm packages: Refer to the native tools when handling sources and downloads. 2015-04-15 10:19:47 +02:00
tests.scm tests: Narinfos can specify an non-empty reference list. 2016-03-05 00:19:10 +01:00
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 guix: utils: Re-export 'memoize'. 2016-05-09 11:41:00 +03:00