From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 iGBzA5Xs/2EwWwAAgWs5BA (envelope-from ) for ; Sun, 06 Feb 2022 16:43:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uATAN5Ts/2FBqwAAG6o9tA (envelope-from ) for ; Sun, 06 Feb 2022 16:43:16 +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 AE4A123F4A for ; Sun, 6 Feb 2022 16:43:16 +0100 (CET) Received: from localhost ([::1]:41994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGjh5-0003x0-VZ for larch@yhetil.org; Sun, 06 Feb 2022 10:43:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGjgu-0003w7-0d for guix-patches@gnu.org; Sun, 06 Feb 2022 10:43:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGjgr-0007Ku-Ls for guix-patches@gnu.org; Sun, 06 Feb 2022 10:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGjgr-0003Hg-KZ for guix-patches@gnu.org; Sun, 06 Feb 2022 10:43:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53818] [PATCH 2/3] import: Add 'repology' updater. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Feb 2022 15:43: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: Maxime Devos , 53818@debbugs.gnu.org Received: via spool by 53818-submit@debbugs.gnu.org id=B53818.164416212712542 (code B ref 53818); Sun, 06 Feb 2022 15:43:01 +0000 Received: (at 53818) by debbugs.gnu.org; 6 Feb 2022 15:42:07 +0000 Received: from localhost ([127.0.0.1]:39604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGjfy-0003GE-S4 for submit@debbugs.gnu.org; Sun, 06 Feb 2022 10:42:07 -0500 Received: from h178-251-242-94.cust.a3fiber.se ([178.251.242.94]:35440 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGjfx-0003Fh-Fs for 53818@debbugs.gnu.org; Sun, 06 Feb 2022 10:42:06 -0500 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yoctocell.xyz; s=mail; t=1644162119; bh=rp8ub8lBMRvRV5FRXcgx4pMTY03fYoWkJrp0VC0heeA=; h=From:To:Subject:In-Reply-To:References:Date; b=GWRKlXl7n9Ml0e52KHPDZyf8JlbK6hmv1V8qH0PG1PqCbcu3womHnVT59tzclTQgR eQaXct0Avry6PVkg8d0EBy0fvHIWSySHcoSMgDxenAdgOqCOh1ZkUqnEwYu3qmn54J o1Ct07maK31GMnJLHWuxCLJ+tgRYEG3BFb4LVtso= In-Reply-To: References: <88f866aff65c0ec9611b6cc0ee9d680ba711df38.1644147246.git.public@yoctocell.xyz> Date: Sun, 06 Feb 2022 16:41:58 +0100 Message-ID: <87sfsw0zp5.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=1644162196; 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=rp8ub8lBMRvRV5FRXcgx4pMTY03fYoWkJrp0VC0heeA=; b=UvgL28Rgo+DMVgRYUPQ2IcugIYvpXCfgKLfrwaDckuxDdOjYUZ4HNYCJbUcBCHexNLlcyY P/5Yf8mzai5yiuvyoLIBDhISnWGwlI2ZHJrAXlXt2ObI+cQDi1SKmUFqRmIaWFPwlxtRL5 Sb7+ad29LfEKs6VcQGAykM3VA1VFxEGcpwGvQc9AEsWkeeed84/hB+/7FH+7L3cuF8bAJD Q+X4yK++i3FGAUhGweBwM5UU37/obR/cC9qxY0r0/0xaHbE4RrUnM0nNj+4PFwdNQNwI+d czLnAfdAzqT+i+ZZRoSUYKeLy8ACIRmtrAwR2txyfYrdBG644lHAHBm4zJwGlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644162196; a=rsa-sha256; cv=none; b=KvkV9/s3Stcnu+qTXI5TQD5Z0NLLfrzCGO4d03OqLu2iAlvye5BDSKU1XwV22nMMxAEW3Z L1ZOCn0h2l7t/oYX2n9tw1pus8ZIxOUtf4uCZ4LydDj4RwjY5j+cyvu38WX8JROzyWqZ4N QlbmKbeeqWaZ9lkp8zVPPIjVLDGNtJoPMRAQufkuJPIgiJpwDdUdUzffnMSGec7wORhgJ7 Qa62wCJqYoh7y0ZZ14SZ/hbFmplG1b/53ScYe118ps4bPFWfgxaCEYTCO8+8+5etwuLxSP R1ohxlaRMEMWcX9HrbRJPsWb6B6tm5PcAt5MczO+nrmWlU71JDTkwEjOU9S1IQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=GWRKlXl7; 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=GWRKlXl7; 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: AE4A123F4A X-Spam-Score: -4.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: dRlI0qY7eUel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Maxime schrieb am Sonntag der 06. Februar 2022 um 14:23 +01: > 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 u= rl) > > 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. That would be a good idea. It seems like =E2=80=98http-fetch/cached=E2=80= =99 doesn=E2=80=99t take a #:headers argument, so it will have to be modified first. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmH/7EYVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5TyoQAKJoZTiWm/F/zx+lvryIDHqQTXTe Mri7zJwKEp6PTCVlper+yF63FzBaCvkaFDytjfgycPTMLN9m0fU823XY+yZxcteF Z84Q7JbZ/YqmhG1oB6gp+ODwabk+mQ2horboXUzAeGVVGzoZwGQo/rnVhZYZdzRK GhG6G366qY8KjvojHAy9vVHvUTg9myzxbyKN7b8ady95lbhqJC3+bDl0Am/vCPD/ U+1IKCEetOV1dTpY8ZgZTji/H+z+0u36qH6cdwPK5/m70xN7K0w/OqTAkmFD/e1/ x6O/ybbNgMmeOGFqbtRLcywr3LtQDrDwSpLfsgYv//yi7b6MbigHAtW6Bu9ui4bZ FTkh3fpSQUkisFzwu2vGSZRsP0ngU98FY1XU3WwuuAzJQ4JDfVKVg8iWiZG15X8q +iRq6mld8s4IFQjPYkR/xKHhVJOaPQx6AqGcDW6DC1jFrazWLB9ULve85Bz0iZSo aMwJpSNjv3tCfrbnzd60yFhNJb/aX7Cpvpwer5YOGRL+TWVEIIR50k8IKyioZyZc qzg3qkaSW175NR8S/pC6Mu0PEO7FF+wwUrCmTdSRnfSQtfrmir/2fI/p3fS01KuN OcjAPukPiCgcEy45yQccMGqKhTYX26iLqEcymkZ1Ew7pPNlCD4aG7Ncira5aa1gL 5FHJw34trYbQ5PIU =FJZz -----END PGP SIGNATURE----- --=-=-=--