From patchwork Mon Feb 14 16:41:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 37245 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 007D227BBEA; Mon, 14 Feb 2022 16:42:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C3BE227BBE9 for ; Mon, 14 Feb 2022 16:42:09 +0000 (GMT) Received: from localhost ([::1]:57296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJeQS-0001xx-VY for patchwork@mira.cbaines.net; Mon, 14 Feb 2022 11:42:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJeQM-0001xl-R0 for guix-patches@gnu.org; Mon, 14 Feb 2022 11:42:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:48510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJeQM-0001qC-Hq for guix-patches@gnu.org; Mon, 14 Feb 2022 11:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJeQM-0005t6-H9 for guix-patches@gnu.org; Mon, 14 Feb 2022 11:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54000] [PATCH 2/2] pull: No longer print upgraded/added packages upon completion. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Feb 2022 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54000 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54000@debbugs.gnu.org Cc: Ludovic =?utf-8?q?Court=C3=A8s?= Received: via spool by 54000-submit@debbugs.gnu.org id=B54000.164485691022611 (code B ref 54000); Mon, 14 Feb 2022 16:42:02 +0000 Received: (at 54000) by debbugs.gnu.org; 14 Feb 2022 16:41:50 +0000 Received: from localhost ([127.0.0.1]:42407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJeQA-0005sb-HU for submit@debbugs.gnu.org; Mon, 14 Feb 2022 11:41:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJeQ9-0005sL-MK for 54000@debbugs.gnu.org; Mon, 14 Feb 2022 11:41:50 -0500 Received: from [2001:470:142:3::e] (port=35200 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJeQ4-0001pW-CU; Mon, 14 Feb 2022 11:41:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=0PJ+bJpVAn05qFtaavKnZQaDClSddbCAoIccmacGIM4=; b=Pb9uHz0YhGgLx4PQYQdo 13f1X5DTz8kJYKfFkGsdiEjQb1DbpHrL7ABTfDqGQew62YzCjAOJ3uetBgn2yejPRz4fEODznm/U+ q6KfqeaVtUzWEchfjkVJwM0r2C44+KB/MFWYcmsumBDGF+yekk88HMHTFtrBfK1xH1DpQtQrBCl/i 9Ipd0gHOBmHN7mr1fppYUUzVyTL3v710iwtXal3rU3AWst7KJ/K5LfvaK9yr3sh8X7nJ1r/pewlYQ kE1AwCUVTtKY4P4ZWlopuigivQSU6DE2NJXRtIi+XcmxdJ6Qi0vdExa0Q0aVrZuk73Q4jDmo6t+uu SuEGo80amTpC2g==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:56752 helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJeQ2-0003TG-Tr; Mon, 14 Feb 2022 11:41:44 -0500 From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Mon, 14 Feb 2022 17:41:27 +0100 Message-Id: <20220214164127.1248-2-ludo@gnu.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20220214164127.1248-1-ludo@gnu.org> References: <20220214164127.1248-1-ludo@gnu.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * guix/scripts/pull.scm (build-and-install): Remove call to 'display-profile-news' and adjust accordingly. --- guix/scripts/pull.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm index af1b27d7dd..f557aaf79a 100644 --- a/guix/scripts/pull.scm +++ b/guix/scripts/pull.scm @@ -454,10 +454,9 @@ (define guix-command #:hooks %channel-profile-hooks) (return - (let ((more? (list (display-profile-news profile #:concise? #t) - (display-channel-news-headlines profile)))) + (let ((more? (display-channel-news-headlines profile))) (newline) - (when (any ->bool more?) + (when more? (display-hint (G_ "Run @command{guix pull --news} to read all the news."))))) (if guix-command