From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 gCc6MpzDA2JYMgAAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 14:37:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GFmML5zDA2LaMgEA9RJhRA (envelope-from ) for ; Wed, 09 Feb 2022 14:37:32 +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 7F32A127A8 for ; Wed, 9 Feb 2022 14:37:32 +0100 (CET) Received: from localhost ([::1]:50418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHnA3-0004d3-AY for larch@yhetil.org; Wed, 09 Feb 2022 08:37:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHmw3-0003DS-OW for guix-patches@gnu.org; Wed, 09 Feb 2022 08:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56261) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHmw3-00044U-BP for guix-patches@gnu.org; Wed, 09 Feb 2022 08:23:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHmw2-00071o-6m; Wed, 09 Feb 2022 08:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53818] [PATCH v3 0/7] Add Repology updater Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: maximedevos@telenet.be, guix-patches@gnu.org Resent-Date: Wed, 09 Feb 2022 13:23: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: 53818@debbugs.gnu.org Cc: Maxime Devos X-Debbugs-Original-Xcc: Maxime Devos Received: via spool by 53818-submit@debbugs.gnu.org id=B53818.164441295826967 (code B ref 53818); Wed, 09 Feb 2022 13:23:02 +0000 Received: (at 53818) by debbugs.gnu.org; 9 Feb 2022 13:22:38 +0000 Received: from localhost ([127.0.0.1]:50157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHmve-00070t-JI for submit@debbugs.gnu.org; Wed, 09 Feb 2022 08:22:38 -0500 Received: from h178-251-242-94.cust.a3fiber.se ([178.251.242.94]:44788 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHmvb-00070d-QN for 53818@debbugs.gnu.org; Wed, 09 Feb 2022 08:22:36 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1644412948; bh=2yrC3cnltYaYC4LJFDhbSbQojHlJrdoDxfos1KOYDr8=; h=From:To:Subject:In-Reply-To:References:Date; b=GZScCNtmGgJL3uejcZIQzAvPqIoHrA1rtOLPlOj5Ptlxp19cDR2FD85wflID0hSFW I9poQHdvt/eu1TLPhU7UVQ1UXKM6kUlthTCS5v+1fmdgFr1jQAFEA9JI71tSUDS3B2 ZDDyGb4iZNY9jvYddM8YxVJ0vXYwV3rWz9N7F0tc= In-Reply-To: References: Message-Id: Date: Wed, 09 Feb 2022 14:22:27 +0100 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=1644413852; 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=2yrC3cnltYaYC4LJFDhbSbQojHlJrdoDxfos1KOYDr8=; b=r8LdrWj+VnehEY2Dd0TJRFXZ/0R3YhEgrof/HXMfSffFe5YZPZ3SB4tOfSgfLBe2vK7vHI AU+1OR3UZidoqzwxWF35H4UNfZg2NtZJNOQPh+8SWnxcGK1keN012cyO5nDHUbomIzWy7/ Bt9LdHPBCATwAZTUKfPxv47rBbsmUlhh06hUEt+4RMAW2u4mo2cSysbTdZHoxO0yJImhFs c3Jv+Wm4/+tSuj0bmEu7HEt2ytrCUIrDClOlJYXOk/SCM/OtJaHf89fAsmDBN1pVPaJ7vM jKpMk7ksY/HvRoN/MehUovvrp3e4ARWhN2otvzAQPKv2gJ1Mbgu61h3wI4VrqQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644413852; a=rsa-sha256; cv=none; b=OAoWDeZqKlziifFMs/DmwWlXaQzzKlAcTcx+5a8NcbQAENjNtgJK4WnQjeJxMt1E+fuqvD QpHM0wiv5XVoZiktX/YL3GveLRFLuCXFLpR39rHFmQ74l6IV4Y25VM9FPK626XoZytJBys mDi1npuPrk4XefISem5tCzIl0f1IovzllCZwNxYQ+GmCYWTxDdLuTT2jifn0pjor/No/1q vscyRk8KSIfkyKoka5NuLKNHLcq5lbN6MFqYshPvVyiXAFtY3P2QJc5CPhKK4VR4WnCoej Ke1NDbDxuCYb7jAzVNOKlSq0mMXv09eJ4otfAyj7rRW9LJ5OKH0Dh03EFru33w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=GZScCNtm; 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: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=GZScCNtm; 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: 7F32A127A8 X-Spam-Score: -3.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: rhiEoqa8GyGl --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Changes since v2: * Change =E2=80=98#:cached?=E2=80=99 argument to =E2=80=98#:http-fetch=E2= =80=99. * Invalidate cache in tests and make sure the requested URL is the one we expect. * Expound a bit on the documentation in the manual. * Some more rules for guessing the Repology name of a package. Xinglu Chen (7): upstream: Sort list of updaters. http-client: Make 'http-fetch/cached' take '#:headers' argument. http-client: 'http-fetch/cached' accepts a string or a . import: json: Make 'json-fetch' take '#:http-fetch' argument. import: Add 'repology' updater. gnu: xorg-server-xwayland: Set 'repology-name' property. gnu: xorg-server-xwayland: Prepare for cross-compilation. Makefile.am | 3 + doc/guix.texi | 8 ++ gnu/packages/xorg.scm | 8 +- guix/http-client.scm | 18 ++- guix/import/json.scm | 9 +- guix/import/repology.scm | 249 ++++++++++++++++++++++++++++++++++++++ guix/upstream.scm | 29 ++++- tests/import-repology.scm | 150 +++++++++++++++++++++++ 8 files changed, 457 insertions(+), 17 deletions(-) create mode 100644 guix/import/repology.scm create mode 100644 tests/import-repology.scm base-commit: ad9cd004c81a01e33a605221a102f4d20abe442d =2D-=20 2.34.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmIDwBMVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5ILkQAKI8fX1+49Gc4kh4Z8evUNFoLmmu VdbRLD7nXgKyqFN1YZf4ybL4C/EI15lBQOMhgiYvPUtTle1px2QvL7WxHk4/Q+Sw m0O2A4pv5E9gG38Wg3yu1gpM3g5HGOWa4Q8hAlFo/CZJlJvRRebJghm7QVETq9LM BjQxuIgxCCr7+t5psF/Vol0WK0tVemxC7PotXjMNWKzWpAcjiDPs6sFhcnX6ezDm 0UN3z8lreQ3isHUwg8+1LcfMZs9iew7/YojJytYepDUEMCVNyC90XP9SqagpIfDv KA3wDzIep22Xy3KKyEmBVsVbhcIkdCk8ctmPGMqY5VLq3wWNh9VeycTgzZr7ZVW7 DFlGE2gL3f+U4AfQ9AWtV3Xb9vh7xTH9cikrPOxwGYfjcc9T4jyZ8brgZVP6cXe0 +pxph2MkANaqiWEwFW0FRT3x56dAwg4WA04w3AJueuZJVGRL6Jsofi5378yUTmYy OhDiq5jK5dMlqq+1ianKFTaBKpEFKOCvtONSJ/hgAirNEMrCtUFJnKv72FECOVqC +Bk5VoB2S3WLANpoAP4LoAqAFGxNjLGqiOlSWlkDInflqN0uklEUYaWypmNuu8xi 8F06QOiK5XiI8Uuo9IReDtFg3IJ+Gtde+jI44NlDRBkSkoswM/D3JET75nnO2ocL KlbnNA8nXwG2ZE62 =PsR7 -----END PGP SIGNATURE----- --=-=-=--