diff options
author | Christopher Baines <mail@cbaines.net> | 2020-03-15 20:54:50 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-03-15 21:00:11 +0000 |
commit | 65dbc25a7a166e56e18e924f88a29fbad9d5e74c (patch) | |
tree | e908dbeb11c236d36115d3e8be7391f28f11fb97 /.mailmap | |
parent | c423cf872c88b012edb47db84f6b7e43d22dc3e5 (diff) | |
download | guix-speed-up-the-derivations-linter-attempt-2.tar guix-speed-up-the-derivations-linter-attempt-2.tar.gz |
scripts: lint: Handle store connections for lint checkers.speed-up-the-derivations-linter-attempt-2
Rather than individual checkers opening up a connection to the store for each
package to check, if any checker requires a store connection, open a
connection and pass it to all checkers that would use it. This makes running
the derivation checker much faster for multiple packages.
* guix/scripts/lint.scm (run-checkers): Add a #:store argument, and pass the
store to checkers if they require a store connection.
(guix-lint): Establish a store connection if any checker requires one, and
pass it through to run-checkers.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions