4a1fc562ae
* 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. |
||
---|---|---|
.. | ||
build | ||
build-system | ||
import | ||
scripts | ||
base32.scm | ||
base64.scm | ||
build-system.scm | ||
combinators.scm | ||
config.scm.in | ||
cpio.scm | ||
cve.scm | ||
cvs-download.scm | ||
derivations.scm | ||
download.scm | ||
elf.scm | ||
ftp-client.scm | ||
gcrypt.scm | ||
gexp.scm | ||
git-download.scm | ||
gnu-maintenance.scm | ||
gnupg.scm | ||
grafts.scm | ||
graph.scm | ||
hash.scm | ||
hg-download.scm | ||
http-client.scm | ||
licenses.scm | ||
monad-repl.scm | ||
monads.scm | ||
nar.scm | ||
packages.scm | ||
pk-crypto.scm | ||
pki.scm | ||
profiles.scm | ||
records.scm | ||
scripts.scm | ||
search-paths.scm | ||
serialization.scm | ||
sets.scm | ||
store.scm | ||
svn-download.scm | ||
tests.scm | ||
ui.scm | ||
upstream.scm | ||
utils.scm | ||
zlib.scm |