From: "Ludovic Courtès" <ludo@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 53486-done@debbugs.gnu.org
Subject: bug#53486: [PATCH] deploy: Add '--execute'.
Date: Wed, 02 Feb 2022 18:44:17 +0100 [thread overview]
Message-ID: <87zgn9qi32.fsf_-_@gnu.org> (raw)
In-Reply-To: <874k5i8i0x.fsf@elephly.net> (Ricardo Wurmus's message of "Tue, 01 Feb 2022 21:08:41 +0100")
Hi,
Ricardo Wurmus <rekado@elephly.net> skribis:
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Hi,
>>
>> Ricardo Wurmus <rekado@elephly.net> skribis:
>>
>>> This sure is useful, but for the very first time I feel that this
>>> doesn’t 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’s tempting to add this to “guix deploy” because it likely that
>>> parallel remote execution is desired when “guix deploy” is used, but it
>>> also feels … kinda wrong.
>>
>> True, but here that allows you to talk to the machines actually listed
>> in ‘deploy.scm’. Were you to use an external tool, you’d have to
>> somehow grep/sed the thing to get a list of host names.
>
> That’s a good point.
Actually the impetus for me was when I found myself repeatedly writing
half-baked Bash ‘for’ loops on berlin and then learned that Mathieu had
promoted the ‘for’ loop to a shell script in his home directory. I
thought we could do better. :-)
That said, I agree that it’s no substitute for real tools in this area
like pdsh; it’s really just a helper for basic situations.
> As a stepping stone towards something more … “ordered” I guess my
> objections to the feature melt away :) Don’t let me be in the way!
Alright, pushed as 5c13484646069064c834bbd3cd02c3bc80d94cb6!
Thanks,
Ludo’.
prev parent reply other threads:[~2022-02-02 19:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-23 21:21 [bug#53486] [PATCH] deploy: Add '--execute' Ludovic Courtès
2022-01-29 13:16 ` Oleg Pykhalov
2022-01-31 22:44 ` Ludovic Courtès
2022-01-31 22:48 ` Ricardo Wurmus
2022-02-01 19:32 ` Ludovic Courtès
2022-02-01 20:08 ` Ricardo Wurmus
2022-02-02 17:44 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zgn9qi32.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=53486-done@debbugs.gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).