unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 40149@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#40149] [PATCH 0/5] Assorted 'guix deploy' improvements
Date: Fri, 20 Mar 2020 15:04:33 +0100	[thread overview]
Message-ID: <20200320140433.27868-1-ludo@gnu.org> (raw)

Hello!

The first patch arranges so that a single round trip is enough
to perform all the sanity checks on the remote machine.  Previously,
we’d build N derivations, send their results, and perform N remote
evaluation (with N typically in the 3–5 range depending on details
of the OS config.)

(There’s a more general optimization pattern lurking here: I’d really
like to find a way to somehow gather operations like ‘remote-eval’ that
are more efficiently done as a batch, and then scatter results back
to their continuations.  I’ve been thinking about this for some time
and it still hasn’t clicked.  Ideas welcome!)

The remaining patches are basic UI improvements.

Feedback welcome!

Ludo’.

Ludovic Courtès (5):
  machine: ssh: Make sanity checks in a single round trip.
  ui: Add 'indented-string'.
  deploy: Show what machines will be deployed.
  deploy: Write a message upon successful deployment.
  machine: ssh: Better report missing initrd modules.

 gnu/machine/ssh.scm     | 138 +++++++++++++++++++++++-----------------
 guix/scripts/deploy.scm |  23 ++++++-
 guix/scripts/pull.scm   |  17 +----
 guix/ui.scm             |  18 ++++++
 4 files changed, 123 insertions(+), 73 deletions(-)

-- 
2.25.1

             reply	other threads:[~2020-03-20 14:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20 14:04 Ludovic Courtès [this message]
2020-03-20 14:09 ` [bug#40149] [PATCH 1/5] machine: ssh: Make sanity checks in a single round trip Ludovic Courtès
2020-03-20 14:09   ` [bug#40149] [PATCH 2/5] ui: Add 'indented-string' Ludovic Courtès
2020-03-20 14:09   ` [bug#40149] [PATCH 3/5] deploy: Show what machines will be deployed Ludovic Courtès
2020-03-20 14:09   ` [bug#40149] [PATCH 4/5] deploy: Write a message upon successful deployment Ludovic Courtès
2020-03-20 14:09   ` [bug#40149] [PATCH 5/5] machine: ssh: Better report missing initrd modules Ludovic Courtès
2020-03-23  9:49 ` bug#40149: [PATCH 0/5] Assorted 'guix deploy' improvements Ludovic Courtès

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=20200320140433.27868-1-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=40149@debbugs.gnu.org \
    /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).