From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46648) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jFILc-0002gD-Nz for guix-patches@gnu.org; Fri, 20 Mar 2020 10:10:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jFILb-0003lq-OX for guix-patches@gnu.org; Fri, 20 Mar 2020 10:10:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39357) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jFILb-0003lg-LY for guix-patches@gnu.org; Fri, 20 Mar 2020 10:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jFILb-0007OT-ES for guix-patches@gnu.org; Fri, 20 Mar 2020 10:10:03 -0400 Subject: [bug#40149] [PATCH 4/5] deploy: Write a message upon successful deployment. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Fri, 20 Mar 2020 15:09:09 +0100 Message-Id: <20200320140910.28439-4-ludo@gnu.org> In-Reply-To: <20200320140910.28439-1-ludo@gnu.org> References: <20200320140910.28439-1-ludo@gnu.org> MIME-Version: 1.0 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?= * guix/scripts/deploy.scm (guix-deploy): Write message upon successful deployment. --- guix/scripts/deploy.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/scripts/deploy.scm b/guix/scripts/deploy.scm index 1f1ca58476..1d652d019d 100644 --- a/guix/scripts/deploy.scm +++ b/guix/scripts/deploy.scm @@ -141,5 +141,7 @@ Perform the deployment specified by FILE.\n")) (machine-display-name machine)) (run-with-store store (roll-back-machine machine))) (apply throw (deploy-error-captured-args c)))) - (run-with-store store (deploy-machine machine))))) + (run-with-store store (deploy-machine machine)) + (info (G_ "successfully deployed ~a~%") + (machine-display-name machine))))) machines))))) -- 2.25.1