From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:52973) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hi6S4-0001Bj-1F for guix-patches@gnu.org; Mon, 01 Jul 2019 20:15:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hi6Rv-00070C-Dh for guix-patches@gnu.org; Mon, 01 Jul 2019 20:15:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hi6Rq-0006y4-HC for guix-patches@gnu.org; Mon, 01 Jul 2019 20:15:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hi6Rq-0004qq-4T for guix-patches@gnu.org; Mon, 01 Jul 2019 20:15:02 -0400 Subject: [bug#36404] [PATCH 0/4] Add 'guix deploy'. Resent-Message-ID: From: zerodaysfordays@sdf.lonestar.org (Jakob L. Kreuze) In-Reply-To: <878sthoqzi.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 01 Jul 2019 14:53:53 +0200") References: <87o92ianbj.fsf@sdf.lonestar.org> <87o92glap5.fsf@dustycloud.org> <878sthoqzi.fsf@gnu.org> Date: Mon, 01 Jul 2019 20:14:22 -0400 Message-ID: <87imsl9tsx.fsf_-_@sdf.lonestar.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36404@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Huge thanks to everyone who commented on the first two renditions of this patch series. Here's a summary of the changes I've incorporated: % The 'environment' field of is now an instance of -- a record similar to . See the manual page for an example of how this looks in a deployment specification. % Deployment specifications are loaded in an environment with '(gnu)', '(gnu machine)', and '(gnu machine ssh)'. '(gnu machine)' and its descendant modules are no longer exported from '(gnu)'. % Environment and load path excursions have been removed from the deployment internals for 'managed-host-environment-type'. 'remote-eval' spawns a new Guile REPL with each invocation, so modifications to $PATH et al. aren't really relevant -- at least not with how 'deploy-managed-host' is implemented. % Wording in the manual section has been updated. % The docstring for 'open-ssh-session' has been updated. % Tests have been decoupled from the commit adding '(gnu machine)' and omit= ted from this patch series. I will add them back in a future patch. Jakob L. Kreuze (4): ssh: Add 'identity' keyword to 'open-ssh-session'. gnu: Add machine type for deployment specifications. Add 'guix deploy'. doc: Add section for 'guix deploy'. Makefile.am | 4 +- doc/guix.texi | 101 ++++++++++++ gnu/local.mk | 5 +- gnu/machine.scm | 118 +++++++++++++ gnu/machine/ssh.scm | 355 ++++++++++++++++++++++++++++++++++++++++ guix/scripts/deploy.scm | 90 ++++++++++ guix/ssh.scm | 10 +- 7 files changed, 677 insertions(+), 6 deletions(-) create mode 100644 gnu/machine.scm create mode 100644 gnu/machine/ssh.scm create mode 100644 guix/scripts/deploy.scm =2D-=20 2.22.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEa1VJLOiXAjQ2BGSm9Qb9Fp2P2VoFAl0aod4ACgkQ9Qb9Fp2P 2VpBcBAArpK08La4zdZh9gsZZXGwWEMd2Qm+Qrf/rElJmpyCG1kibg+miI7QZREf Z8VuRt3GN2Tdch0govFghwC+STDF+uZkbPc0Tv7Mi6D8aBxphjJtHvRlcTu39C8o Owo9nVME4kioe3oSykJl5tDNY4f23d40/Dhv14/vSXsheuWG8rbvAZrc2JZaEC+U fJRUlxK+TJOY4rYck5e93eKr6KC/t/gTb0WKapTI/ZDPzJ92Co5N0G+FQge/wxsI +VtAHRD7Tw/7I4x2Y75ZUAc52VEIXejJ9jijhNqGrcw2GCCBlmHN/Gf9j7rEhGqU 3cQCgQ6PPepKfKpfoXZllKHCd+q9Eh1ZsF7ukiqT9y4qaRZXxS+VBHZ9MXuRW5Jp 93aqMfrn2v1Q8JBfnhgIYAMJDg8+6NB8xHzz6mZbHgvMj/7gYIU2nVv+kQrac6oS t+jVgrDGZ7P8xIBDIINXTtMWObAUj5ZgbjCevcoSZ1cq9VJqT7ser1+C0Roi2sny mys69X0kHDxPlSxE7D/lX8jnVIcfZfB/Wa5EfqURYPonN++1oJ42CHsvhw+D3Y5g 236SLu6idRGsAjCuzao8v6h1GOjM46hMUG4q0/x4TfrKk6u1V6aDz5Mry7gjql8O 07SNpnu6tFeEDDI1D12KL7Imq2Dwp4MIN1tmg3eFP6bH8P+Tsdg= =IIRT -----END PGP SIGNATURE----- --=-=-=--