guix-play/guix/scripts
Ludovic Courtès 9b7bd1b160 substitute: Add HTTPS support.
Fixes <http://bugs.gnu.org/22937>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* guix/scripts/substitute.scm (fetch): Add 'https' alongside 'http'.
Use 'open-connection-for-uri' instead of 'open-socket-for-uri'.  Call
'setvbuf' only when PORT matches 'file-port?'.
(http-multiple-get): Likewise.  Change 'base-url' parameter to
'base-uri'.
(fetch-narinfos)[do-fetch]: Add 'https' case alongside 'http'.  Pass URI
instead of URL to 'http-multiple-get'.
* doc/guix.texi (Requirements): Move GnuTLS one level higher and mention
HTTPS substitutes.
(Substitutes): Mention HTTPS and recommend it.  Explain why servers
are not authenticated.  Add "On Trusting Binaries" subsection.
2016-03-10 13:55:30 +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 store: Use the daemon's substitute URLs by default. 2015-10-28 15:31:44 +01:00
substitute.scm substitute: Add HTTPS support. 2016-03-10 13:55:30 +01:00
system.scm guix system: Write the GC root on the target file system. 2016-03-08 11:11:28 +01:00