guix-devel/guix/scripts
Ludovic Courtès 026ca50fa4 substitute: Keep the initial connection alive.
The connection used to fetch /nix-cache-info is now reused for the
subsequent narinfo requests.

* guix/scripts/substitute.scm (download-cache-info)[download]: Remove.
[uri, read-cache-info]: New variables.
Rewrite in terms of 'http-fetch' instead of 'fetch'.  Return an open
port in addition to a <cache-info>.
* guix/scripts/substitute.scm (http-multiple-get): Add #:port parameter
and honor it.
(fetch-narinfos)[do-fetch]: Add 'port' parameter.
Adjust to new 'download-cache-info' and 'do-fetch' signatures.
2016-03-14 23:34:33 +01:00
..
container scripts: container: Fix 'exec' command line parsing. 2015-11-03 18:05:43 -05:00
import utils: Use '@' for separating package names and version numbers. 2016-03-02 21:41:41 +01:00
archive.scm guix build: Move '--no-grafts' to the common build options. 2016-03-02 14:47:07 +01:00
authenticate.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
build.scm guix build: Add '--quiet'. 2016-03-08 22:00:17 +01:00
challenge.scm substitute: 'lookup-narinfos' returns exactly a list of narinfos. 2015-10-28 12:04:03 +01:00
container.scm scripts: Add 'container' subcommand. 2015-11-01 18:20:04 -05:00
download.scm guix download: Fail when more than one URL is passed. 2015-11-23 17:48:35 +01:00
edit.scm edit: Don't assume that an emacs daemon is running. 2015-12-06 17:23:25 +01:00
environment.scm guix build: Move '--no-grafts' to the common build options. 2016-03-02 14:47:07 +01:00
gc.scm guix gc: Error out when extra arguments are passed. 2015-11-11 23:29:20 +01:00
graph.scm graph: Ignore 'GUIX_BUILD_OPTIONS'. 2016-03-02 14:47:07 +01:00
hash.scm Add (guix scripts). 2015-09-18 21:42:06 +03:00
import.scm import: Add 'cran' importer. 2015-08-31 15:39:34 +02:00
lint.scm lint: cve: Gracefully handle HTTP errors. 2016-03-04 11:48:52 +01:00
offload.scm offload: Use gzip instead of xz for compression on the master. 2015-09-25 22:35:35 +02:00
package.scm guix build: Move '--no-grafts' to the common build options. 2016-03-02 14:47:07 +01:00
publish.scm store: 'path-info-deriver' is #f when there is no deriver. 2016-02-26 23:35:29 +01:00
pull.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00
refresh.scm import: Add github-updater. 2016-02-26 22:06:34 -05:00
size.scm size: Disable grafts. 2016-03-14 23:34:33 +01:00
substitute.scm substitute: Keep the initial connection alive. 2016-03-14 23:34:33 +01:00
system.scm guix system: Write the GC root on the target file system. 2016-03-08 11:11:28 +01:00