David Thompson skribis: > From 7200a8ca892308a03a92e737b493244154bab358 Mon Sep 17 00:00:00 2001 > From: David Thompson > Date: Tue, 17 Mar 2015 10:21:31 -0400 > Subject: [PATCH 2/2] scripts: Add 'publish' command. > > * guix/scripts/publish.scm: New file. > * Makefile.am (MODULES): Add it. > * doc/guix.texi ("Invoking guix publish"): New node. Yaaay! > +@node Invoking guix publish > +@section Invoking @command{guix publish} > + > +The purpose of @command{guix publish} is to expose a Hydra-compatible > +HTTP API for sharing substitutes from the local store. s/API/interface/ maybe I think we should first describe the functionality (what it means to share the store over HTTP), and only then mention Hydra-compatibility (which is not something users really care about.) There should be a word about signing, with an xref to ‘guix archive’ I think. Perhaps later we could add an option to choose the signing key. > +@example > +guix-daemon --substitute-urls=example.org:8080 It should have “http://”. Eventually™ it will be possible to specify substitute URLs from the client; whether to actually use them with still be decided based on the keys the sysadmin authorized. Preliminary patch that adds ‘--substitute-urls’ to ‘guix build’ et al.: