guix/doc
Ludovic Courtès 00753f7038
publish: Add '--cache' and '--workers'.
Fixes <http://bugs.gnu.org/26201>.
Reported by <dian_cecht@zoho.com>.

These options allow nars to be "baked" off-line and cached instead of
being compressed on the fly.  As a side-effect, this allows us to
provide a 'Content-Length' header for nars.

* guix/scripts/publish.scm (show-help, %options): Add '--cache' and
'--workers'.
(%default-options): Add 'workers'.
(nar-cache-file, narinfo-cache-file, run-single-baker): New procedures.
(single-baker): New macro.
(render-narinfo/cached, bake-narinfo+nar)
(render-nar/cached): New procedures.
(make-request-handler): Add #:cache and #:pool parameters and honor
them.
(run-publish-server): Likewise.
(guix-publish): Honor '--cache' and '--workers'.
* tests/publish.scm ("with cache"): New test.
* doc/guix.texi (Invoking guix publish): Document it.
2017-04-18 23:18:41 +02:00
..
images doc: Update dot graphs. 2016-12-17 14:46:42 +01:00
contributing.texi doc: Update patch submission instructions. 2017-02-13 10:02:54 +01:00
environment-gdb.scm
fdl-1.3.texi
guix.texi publish: Add '--cache' and '--workers'. 2017-04-18 23:18:41 +02:00
htmlxref.cnf Remove Emacs interface. 2016-12-29 23:40:24 +03:00
local.mk build: Remove reference to 'doc/emacs.texi'. 2017-01-12 14:59:36 +01:00
package-hello.scm