From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qPh8N2VMDmJ4CAEAgWs5BA (envelope-from ) for ; Thu, 17 Feb 2022 14:23:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6Mk2MGVMDmLBGAEAG6o9tA (envelope-from ) for ; Thu, 17 Feb 2022 14:23:49 +0100 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 5372B29978 for ; Thu, 17 Feb 2022 14:23:45 +0100 (CET) Received: from localhost ([::1]:54300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKgl6-0002ri-30 for larch@yhetil.org; Thu, 17 Feb 2022 08:23:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKgHO-0001h1-8E for guix-patches@gnu.org; Thu, 17 Feb 2022 07:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKgHN-0002Cu-UZ for guix-patches@gnu.org; Thu, 17 Feb 2022 07:53:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKgHN-0005gG-SR for guix-patches@gnu.org; Thu, 17 Feb 2022 07:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54000] [PATCH 0/2] Not showing upgraded/added packages in 'guix pull' Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Feb 2022 12:53:01 +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: zimoun , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 54000@debbugs.gnu.org Received: via spool by 54000-submit@debbugs.gnu.org id=B54000.164510233921780 (code B ref 54000); Thu, 17 Feb 2022 12:53:01 +0000 Received: (at 54000) by debbugs.gnu.org; 17 Feb 2022 12:52:19 +0000 Received: from localhost ([127.0.0.1]:50402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKgGg-0005fE-PQ for submit@debbugs.gnu.org; Thu, 17 Feb 2022 07:52:19 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:32259) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKgGd-0005f3-6D for 54000@debbugs.gnu.org; Thu, 17 Feb 2022 07:52:17 -0500 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4JzvqH5nSPz1LZWS; Thu, 17 Feb 2022 13:52:11 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4JzvqH5nSPz1LZWS DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1645102332; bh=MGammU/hv4lKirHmRvR3D27Wvom2NRynIIrpqUHc1Xw=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=MVIsFMOvO0kG2m1FAtiTLHw7pVp0WSUUFH9Ndf8PRGaOsNOCTmeJkKTqPQHbIgU8V 8Q629f0MyprO8Q2huUBbpREhiHN3x+L1b2AhzLj6AkzQOtXm7eB5FrGxtBRuUzuqe2 pujBxlKf3Jk5fj6Ro0l0schHryjLq315s7BycpF0= Message-ID: <041a39d537297f3d0b1e829dcde05c0939eb6ccb.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Thu, 17 Feb 2022 13:52:11 +0100 In-Reply-To: <86ley94s3w.fsf@gmail.com> References: <20220214163838.1174-1-ludo@gnu.org> <13cb5b9b650f86917e44db255f2ad92d679d3226.camel@ist.tugraz.at> <87fsohpzhl.fsf@gnu.org> <31aeb5561e8aad5b5d5b235ff326f145a84863e3.camel@ist.tugraz.at> <86ley94s3w.fsf@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645104225; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=MGammU/hv4lKirHmRvR3D27Wvom2NRynIIrpqUHc1Xw=; b=png8exn5kwiv4obEUS2/qRsBfLUrmjcuGlgn6yCA4IHt31ENmtA2htEvoeKvzF1j2sShoa qY3bOwa4PD+PhruZ7oi6Qcy59iy+ibS/bF2rukiws3cpH8dokaOFqq0EuoF2uf4tsbJZB4 F6s0lL7xJ2uFWzXCadl22JuDWG1dASS4V0M+ITREVfzP1oc/WvRekJmM2Dslmux995e+Ns am4/EO6JN5quezuctOkuDbuRw5DIkZxiaut8NiiAN92pNdnWOhq7yYvN7OZ5mo0lwUdKR2 vhWchgmriKSKWGRsE6w5mM/wgYie8pA3qVvrFM4wVnTgY1ynNllAvaB/WMrKBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645104225; a=rsa-sha256; cv=none; b=rCEWZZ9silc2as7r6Knh7inIz3wySiREiHnuij1sSuTQVGCbyroZbBtPsdOLjw1ij6lGMl 4bP53UyYSQsss4sHEO0RbbTgseCOZh1XSKq8KalGwW6JzCBAZbYMt5/xeR2lB7DjuSNO+B H2TWwOvRKR9qPkfPA9Ua6/VjM8mpQtycs43LngbEEtq15EN2wVwdjCz6Dj1B0fSS5vvDmV 1whoFmI/Cb8HbJR3JXmBZPn1HVVoVkD6qnE+CLc2yq0Z5HayJqvML/2R72oS0mM+/zAWNf VFi9SYfknwBawSfejfOK9b3OPnBWGcK/5FRhsKMFRuqU1zlz6nMEE8ytMu+hsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=MVIsFMOv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (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.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=MVIsFMOv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (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: 5372B29978 X-Spam-Score: -2.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: w/hu6vYiiJa+ Hi zimoun, Am Donnerstag, dem 17.02.2022 um 13:04 +0100 schrieb zimoun: > Hi Liliana, > > Stats, ~24 updates and ~13 additions per day on average (over the > past year).  If you pull twice a day, then yes you can read this > information. > But, I bet people pull once a week, at best, so it looks like more > “noise“ and I guess most people miss the news. For the record, that's < 150 updates and < 100 additions per week. Of course, these numbers tend to get higher as Guix grows, but for now I personally find this both manageable and helpful. Which doesn't mean I want it done by default, just that I want a way of doing it. Furthermore, news are displayed at the bottom, so if you're not interested in the noise, just don't scroll up :P Granted, if you're piping the output to a pager, that doesn't help you. > About grepping, it is not straightforward.  For instance, I get this: > > --8<---------------cut here---------------start------------->8--- > $ guix pull --news | grep python >     openshadinglanguage, perl-date-range, pgcli, plfit, poweralertd, > pproxy, python-aiosignal, python-android-backup, >     python-asdf-astropy, python-astral, python-astropy-healpix, > python-astroquery, python-canvasapi, python-cmarkgfm, >     python-cucumber-tag-expressions, python-cython-next, python-doit, > python-esprima, python-executing, >     python-flask-assets, python-flit-core-bootstrap, python- > frozenlist, python-fs, python-geojson, python-gwcs, >     python-ipython-sql, python-markdownify, python-miio, python- > pgspecial, python-photutils, python-phpserialize, >     python-piexif, python-psycopg, python-psycopg-pool, python- > pydbus, python-pyftpdlib, python-pylru, python-pyowm, >     python-pypdf3, python-pyrss2gen, python-pyscss, python- > pysendfile, python-pystitcher, >     python-pytest-doctest-custom, python-pytest-metadata, python- > pytest-pydocstyle, python-pyvo, python-reedsolo, >     python-regions, python-retry, python-roundrobin, python-sarge, > python-sentry-sdk, python-setuptools-rust, >     python-sphinx-click, python-sphinxcontrib-apidoc, python-tomli-w, > python-tweepy, python-typeguard, > --8<---------------cut here---------------end--------------->8--- > > So I do not think the current display is adequate for grepping. I agree that with certain packages that's a little harder to do than with others, but particularly with python the way to resolve this would be to grep for 'python@' > Somehow, the feature you want should be separated.  For instance, > >     guix pull --updated >     guix pull --added >     guix pull --new-versions That would perhaps help if your aim is to optimize for computation time, but I'd still prefer all changes. It also helps that we already have that code, so we only have to tell people to e.g. use --changes instead of --news if that is the thing they wanted.   W.r.t. only listing some of the changes, one could later implement options like --changes=added,removed,updated,rewritten,... > > In general, it doesn't have to be named ‘--news --details’, but a > > means of diffing two generations via the CLI -- in particular the > > current one to the last -- would be very welcome, because then all > > information we previously had would still be available quite > > easily, albeit no longer printed by default. > > That feature is interesting but it appears to me orthogonal with the > current proposal. Orthogonal in which way? In that we could implement such a feature without changing the way `guix pull' normally works and vice versa? Sure. In that we'd not be losing any information if we changed `guix pull' without providing such an option? Eh...