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. |
||
---|---|---|
.. | ||
base32.scm | ||
base64.scm | ||
bournish.scm | ||
build-utils.scm | ||
builders.scm | ||
challenge.scm | ||
combinators.scm | ||
containers.scm | ||
cpan.scm | ||
cpio.scm | ||
cran.scm | ||
cve-sample.xml | ||
cve.scm | ||
derivations.scm | ||
elpa.scm | ||
file-systems.scm | ||
gem.scm | ||
gexp.scm | ||
gnu-maintenance.scm | ||
grafts.scm | ||
graph.scm | ||
gremlin.scm | ||
guix-archive.sh | ||
guix-authenticate.sh | ||
guix-build.sh | ||
guix-daemon.sh | ||
guix-download.sh | ||
guix-environment-container.sh | ||
guix-environment.sh | ||
guix-gc.sh | ||
guix-graph.sh | ||
guix-hash.sh | ||
guix-lint.sh | ||
guix-package-net.sh | ||
guix-package.sh | ||
guix-register.sh | ||
guix-system.sh | ||
hackage.scm | ||
hash.scm | ||
import-utils.scm | ||
lint.scm | ||
monads.scm | ||
nar.scm | ||
packages.scm | ||
pk-crypto.scm | ||
pki.scm | ||
profiles.scm | ||
publish.scm | ||
pypi.scm | ||
records.scm | ||
scripts-build.scm | ||
scripts.scm | ||
services.scm | ||
sets.scm | ||
signing-key.pub | ||
signing-key.sec | ||
size.scm | ||
snix.scm | ||
store.scm | ||
substitute.scm | ||
syscalls.scm | ||
system.scm | ||
test.drv | ||
ui.scm | ||
union.scm | ||
upstream.scm | ||
utils.scm | ||
zlib.scm |