From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OKzQJ41XcWKbAQEAbAwnHQ (envelope-from ) for ; Tue, 03 May 2022 18:25:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eIrGJ41XcWLutAAAauVa8A (envelope-from ) for ; Tue, 03 May 2022 18:25:49 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3C76213059 for ; Tue, 3 May 2022 18:25:49 +0200 (CEST) Received: from localhost ([::1]:47176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlvLQ-0002bJ-Dt for larch@yhetil.org; Tue, 03 May 2022 12:25:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlvHl-0005Pc-VV for guix-patches@gnu.org; Tue, 03 May 2022 12:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlvHl-0007Am-MU for guix-patches@gnu.org; Tue, 03 May 2022 12:22:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlvHl-0002xo-Id for guix-patches@gnu.org; Tue, 03 May 2022 12:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55242] [PATCH 01/10] guix: import: Print the number of packages at the end. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 03 May 2022 16:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55242 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Attila Lendvai , 55242@debbugs.gnu.org Received: via spool by 55242-submit@debbugs.gnu.org id=B55242.165159487811334 (code B ref 55242); Tue, 03 May 2022 16:22:01 +0000 Received: (at 55242) by debbugs.gnu.org; 3 May 2022 16:21:18 +0000 Received: from localhost ([127.0.0.1]:40780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlvH4-0002wk-4m for submit@debbugs.gnu.org; Tue, 03 May 2022 12:21:18 -0400 Received: from albert.telenet-ops.be ([195.130.137.90]:37882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlvH3-0002wZ-3u for 55242@debbugs.gnu.org; Tue, 03 May 2022 12:21:17 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id SGMF270044UW6Th06GMF4r; Tue, 03 May 2022 18:21:15 +0200 Message-ID: <15b2a5f3da980087b0a3f84910563b13a929076f.camel@telenet.be> From: Maxime Devos Date: Tue, 03 May 2022 18:21:12 +0200 In-Reply-To: <20220503111620.3139-1-attila@lendvai.name> References: <20220503111620.3139-1-attila@lendvai.name> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-UunKUs/YXKPXMrykXuBv" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651594875; bh=31ZHkiFb44FVG50QWbO0+RQxSKsOUT3oqfOCeesP1HY=; h=Subject:From:To:Date:In-Reply-To:References; b=iGvO51RwrgLo24gXjFEeOCyRZupYNo7qL4ZRgo0iipLAerZ+4UwHy/sUZa9N+Sytp WF3lOdysaC+w5b2HeppQMrp8QT1bBZ4m/7uFuZuUIxYWY+FOa4JMH/lC6YuJAsBm+W JGdf/eCt27lBFvnY96q5BHTjMm9hdSg7R39YS+wCHPtXOQm5pcBGkwx6KVIXb/4D/Y 1NJhWbBB+Az5TJxp/U+q8138zolDACQqGzTQ5HC9sl83dfh8RczXUH81OyppeclcC9 s6Pta+gFhH3HlQe/MlJ+1E/XMZn+xKesJyUZoPlGdLRYxkZmH2pTEn0LJbh7nAdXGR f7wzzKQ0CBPYA== 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651595149; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=31ZHkiFb44FVG50QWbO0+RQxSKsOUT3oqfOCeesP1HY=; b=lqyC1Z/Nu6AaDNQ27wN7WnsNN2bWNON1OIpDcfwMe++3ptaCAp/MVn9Ti0ym7XDKTVsmUH 0/Wb4X6Sp63jCaZiAaxW9xTHW//XguliZaeoIw9CeTyc7maflpWj37KlRz6/rDzxVsZh5i QJgIPtCRarsi1uaCcs/mVWAGSezfkkRdnRavkHyYc22KP0BEuhqOir8/xsSJiTVzCPvAgS LN2X6uFXEZYEsc62sJaL2psGYAVEIziMSHpNpovtEeMcPYM/Wjhd77xPQdgS6TiPAAvx/G 6cgQN7jL0W0bjVH5eDxhsEXXKJWWBMkVNAt2c34SZ5bLKhEt6E9gq3WUuvZ4gw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651595149; a=rsa-sha256; cv=none; b=ZyqnwTBu9j/1BDGa3PELaTB5+c65s5qeGHMIoLoAGq+JB2R/H4hv9T8ldP9B/cggTgHucS INpFYOgVAskjygS4TN/U/X/Wu2Qp0M/vFr7eukgnns+tzb8LwGnITKfZYNc1QkDb90vgdR tL9MHhduXmmAydmDOvQTkMh4ChWDQm6Es4KbAhj/Poq5sLOVetDzj8AVGQhBZbe/Va4TvJ fcYW56/QnL2iIga+EDZOq5Ty/3H6iPPd95C19JVwSp/WW2HmQTU1XnK9+zY+oLBPkTG73G eJbfr4Msz7Qp0G1YekRcI2qwguNIPE+LHOyCbEOaj+dFTHToHT8EIztzpidHoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=iGvO51Rw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=iGvO51Rw; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3C76213059 X-Spam-Score: 2.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: pebVypMq58hn --=-UunKUs/YXKPXMrykXuBv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attila Lendvai schreef op di 03-05-2022 om 13:16 [+0200]: > [bug#55242] [PATCH 01/10] guix: import: Print the number of packages > at the end. > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (format (current-warning-port) > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (G_ "Imp= orted ~a packages~%") count))) What's the use case for counting the number of packages? Why only for the Go importer, and why a warning?=C2=A0 The 'info' macro from (guix diagnostics) seems to fit here (it also uses 'current-warning-port', but only internally). The plural form of 'packages' is incorrect when count=3D1. Greetings, Maxime --=-UunKUs/YXKPXMrykXuBv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnFWeBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7smFAP9xcPIDwYxVWxn1g4eWCczdJkDL oX4NmITfM829JsaebgEA6E2nWhoAFICcV5UnhywfCnYfddPprhnvDjv66kqvnAo= =Yu5W -----END PGP SIGNATURE----- --=-UunKUs/YXKPXMrykXuBv--