From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UPCaLlex+WEtTgEAgWs5BA (envelope-from ) for ; Tue, 01 Feb 2022 23:16:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CGZIK1ex+WGzWgAAauVa8A (envelope-from ) for ; Tue, 01 Feb 2022 23:16:55 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5408C1274A for ; Tue, 1 Feb 2022 23:16:55 +0100 (CET) Received: from localhost ([::1]:46222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF1SI-0002IW-68 for larch@yhetil.org; Tue, 01 Feb 2022 17:16:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEytj-0002EV-CV for guix-patches@gnu.org; Tue, 01 Feb 2022 14:33:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEyti-0002e3-Hg for guix-patches@gnu.org; Tue, 01 Feb 2022 14:33:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEyti-0000aT-Ds for guix-patches@gnu.org; Tue, 01 Feb 2022 14:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53486] [PATCH] deploy: Add '--execute'. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Feb 2022 19:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53486 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ricardo Wurmus Cc: 53486@debbugs.gnu.org Received: via spool by 53486-submit@debbugs.gnu.org id=B53486.16437439432205 (code B ref 53486); Tue, 01 Feb 2022 19:33:02 +0000 Received: (at 53486) by debbugs.gnu.org; 1 Feb 2022 19:32:23 +0000 Received: from localhost ([127.0.0.1]:44169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEyt5-0000ZV-7N for submit@debbugs.gnu.org; Tue, 01 Feb 2022 14:32:23 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:37458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEyt2-0000ZH-UN for 53486@debbugs.gnu.org; Tue, 01 Feb 2022 14:32:21 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 6EA75343; Tue, 1 Feb 2022 20:32:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aq7TAA3IAIj6; Tue, 1 Feb 2022 20:32:13 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6E18E28D; Tue, 1 Feb 2022 20:32:13 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20220123212147.17855-1-ludo@gnu.org> <87tudj8qi3.fsf@elephly.net> Date: Tue, 01 Feb 2022 20:32:12 +0100 In-Reply-To: <87tudj8qi3.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 31 Jan 2022 23:48:53 +0100") Message-ID: <87mtjatmbn.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 6EA75343 X-Spamd-Result: default: False [0.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.56)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643753815; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=s5rWn7H0qiJvCTXH/Gwk584TkZ/s0xDlmeuq95zMcZo=; b=jyKegHcRWb0CFgY4sh4DRaUEfHInVj4+8oc2AKwiVjaLqrzxEq3ZrJlos3CsV+xbAkKtzW 9osizgWJQVjwLs5FMrvXzpbuZabxzCmEIve9cyFmw863FeyX8i1K3zgVmx4uu/gcTo8gxq 8T4ZgnMefWkgUMaAT2TrYQgMj10Cm65Po6yAN8GsJe+IVe/Jpynu9UrbmO8B8CK+2sv4Q6 ZDV0LVw5xy7vcZGNynvABiDnxMhLVi/CO/jWCI8NlgC6d2piX9JbNoyq+coU9GZRUccP4J Gl8MsazLkKNOKH2E9Qgq45IIHDqjnxWx+NcvumHiO0fpiZb/vVW2JYafY0ItxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643753815; a=rsa-sha256; cv=none; b=XkkP2QYCiXPYFdfJyoR/W0K+eROMJsP+6F9oO2rF/Lw3TpbEGyp3X1pyfzWQW2sCPb6+TP cz3+of0uSt7BQ2PlwG0+uNhhqCF+7k7L+jFur34OFxEVGoikMqwE9R8hmISSJ189Pn4F+N 1pWYxgNMLErdno17WQUdNP54RteDyIBlkWc7niQ1LfMi6LKfV2sTIgh30Kt+xRZx5V+9f+ i9Ix18i5UM2v3WzoySdpgn9W9jqdX9uzjfHTxi0hteHBkhR09Q01zbV44uC6dqdGMBB/k1 CtDLH/mUoVOJiiIPA5wG7/wV9psakOQwf0lFnFyfpAe0OVituNYrfJoq+hbIjg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.63 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5408C1274A X-Spam-Score: -3.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: UI0HgWKlzlkM Hi, Ricardo Wurmus skribis: > This sure is useful, but for the very first time I feel that this > doesn=E2=80=99t quite belong. There are a bunch of tools out there that = focus > exclusively on remote execution on several machines at once. > > One of them is pdsh, which lets you also define groups of machines by > type and submit to a selected subset. It also displays remote output > locally, and it sends local input to the remote as well. > > It=E2=80=99s tempting to add this to =E2=80=9Cguix deploy=E2=80=9D becaus= e it likely that > parallel remote execution is desired when =E2=80=9Cguix deploy=E2=80=9D i= s used, but it > also feels =E2=80=A6 kinda wrong. True, but here that allows you to talk to the machines actually listed in =E2=80=98deploy.scm=E2=80=99. Were you to use an external tool, you=E2= =80=99d have to somehow grep/sed the thing to get a list of host names. > I wonder if there=E2=80=99s a Guixy spin on remote execution =E2=80=94 the > aforementioned =E2=80=9Cdeploy-hook=E2=80=9D feels more at home here, in = my opinion. Yes, and it would use the same mechanism. It would also more pleasant for things you want to routinely do after a deployment. Still, sometimes you just want to run =E2=80=9Cuname -a=E2=80=9D or somethi= ng to see if you rebooted the machines, and a deploy hook won=E2=80=99t help with it. WDYT? Thanks, Ludo=E2=80=99.