Add (guix ssh) module.
authorLudovic Courtès <ludo@gnu.org>
Fri, 30 Dec 2016 22:22:27 +0000 (23:22 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 31 Dec 2016 00:44:04 +0000 (01:44 +0100)
commit987a29ba43cc8a2751eafe392906d240713c724e
tree70ea45295acc64daf0d87a22df51ec617e9a5bf4
parent68415aa4e16f1951fa319cca00c322fa96fee494
Add (guix ssh) module.

* guix/scripts/offload.scm (connect-to-remote-daemon)
(store-import-channel, store-export-channel, send-files)
(retrieve-files): Move to (guix ssh).
(nonce): Add optional 'name' parameter and use it.
(retrieve-files*): New procedure.
(transfer-and-offload): Use it instead of 'retrieve-files', and add
first parameter to 'send-files'.
(assert-node-can-import): Likewise.
(assert-node-can-export): Use 'retrieve-files' instead of
'store-export-channel'.
* guix/ssh.scm: New file.
* configure.ac: Use 'GUIX_CHECK_GUILE_SSH' and define 'HAVE_GUILE_SSH'
Automake conditional.
* Makefile.am (MODULES) [HAVE_GUILE_SSH]: Add guix/ssh.scm.
Makefile.am
configure.ac
guix/scripts/offload.scm
guix/ssh.scm [new file with mode: 0644]