From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gHzQKM56C2KqHwEAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 11:05:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QPueJc56C2JlDAAAauVa8A (envelope-from ) for ; Tue, 15 Feb 2022 11:05:02 +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 3E4BB22575 for ; Tue, 15 Feb 2022 11:05:02 +0100 (CET) Received: from localhost ([::1]:50142 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJuhh-0002wG-3M for larch@yhetil.org; Tue, 15 Feb 2022 05:05:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJuaw-0001Ab-NO for guix-patches@gnu.org; Tue, 15 Feb 2022 04:58:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJuaw-0003vk-D1 for guix-patches@gnu.org; Tue, 15 Feb 2022 04:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJuaw-0003I9-D8 for guix-patches@gnu.org; Tue, 15 Feb 2022 04:58:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53818] Improving updaters and =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?refresh=E2=80=99?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Feb 2022 09:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53818 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 53818@debbugs.gnu.org, Xinglu Chen Received: via spool by 53818-submit@debbugs.gnu.org id=B53818.164491904012600 (code B ref 53818); Tue, 15 Feb 2022 09:58:02 +0000 Received: (at 53818) by debbugs.gnu.org; 15 Feb 2022 09:57:20 +0000 Received: from localhost ([127.0.0.1]:43560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJuaG-0003H9-Ef for submit@debbugs.gnu.org; Tue, 15 Feb 2022 04:57:20 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:41140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJuaF-0003Gw-16 for 53818@debbugs.gnu.org; Tue, 15 Feb 2022 04:57:19 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5D98FB18; Tue, 15 Feb 2022 10:57:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xWZlPUr2KllV; Tue, 15 Feb 2022 10:57:11 +0100 (CET) Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 06C1C237; Tue, 15 Feb 2022 10:57:10 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87pmnx7ynw.fsf@gnu.org> <87y22kxkv3.fsf@yoctocell.xyz> <87leyi4fcv.fsf@gnu.org> <87pmnprasd.fsf@nicolasgoaziou.fr> <87fsolv109.fsf@gnu.org> <87leydqohm.fsf@nicolasgoaziou.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 =?UTF-8?Q?Pluvi=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 15 Feb 2022 10:57:10 +0100 In-Reply-To: <87leydqohm.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 14 Feb 2022 19:42:13 +0100") Message-ID: <87ee44pi4p.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 5D98FB18 X-Spamd-Result: default: False [0.61 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(0.71)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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=1644919502; 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; bh=DDqti47ksjbyjGWAOlVA9KiSRTxL0o/fZQDLFKgs26Q=; b=ETEQxOVVrMEuhMSJqUkgQ0qSficGrvGz8cZ/N3Ix8Z0t/3EdBRsdokVEx6G+vwEQKcjM5K nvnhdAaxvrWAxa8q34Nqf7ce3s69PjBSsXkpIND411QNDul8qgPekS/Nf/Qmqr5PKaMY6V fcPG+DnujCGNgzoEsSYPC7eAfmzBrjqdFXQ645PaJwHMUccNT80ljyOq9/sVa8VkR35ev9 54For8AT+iYpKCmWRXwcaP2hFMkenJkbBgKCbJlOssQF4zNXPZTcalHdN70itjwBvMeoGH p0iViiWTqDHYjwcUSCHz499zyWcfngXk/eFpdCZkIiuo/QwzXnozSL3Zg6Verg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644919502; a=rsa-sha256; cv=none; b=A9WtwF8qnQFaOWDRmpguXT+WiWkS44Fiw0tKpemlaOrB3gisvno/Z5vs2OaFcETia+VCMi P8S/EPd6+2HKn26BlQNAZkAJlKRvGPNm2Hhbz+5MJoVhfRtTGPmRJWLV5yupDCABVGlYrR +8vBtARoZPUptCvRgbL62QrfNecwPuiIC3FoLrw+FldXgepf+PD49LC+LeGOLXIOJa9uOa IfCOqf/qvDOT+b2hhtHArhLajD60/caZBTaxKeAThcM0KLu3y5BOPCuI53E0wKh7VK4DpQ PhOWEuq6/yhKb3TK8oEyPeIV6SPNTDlO4MOPfE9Z11jNyRrv1dh+vxlbdCZPOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 3E4BB22575 X-Spam-Score: -4.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: Va7o2HEbsIfJ Hi! Nicolas Goaziou skribis: > Ludovic Court=C3=A8s writes: > >> (I=E2=80=99m confused because my understanding of what you first wrote w= as that >> Repology had too many false positives to be useful.) > > Repology is okay for my use-case because I've gotten accustomed to its > quirks. I wouldn't recommend it as a fall-back solution for Guix in its > current form, tho, for the reason above. Does that make sense? It sure does, thanks for explaining. > I wrote about the following facts: > - it is difficult to specify a large number of packages, > - when you have specified a large number of packages, the processing is > slow, > - checking GitHub fails for me. Alright, I had missed that. Regarding =E2=80=9Cspecifying many packages=E2=80=9D, do examples like thes= e work for you: =E2=80=A2 guix refresh -t elpa =E2=80=A2 guix refresh $(guix package -A ^emacs- | cut -f1) =E2=80=A2 guix refresh -r emacs-emms =E2=80=A2 guix refresh -s non-core -t generic-git =E2=80=A2 guix refresh -m packages-i-care-about.scm If not, what kind of selection mechanism could help? =E2=80=98-s=E2=80=99 = currently accepts only two values, but we could augment it. Regarding slow processing, it very much depends on the updater. For example, on a warm cache, =E2=80=98guix refresh -t gnu=E2=80=99 is relative= ly fast thanks to caching: --8<---------------cut here---------------start------------->8--- $ time guix refresh -t gnu gnu/packages/wget.scm:48:13: wget would be upgraded from 1.21.1 to 1.21.2 gnu/packages/tls.scm:86:13: libtasn1 would be upgraded from 4.17.0 to 4.18.0 [...] real 0m38.314s user 0m38.981s sys 0m0.164s --8<---------------cut here---------------end--------------->8--- It could be that some updaters do many HTTP round trips without any caching, which slows things down. [...] >> Do you have examples of what=E2=80=99s wrong on the UI side? > > It has no Emacs interface. Nuff said. ;) True! :-) I realize this is going off-topic, but let=E2=80=99s see if we can improve = the existing infrastructure to make it more convenient. Thanks, Ludo=E2=80=99.