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 GGjaLIVuBWIZDwAAgWs5BA (envelope-from ) for ; Thu, 10 Feb 2022 20:59:01 +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 OPF6KYVuBWJtaQAAauVa8A (envelope-from ) for ; Thu, 10 Feb 2022 20:59:01 +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 496DB2BA12 for ; Thu, 10 Feb 2022 20:59:01 +0100 (CET) Received: from localhost ([::1]:59396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIFam-0001zB-8S for larch@yhetil.org; Thu, 10 Feb 2022 14:59:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIE14-0000zH-FH for guix-patches@gnu.org; Thu, 10 Feb 2022 13:18:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34973) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIE14-0002qU-4X for guix-patches@gnu.org; Thu, 10 Feb 2022 13:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIE14-000590-1N for guix-patches@gnu.org; Thu, 10 Feb 2022 13:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53818] [PATCH 0/3] Add Repology updater Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Feb 2022 18:18:01 +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, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 53818-submit@debbugs.gnu.org id=B53818.164451703919708 (code B ref 53818); Thu, 10 Feb 2022 18:18:01 +0000 Received: (at 53818) by debbugs.gnu.org; 10 Feb 2022 18:17:19 +0000 Received: from localhost ([127.0.0.1]:57101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIE0N-00057o-7K for submit@debbugs.gnu.org; Thu, 10 Feb 2022 13:17:19 -0500 Received: from h178-251-242-94.cust.a3fiber.se ([178.251.242.94]:50962 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIE0K-00057W-V3 for 53818@debbugs.gnu.org; Thu, 10 Feb 2022 13:17:18 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1644517030; bh=pRUlGVDUq6R2I9sLOfNUz5iwamgL1F6tPwO/7dAQMxU=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=TKPa8MkWmLypPo+9caWEvQCfwg4thzaJULZ7lxy7usGHt8Dx8DBGdyvZkS2BuCoP2 KKzBmy6B5hXhtmPJZhV4sJhYwBklIluLffuzCf6zlZYP6P0ksHBd9avlWzPoz02HwR SqV0ydXxvjiql9x+ej/GCChzY9BB0siqegaUZT+c= In-Reply-To: <87k0e4w1to.fsf@nicolasgoaziou.fr> References: <87pmnx7ynw.fsf@gnu.org> <87y22kxkv3.fsf@yoctocell.xyz> <87k0e4w1to.fsf@nicolasgoaziou.fr> Date: Thu, 10 Feb 2022 19:17:09 +0100 Message-ID: <87bkzewpqy.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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=1644523141; 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: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=pRUlGVDUq6R2I9sLOfNUz5iwamgL1F6tPwO/7dAQMxU=; b=bcbfLOso7omPkp8i+J2XgKohu8st7DNJQ3LJMY7hkiARjTUZP9SAHGt+aInxxgtNVjzhSv aw7sb/1S0uT1VTjmuH+fc3yaK492RyjcPKNVViIia9DmJvwgTLo7PYY4OLODiFsAP+fx4b 1VkYABk8xAXnOXBenK6ayHECqIosLB6zoon1A4ThckuPYBIWhuFw1h8gZdol4xAGoDgqlH uJ5Zs/auy6mw0VA7NCKIhq02qc+r9ToCRZCioMF+jKvB8iz8rF99COtm6lboU8919Zdxyu HSrCHaHDGaUgwYwBa2Gz14xsRnBDNdKNHqUd9JMKehAr6uUWHQNL/KW3OEBpwg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644523141; a=rsa-sha256; cv=none; b=UBOcFptQHTt/UBMNpS+8vbjbO3KMEtnCw19J2vYrSGPklc4lWQOEMPVmbtxj2cF5LqpOiO iUqSJ4a2BTQjpqWUAvtlUsFEIbywQaP1OVLEa7bxgtgmNRpmQiB3WAseyNZV7RWJWgvK9C da0GOLhsOF9KvtcJvQMuXtAS2bjSoofrGc7Mq1Gn+p221mjKmv1r3reYUH7QkPg9QYGBWO VH6Bt+KmRqXcG7tEx5AjUfmlVJgCI4es8W4y5hgAJRxs50bKxzvhdV5H1j59ruW48Uqdqm Acjl98neE7RjolTDV47mCljrQiSkUTF6vUC2XNZmsf7FueMjbZjVeKzjMqSvzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=TKPa8MkW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=TKPa8MkW; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (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: 496DB2BA12 X-Spam-Score: -4.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: Z6l34UOqcWm3 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nicolas schrieb am Mittwoch der 09. Februar 2022 um 15:29 +01: > Hello, > > Xinglu Chen writes: > >> The point of the Repology updater is to act as a fallback if none of >> the other updaters can update a package, e.g., =E2=80=98maven-dependency= -tree=E2=80=99. >> I already mentioned that language-specific updaters usually provide more >> accurate and detailed information, so they should be used when possible; >> we aren=E2=80=99t losing anything here. > > One issue is that such an updater will introduce frequent false > positives. It is common for Repology to get the latest release wrong, > because some distribution is doing fancy versioning, or because > different distributions disagree about what is upstream. Yeah, I have noticed that it sometimes thinks that a version like =E2=80=9C20080323=E2=80=9D is newer than something like =E2=80=9C0.1.2-0.a1= b2b3d=E2=80=9D, even though it might not necessarily be true. This seems to be the case for a lot of Common Lisp packages which usually don=E2=80=99t have any proper release= s. > I don't think we can rely on Repology's "newest" status. The updater may > need to provide its own version comparison tool, because Repology's tool > and Guix versioning do not play nice, in particular when using > `git-version'. In my testing, the =E2=80=9Cnewest=E2=80=9D status does a pretty good job (= besides the problem I mentioned above) Some other =E2=80=9Cbad=E2=80=9D updates I found[*] are listed below (exclu= ding Common Lisp packages). =2D-8<---------------cut here---------------start------------->8--- guile-ac-d-bus would be upgraded from 1.0.0-beta.0 to 1.0.0-beta0 sic would be upgraded from 1.2 to 1.2+20210506_058547e tla2tools would be upgraded from 1.7.1-0.6932e19 to 20140313 quickjs would be upgraded from 2021-03-27 to 2021.03.27 stow would be upgraded from 2.3.1 to 2.3.1+5.32 cube would be upgraded from 4.3.5 to 2005.08.29 python-ratelimiter would be upgraded from 1.2.0 to 1.2.0.post0 gr-osmosdr would be upgraded from 0.2.3-0.a100eb0 to 0.2.3.20210128 countdown would be upgraded from 1.0.0 to 20150606 http-parser would be upgraded from 2.9.4-1.ec8b5ee to 2.9.4.20201223 xlsx2csv would be upgraded from 0.7.4 to 20200427211949 keynav would be upgraded from 0.20110708.0 to 20150730+4ae486d =2D-8<---------------cut here---------------end--------------->8--- It seems like most of these could be solved by checking if the version scheme changed from semver to calver. I think that=E2=80=99s a pretty good result considering how many packages we have. [*] Until I ran into --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmIFVqUVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5keoQALFZ7lM02DNnOm/wWSH1hTDfkmhw 5oSl96b7q4Sk2LlCPy3BX9NxqUYRLJgHR95m7UQU+1nJeFL8GLvguCc2FJJ/06i3 22wAnZglqrdrnpkf2THx3RoDVCZFTgreJFJczpI08DftvdPbDk6WVuMP/vGxiva+ Gmm2Nhf7ldlyTIXJIHmBRzvBNjKc9qFo0qD4HkodTACFHsQ93Bsm1SjXGcxcggyq 6HXcRzXLXQeu8XwLE1fyIZHkoicO2TZddVZxXYQlggkZTZvxhN1U4gOlYRUrzPWz Ho+4Be0Cy4GBMsM1JCVbietZa/gW62CpTrGTwCEcH35I1TnYbk4MBOXwY1gPdz7v R9vdPlEotayxevcQNEnI3KUYi0O79fXXbAJX0Mjy0Vk20TdMWfIAlEIrBJXOKLMx qsrYOUDcpt2jgrKLvyxj2D7OmPuMXnnd/uk4TcXIdMEh5f2+a7Ae4PvBE0sQnaKw zsnWJ0AucUSi7/WzEOZn2SKj/IGGkLwkHl2iXlGK9onRZjRcBcjE7Oz4sVVIzdVS gNLWwnV2gEHqTKpURldx0W9hS9cMHwVaomfUcwekNkxrHDEWHfLiu+qrYfBf+UWg 9ef8pTMvKwdEnnNMmggjoM5lBtMIkCLHWe9VjXrBkOcfa0bRME3YoxsiJJehJWB/ lH5IjK61Ndbo8r6g =oOl3 -----END PGP SIGNATURE----- --=-=-=--