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 ms0.migadu.com with LMTPS id WG03OiDM/2HV8gAAgWs5BA (envelope-from ) for ; Sun, 06 Feb 2022 14:24:48 +0100 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 uI+aNiDM/2EJBAAAauVa8A (envelope-from ) for ; Sun, 06 Feb 2022 14:24:48 +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 AD1AB17752 for ; Sun, 6 Feb 2022 14:24:48 +0100 (CET) Received: from localhost ([::1]:56176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGhX5-00063n-QD for larch@yhetil.org; Sun, 06 Feb 2022 08:24:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGhWM-0005r5-7t for guix-patches@gnu.org; Sun, 06 Feb 2022 08:24:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGhWL-0003Dl-V2 for guix-patches@gnu.org; Sun, 06 Feb 2022 08:24:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGhWL-0007S9-On for guix-patches@gnu.org; Sun, 06 Feb 2022 08:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53818] [PATCH 2/3] import: Add 'repology' updater. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Feb 2022 13:24: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: Xinglu Chen , 53818@debbugs.gnu.org Received: via spool by 53818-submit@debbugs.gnu.org id=B53818.164415378528568 (code B ref 53818); Sun, 06 Feb 2022 13:24:01 +0000 Received: (at 53818) by debbugs.gnu.org; 6 Feb 2022 13:23:05 +0000 Received: from localhost ([127.0.0.1]:36799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGhVR-0007Qh-Ju for submit@debbugs.gnu.org; Sun, 06 Feb 2022 08:23:05 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:59760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGhVQ-0007Qa-HA for 53818@debbugs.gnu.org; Sun, 06 Feb 2022 08:23:04 -0500 Received: from [172.20.10.5] ([188.188.251.13]) by xavier.telenet-ops.be with bizsmtp id rpP3260010J677g01pP3QR; Sun, 06 Feb 2022 14:23:03 +0100 Message-ID: From: Maxime Devos Date: Sun, 06 Feb 2022 14:23:02 +0100 In-Reply-To: <88f866aff65c0ec9611b6cc0ee9d680ba711df38.1644147246.git.public@yoctocell.xyz> References: <88f866aff65c0ec9611b6cc0ee9d680ba711df38.1644147246.git.public@yoctocell.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-LwLxvPCddHM9kkTGojsZ" 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=1644153783; bh=0wT8KeC8NFgbuHeP6pow73cGoFS4XbP/q40MZzmyMMg=; h=Subject:From:To:Date:In-Reply-To:References; b=WBVj96bQ+OvA3P01kpcr0N0dXB1MtyHYyHb9ashUzQqvuTmisAOQv7E0+1Bxxyqix WfgV8vqO6pFlodCgDOcmiU7BAevGGE+ubTCKItzxjnm7kwafJI6CXON5DiUQWTGdDV No4mgT+WlC36NsIr8ehbsCz9PY+jd3tNl3cf0YTx5lOxdXLA/YTB5E9vHYBoTfcjeG RcDjZq87l1opZGSV/tvuD8cDWPQPgxKmabDyBZHpx8ZOqfhBb3onFeDzwh4hHesrc6 aZYKSBtXDtkcfxiXO783CAuK7sAPzb2l/9i57we36UHB6cUN0xB/DXx+1Onja3jwFC f1Tp4HidktysA== 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=1644153888; 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=0wT8KeC8NFgbuHeP6pow73cGoFS4XbP/q40MZzmyMMg=; b=kOHvI+GX+Kmpy2AVL6Ddl8ynvXvRFA59TMvD//1EDNnWr1R2l06SMESfcPUhDw4QVj4wkH Ziyr6Ql7BmTQASXZtN/RbyRgVNS+L808lJCFo2KxGOnSK/EuURIjFOtRKkK2filX45+DuX 5BpKLUD9fTGnKkkfvwUEBrKAjdKRqMTRsm+iud0aeBCYQ97cYf2V+rctU9Re+276KkxrA3 u5sbINjMA4wRZObNyEwgU/JHryUIIil1ksdFLUKXNQ9WwLOIZcjGsvTO3+piRUtS6AIzpQ IPjAeqBNSepVRB80kdENM3699+rDvZAkk7KYSy2VFReNez6gYQKJzlXzYk7Lbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644153888; a=rsa-sha256; cv=none; b=Ysuec3bHx8NTHjZFgZZbVpzF58XQXwoTJDB1OElbeNCF2TuxYA3q3fnJy4WSjlCxpiSPEm AZK+0ARMD5/GfG1Ne21NsjKrj86XxQzZ2qHn3CBlOIFySMV5OvbfoYqnGTpb8mImlqTr24 oB//4mfyWWS1u5qocYkrHJHPRyuYu0g6dHrolCWUL7S4ggKjkGP4LxsyiuHvqfntHIdlyx kKcFbEhY9aVWh4VIK4MwOca/77HHjIcCRNMj5fqoYgf4Uimin/+GE0AE3gAW0BOr893Vn2 49VfyeVQ7V2BwDDgi4HH2zwsIL6H4QjzNKgGjhTON8iBGMqhGD0RZppySsRehQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=WBVj96bQ; 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: -5.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=WBVj96bQ; 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: AD1AB17752 X-Spam-Score: -5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: W11VFhm+Ouoj --=-LwLxvPCddHM9kkTGojsZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xinglu Chen schreef op zo 06-02-2022 om 14:00 [+0100]: > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (and=3D> (json-fetch ur= l) Given that we'll be contacting 'repology' for _every_ package when doing "guix refresh -l", some caching seems in order. Could 'http-fetch/cached' be used here? json-fetch may need to be modified to allow overriding the http-fetch procedure used. FWIW this could be useful for some other updaters (e.g. the Minetest/ContentDB updater), to a lesser degree. Greetings, Maxime. --=-LwLxvPCddHM9kkTGojsZ 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+4iGRcl7gUCYf/LthccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7tv6AQC4gGDjZ9WlWzsCljnPTXWLpzZG Sj55w0l5G64qxJU7EQD+J/6N8jvtHLoIVN4zhjjnslERQHhR82tFJroVb32yvwQ= =LCp2 -----END PGP SIGNATURE----- --=-LwLxvPCddHM9kkTGojsZ--