guix-devel/guix/scripts
Ludovic Courtès 4a1fc562ae
publish: Add '--compression'.
* guix/scripts/publish.scm (show-help, %options): Add '--compression'.
(<compression>): New record type.
(%no-compression, %default-gzip-compression): New variables.
(%default-options): Add 'compression' key.
(narinfo-string): Add #:compression parameter and honor it.
(render-narinfo): Likewise.
(render-nar): Likewise.
<top level>: Add call to 'declare-header!'.
(swallow-zlib-error): New macro.
(nar-response-port): New procedure.
(http-write): Add call to 'force-output'.  Use 'nar-response-port'
instead of 'response-port'.  Use 'swallow-zlib-error'.
(make-request-handler): Add #:compression parameter and honor it.  Add
"nar/gzip" URL handler.
(run-publish-server): Add #:compression parameter and honor it.
(guix-publish): Honor --compression.
* tests/publish.scm (http-get-port, wait-until-ready): New procedures.
<top level>: Run main server with "-C0".  Call 'wait-until-ready'.
("/nar/gzip/*", "/*.narinfo with compression"): New tests.
* doc/guix.texi (Invoking guix publish): Document it.
2016-07-19 00:07:12 +02: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 utils: Move combinators to (guix combinators). 2016-05-04 23:35:55 +02:00
authenticate.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
build.scm guix build: Catch 'getaddrinfo-error' for '--log-file'. 2016-05-14 16:56:21 +02:00
challenge.scm challenge: Disable grafting. 2016-07-14 19:07:07 +02:00
container.scm scripts: Add 'container' subcommand. 2015-11-01 18:20:04 -05:00
download.scm guix download: Honor the number of columns of the terminal. 2016-04-15 00:32:18 +02:00
edit.scm edit: Don't assume that an emacs daemon is running. 2015-12-06 17:23:25 +01:00
environment.scm store: 'requisites' now takes a list of store items. 2016-05-24 23:35:28 +02:00
gc.scm guix gc: Display of saved space for garbage collection. 2016-07-16 14:41:39 +02:00
graph.scm graph: Allow store file names for 'derivation' and 'references' graphs. 2016-05-21 01:35:14 +02:00
hash.scm Add (guix scripts). 2015-09-18 21:42:06 +03:00
import.scm import: Gracefully report import failures. 2016-05-17 14:02:48 +02:00
lint.scm lint: 'validate-uri' reports suspiciously small 200 responses. 2016-07-13 00:50:05 +02:00
offload.scm offload: Use (guix build syscalls). 2016-05-31 18:22:14 +02:00
package.scm guix package: Inherit the transformed version number. 2016-05-27 22:05:34 +02:00
publish.scm publish: Add '--compression'. 2016-07-19 00:07:12 +02:00
pull.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00
refresh.scm refresh: Make 'list-dependents' a monadic procedure. 2016-05-24 00:06:01 +02:00
size.scm size: Pass 'requisites' a list of items. 2016-05-24 23:41:30 +02:00
substitute.scm substitute: Gracefully handle trailing slashes in URLs. 2016-07-14 19:07:07 +02:00
system.scm gexp: Remove more uses of #:modules. 2016-07-12 22:47:08 +02:00