guix/doc
Ludovic Courtès ed7b44370f
offload: Use (guix inferior) instead of (ssh dist node).
Using inferiors and thus 'guix repl' simplifies setup on build
machines (no need to worry about GUILE_LOAD_PATH etc.)

Furthermore, the 'guix repl -t machine' protocol running in a remote
pipe addresses several issues with the current implementation of nodes
and RREPLs in Guile-SSH: fewer round trips, doesn't leave a 'guile
--listen' process behind it, stateless (since a new process is started
each time), more efficient (the SSH channel can be reused), more
reliable (no 'pgrep', 'pkill', and shellology; see
<https://github.com/artyom-poptsov/guile-ssh/issues/11> as an example.)

* guix/ssh.scm (inferior-remote-eval): New procedure.
(send-files): Use it instead of 'make-node' and 'node-eval'.
* guix/scripts/offload.scm (node-guile-version): New procedure.
(node-free-disk-space, transfer-and-offload, node-load)
(choose-build-machine, assert-node-has-guix): Use 'remote-inferior'
instead of 'make-node' and 'inferior-eval' instead of 'node-eval'.
(assert-node-can-import, assert-node-can-export): Likewise, and add
'session' parameter.
(check-machine-availability): Likewise, and add calls to
'close-inferior' and 'disconnect!'.
(check-machine-status): Likewise.
* doc/guix.texi (Daemon Offload Setup): Remove bit related to 'guile' in
$PATH and $GUILE_LOAD_PATH; mention 'guix' alone.
2018-12-24 16:06:32 +01:00
..
images doc: Update dot graphs. 2016-12-17 14:46:42 +01:00
contributing.de.texi nls: Update 'de' translation of the manual. 2018-12-02 23:08:47 +01:00
contributing.fr.texi nls: Update 'fr' translation. 2018-12-02 14:31:20 +01:00
contributing.texi doc: Replace @command by @code for packages 2018-12-15 19:21:08 +01:00
environment-gdb.scm doc: Add 'guix environment' examples. 2015-06-29 23:08:36 +02:00
fdl-1.3.texi
guix.de.texi nls: Update 'de' translation of the manual. 2018-12-02 23:08:47 +01:00
guix.fr.texi nls: Update 'fr' translation. 2018-12-02 14:31:20 +01:00
guix.texi offload: Use (guix inferior) instead of (ssh dist node). 2018-12-24 16:06:32 +01:00
htmlxref.cnf doc: Update URL of the Emacs-Guix manual. 2018-07-05 22:16:10 +02:00
local.mk doc: Add German translation. 2018-11-01 12:36:47 +01:00
package-hello.scm doc: Use the recommended Scheme format. 2015-09-14 23:10:58 +02:00