<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/ssh.scm, branch merge-deploy</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=merge-deploy</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=merge-deploy'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2019-07-31T14:32:52Z</updated>
<entry>
<title>remote: Build derivations appropriate for the remote's architecture.</title>
<updated>2019-07-31T14:32:52Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-07-31T13:17:10Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=5bbac24698d47fffd56d1299b3a54da5de95c100'/>
<id>urn:sha1:5bbac24698d47fffd56d1299b3a54da5de95c100</id>
<content type='text'>
* guix/ssh.scm (remote-system): New variable.
* guix/remote.scm (remote-eval): Use result of 'remote-system' when
lowering the G-Expression.
(trampoline): Return a &lt;program-file&gt; rather than a &lt;scheme-file&gt;.
</content>
</entry>
<entry>
<title>ssh: Add 'identity' keyword to 'open-ssh-session'.</title>
<updated>2019-07-06T06:09:58Z</updated>
<author>
<name>Jakob L. Kreuze</name>
<email>zerodaysfordays@sdf.lonestar.org</email>
</author>
<published>2019-07-05T18:54:32Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=a9b09ed7764762f93c1a8b7c96769b9da72dc8c4'/>
<id>urn:sha1:a9b09ed7764762f93c1a8b7c96769b9da72dc8c4</id>
<content type='text'>
* guix/ssh.scm (open-ssh-session): Add 'identity' keyword argument.
</content>
</entry>
<entry>
<title>ssh: Add missing import.</title>
<updated>2019-06-10T20:42:52Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-10T20:12:28Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=416a7c69f1d788670f0c4a7ffaed3e032eadc91d'/>
<id>urn:sha1:416a7c69f1d788670f0c4a7ffaed3e032eadc91d</id>
<content type='text'>
* guix/ssh.scm: Use (ice-9 format).
</content>
</entry>
<entry>
<title>store: Rename '&amp;nix-error' to '&amp;store-error'.</title>
<updated>2019-01-21T22:09:55Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-21T16:41:11Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=f9e8a12379c6fefc9e5c3c7fc3926599bbefc013'/>
<id>urn:sha1:f9e8a12379c6fefc9e5c3c7fc3926599bbefc013</id>
<content type='text'>
* guix/store.scm (&amp;nix-error): Rename to...
(&amp;store-error): ... this, and adjust users.
(&amp;nix-connection-error): Rename to...
(&amp;store-connection-error): ... this, and adjust users.
(&amp;nix-protocol-error): Rename to...
(&amp;store-protocol-error): ... this, adjust users.
(&amp;nix-error, &amp;nix-connection-error, &amp;nix-protocol-error): Define these
condition types and their getters as deprecrated aliases.
* build-aux/run-system-tests.scm, guix/derivations.scm,
guix/grafts.scm, guix/scripts/challenge.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/offload.scm, guix/serialization.scm,
guix/ssh.scm, guix/tests.scm, guix/ui.scm,
tests/derivations.scm, tests/gexp.scm, tests/guix-daemon.sh,
tests/packages.scm, tests/store.scm, doc/guix.texi: Adjust to use the
new names.
</content>
</entry>
<entry>
<title>store: Rename &lt;nix-server&gt; to &lt;store-connection&gt;.</title>
<updated>2019-01-21T22:09:55Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-21T14:32:35Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=de9fbe9cdcf5f8deb08becfc54b523084fd67bda'/>
<id>urn:sha1:de9fbe9cdcf5f8deb08becfc54b523084fd67bda</id>
<content type='text'>
* guix/store.scm (&lt;nix-server&gt;): Rename to...
(&lt;store-connection&gt;): ... this.  Adjust users accordingly.
(nix-server?, nix-server-major-version)
(nix-server-minor-version, nix-server-socket)
(nix-server-version): Define as deprecated aliases.
* guix/inferior.scm: Adjust accordingly.
* guix/ssh.scm: Likewise.
</content>
</entry>
<entry>
<title>Remove most uses of the _IO*F constants.</title>
<updated>2019-01-09T13:47:53Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-01-07T09:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=76832d3420594c8b5feaf7682b84b5481a49a076'/>
<id>urn:sha1:76832d3420594c8b5feaf7682b84b5481a49a076</id>
<content type='text'>
These constants, for use with 'setvbuf', were deprecated in Guile 2.2
and disappeared in Guile 3.0.  Here we keep these constants in
build-side code where removing them is not feasible.

* guix/build/download-nar.scm (download-nar): Adjust 'setvbuf' calls to
the Guile 2.2+ API.
* guix/build/download.scm (open-socket-for-uri): Likewise.
(open-connection-for-uri, url-fetch): Likewise.
* guix/build/make-bootstrap.scm (make-stripped-libc): Likewise.
* guix/build/union.scm (setvbuf) [guile-2.0]: New conditional wrapper.
(union-build): Adjust to new API.
* guix/ftp-client.scm (ftp-open, ftp-list, ftp-retr): Likewise.
* guix/http-client.scm (http-fetch): Likewise.
* guix/inferior.scm (proxy): Likewise.
* guix/scripts/substitute.scm (fetch, http-multiple-get): Likewise.
* guix/self.scm (compiled-modules): Likewise.
* guix/ssh.scm (remote-daemon-channel, store-import-channel)
(store-export-channel): Likewise.
* guix/ui.scm (initialize-guix): Likewise.
* tests/publish.scm (http-get-port): Likewise.
* guix/store.scm (%newlines): Adjust comment.
</content>
</entry>
<entry>
<title>offload: Use (guix inferior) instead of (ssh dist node).</title>
<updated>2018-12-24T15:06:32Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-12-24T14:40:04Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=ed7b44370f71126087eb953f36aad8dc4c44109f'/>
<id>urn:sha1:ed7b44370f71126087eb953f36aad8dc4c44109f</id>
<content type='text'>
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
&lt;https://github.com/artyom-poptsov/guile-ssh/issues/11&gt; 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.
</content>
</entry>
<entry>
<title>ssh: Add 'remote-inferior'.</title>
<updated>2018-12-24T15:06:32Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-12-23T23:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=af15fe13b69d27f9902353540fd8ad0001ce8311'/>
<id>urn:sha1:af15fe13b69d27f9902353540fd8ad0001ce8311</id>
<content type='text'>
* guix/inferior.scm (&lt;inferior&gt;)[close]: New field.
(port-&gt;inferior): New procedure.
(open-inferior): Rewrite in terms of 'port-&gt;inferior'.
(close-inferior): Honor INFERIOR's 'close' field.
(inferior-eval-with-store): Add FIXME comment.
* guix/ssh.scm (remote-inferior): New procedure.
</content>
</entry>
<entry>
<title>ssh: Make 'send-files' more robust.</title>
<updated>2018-11-24T18:52:16Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2018-11-24T18:38:55Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=63fd9f084a5e345d2edaeaf5e8f435a3130f9edc'/>
<id>urn:sha1:63fd9f084a5e345d2edaeaf5e8f435a3130f9edc</id>
<content type='text'>
Possibly fixes &lt;https://bugs.gnu.org/33239&gt;.

* guix/ssh.scm (send-files): Call 'channel-get-exit-status' only when
RESULT is true.
</content>
</entry>
<entry>
<title>ssh: Honor the SOCKET-NAME argument of connect-to-remote-daemon.</title>
<updated>2018-11-06T02:28:59Z</updated>
<author>
<name>Maxim Cournoyer</name>
<email>maxim.cournoyer@gmail.com</email>
</author>
<published>2018-11-05T05:01:47Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=2e4d83398b9e0f7c32d2a2f4184a60da0a7819f5'/>
<id>urn:sha1:2e4d83398b9e0f7c32d2a2f4184a60da0a7819f5</id>
<content type='text'>
* guix/ssh.scm (connect-to-remote-daemon): Pass the `socket-name' variable to
the `open-connection' call so that it is honored.
</content>
</entry>
</feed>
