From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46022) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFIGp-0000e8-78 for guix-patches@gnu.org; Fri, 20 Mar 2020 10:05:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFIGk-00077T-Ac for guix-patches@gnu.org; Fri, 20 Mar 2020 10:05:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39337) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFIGk-00076w-7F for guix-patches@gnu.org; Fri, 20 Mar 2020 10:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFIGk-0007FR-1X for guix-patches@gnu.org; Fri, 20 Mar 2020 10:05:02 -0400 Subject: [bug#40149] [PATCH 0/5] Assorted 'guix deploy' improvements Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:45931) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFIGR-00006S-JM for guix-patches@gnu.org; Fri, 20 Mar 2020 10:04:45 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 20 Mar 2020 15:04:33 +0100 Message-Id: <20200320140433.27868-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 40149@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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