summary refs log tree commit diff
path: root/tests/gremlin.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-01-03 21:14:54 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-03 21:49:46 +0100
commite43958af2764d56de4cd883134a6889b9b61a8f2 (patch)
tree498c5e5a9a5db4c9e34ba05e0df37f8801ced2b1 /tests/gremlin.scm
parentf44a1e0b528bc22ce0b861136efcee808c9783a6 (diff)
downloadguix-wip-digests.tar.gz
DRAFT substitute: Fetch digests and restore store items from digests. wip-digests
DRAFT: Tests missing, compression support missing.

* guix/scripts/substitute.scm (digest-cache-file, cache-digest!)
(digest-request, lookup-digest): New procedures.
(fetch-narinfos)[%not-slash]: New variable.
[handle-digest-response, handle-response]: New procedures.
[do-fetch]: Append digest requests to narinfo requests.  Pass
'handle-response' to 'http-multiple-get' instead of
'handle-narinfo-response'.
(process-substitution): Rename to...
(process-substitution/nar): ... this.  Make 'narinfo' a parameter.
(http-fetch-files, nar-hash)
(process-substitution, process-substitution/digest): New procedures.
(guix-substitute): Pass #:delete-entry to 'maybe-remove-expired-cache-entries'.
* guix/digests.scm (sexp->digest): New procedure.
Diffstat (limited to 'tests/gremlin.scm')
0 files changed, 0 insertions, 0 deletions