From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0HtFFB3J+WE3SgAAgWs5BA (envelope-from ) for ; Wed, 02 Feb 2022 00:58:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2LRwER3J+WGjLgAA9RJhRA (envelope-from ) for ; Wed, 02 Feb 2022 00:58:21 +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 70A9612B4D for ; Wed, 2 Feb 2022 00:58:20 +0100 (CET) Received: from localhost ([::1]:34104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF32R-0002sN-Kt for larch@yhetil.org; Tue, 01 Feb 2022 18:58:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEzUU-0005RG-C6 for guix-patches@gnu.org; Tue, 01 Feb 2022 15:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEzUU-0008F5-0Z for guix-patches@gnu.org; Tue, 01 Feb 2022 15:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nEzUT-0001be-Qw for guix-patches@gnu.org; Tue, 01 Feb 2022 15:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53486] [PATCH] deploy: Add '--execute'. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Feb 2022 20:11:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 53486@debbugs.gnu.org Received: via spool by 53486-submit@debbugs.gnu.org id=B53486.16437462606166 (code B ref 53486); Tue, 01 Feb 2022 20:11:01 +0000 Received: (at 53486) by debbugs.gnu.org; 1 Feb 2022 20:11:00 +0000 Received: from localhost ([127.0.0.1]:44225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEzUR-0001bO-Vw for submit@debbugs.gnu.org; Tue, 01 Feb 2022 15:11:00 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEzUQ-0001bE-Ah for 53486@debbugs.gnu.org; Tue, 01 Feb 2022 15:10:58 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1643746243; cv=none; d=zohomail.com; s=zohoarc; b=ll7XScyPQJqTKWTwAb4m8LHcy2Yyp0IrQhgyHklxs0Z5UNmIaryjWj2yeLdGw6ihmoNmQU7XHr9QtiJ3DiyzVdNsGgq3XgTqW3lmJxOoXOoQTcPGEjURSDbTJRZNAe2zbk/0S1rlzE8BzNGU9IktI43oOgyNHbHrgNt2fyDBsCY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1643746243; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=HRcobE0cVRI3tl5tOD+LxdHJCQYE/JSc2AI8M8gE528=; b=YypbEY4AaY9WVmNkC3ngUPnf1Qt8L348CaLRwHtmCmagajIKDHg4AyRIprMzaYMrM7wBf9Dsn0TpnG34ejeHGJ2Uv5pdPav3Jfqi5xGrA8KwLuzmAszZDQvHgmX7jj0G/Kb6ErdhQgt+/AnIW/rxO7TP/YOn18DypSIt2j9KDZE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643746243; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=HRcobE0cVRI3tl5tOD+LxdHJCQYE/JSc2AI8M8gE528=; b=But7seJCkQ69o5ajgObLNsKqV6kXFz0JcLVSUvJ03iM0W7dFAanzdTf7/bJb3b0h OHFMoWPjBZSrW4Cl7zMI53LS9phkVQXjIReUF54lHI6US2P6v4A5eeuezmcL7INTduz XrRJn6qqLNUjCZLYeD0tT+5TOD+hAGl8cGAYurhk= Received: from localhost (p54ad4ff2.dip0.t-ipconnect.de [84.173.79.242]) by mx.zohomail.com with SMTPS id 1643746241711460.40492523234957; Tue, 1 Feb 2022 12:10:41 -0800 (PST) References: <20220123212147.17855-1-ludo@gnu.org> <87tudj8qi3.fsf@elephly.net> <87mtjatmbn.fsf_-_@gnu.org> User-agent: mu4e 1.6.10; emacs 27.2 From: Ricardo Wurmus Date: Tue, 01 Feb 2022 21:08:41 +0100 In-reply-to: <87mtjatmbn.fsf_-_@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <874k5i8i0x.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643759901; 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:dkim-signature; bh=HRcobE0cVRI3tl5tOD+LxdHJCQYE/JSc2AI8M8gE528=; b=q3UGRGKFt1d0sPS1N8ZwAoN2Khq848lshogJfLzs//uhKIZn83gi3wz6EcOgRWnc3K5T8Q daJFjlULjIhGgpy1ATLQZFEqmLF/ZwTq2vV0AKtDiH/xV6oWAefIWnUOTxMhopLlAPvauu G9hQbxLBO+hwgzpyqUs63Xfir8ZtGaq5aFSgQBLzKsDhfYaQ8o9vkehvocTf4R9lrwMj2i r2dOivdJ/1+MxnHMWGlALPEFR+GfWIEkSVPrYWOZkHQARvkhzug6Au1I8TqlUC1V9AZZ1q jA1LA9P1qw7GLzKdHEHqBODRP3T43jouuAVNvUOmWYqX/o6DGzRXZmBbDJ+Bew== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1643759901; a=rsa-sha256; cv=fail; b=MxWS/l52wBdzZWoiIQjYX8jbi3OVV0VxgqgZI/Icsyy9aJS3WVU4u6R2ho+BTOmqRRezST fCSjui41QnPiUvq1kj9t0GMmydPa26lh+hlJ/8hd+aBdlTDtVrkVAqa5HlEXJsSAZ6Sl50 YvRRvLhppe7mWE8g3/FSo3HYn2ZukavsYh9HNtGvDgQFSWEHh7K5rEVD3tWQJ05bpaXK1c XOOEVC2Pkb8UOfKCZcTsBE49wICYucLFsn4SVCSoL5QnGRcVjUecYbHcwDCVtDmFwjOugY 5/2ewRDUEe3NBhxSuP20TPgtJn4rYYq17/6T+XBY/dp6KSxcV8RJJqLzY3dc4w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=But7seJC; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; 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: -1.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=But7seJC; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; 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: 70A9612B4D X-Spam-Score: -1.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: nEqnEtgDnPDD Ludovic Court=C3=A8s writes: > 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 becau= se it likely that >> parallel remote execution is desired when =E2=80=9Cguix deploy=E2=80=9D = is 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. That=E2=80=99s a good point. >> I wonder if there=E2=80=99s a Guixy spin on remote execution =E2=80=94 t= he >> 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 somet= hing to see if > you rebooted the machines, and a deploy hook won=E2=80=99t help with it. As a stepping stone towards something more =E2=80=A6 =E2=80=9Cordered=E2=80= =9D I guess my objections to the feature melt away :) Don=E2=80=99t let me be in the way! --=20 Ricardo