From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 AGSQAfMCImLFrQAAgWs5BA (envelope-from ) for ; Fri, 04 Mar 2022 13:15:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oLulOvICImJ/sQAA9RJhRA (envelope-from ) for ; Fri, 04 Mar 2022 13:15:46 +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 9229E3F7A2 for ; Fri, 4 Mar 2022 13:15:46 +0100 (CET) Received: from localhost ([::1]:44716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nQ6qX-00071W-NK for larch@yhetil.org; Fri, 04 Mar 2022 07:15:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nQ6j4-0008W7-Ro for guix-patches@gnu.org; Fri, 04 Mar 2022 07:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nQ6j4-0005Jq-Ht for guix-patches@gnu.org; Fri, 04 Mar 2022 07:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nQ6j4-0003eh-AU for guix-patches@gnu.org; Fri, 04 Mar 2022 07:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54241] [PATCH 0/4] 'github' importer gracefully handles rate limiting Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 04 Mar 2022 12:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54241 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 54241@debbugs.gnu.org Cc: Nicolas Goaziou Received: via spool by 54241-submit@debbugs.gnu.org id=B54241.164639567514039 (code B ref 54241); Fri, 04 Mar 2022 12:08:02 +0000 Received: (at 54241) by debbugs.gnu.org; 4 Mar 2022 12:07:55 +0000 Received: from localhost ([127.0.0.1]:44655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQ6ix-0003eM-FP for submit@debbugs.gnu.org; Fri, 04 Mar 2022 07:07:55 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:41622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nQ6iv-0003eD-FY for 54241@debbugs.gnu.org; Fri, 04 Mar 2022 07:07:54 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id 2C7r2700K4UW6Th01C7rSl; Fri, 04 Mar 2022 13:07:51 +0100 Message-ID: <95b755ed648ffc15d7dcedb09f538a026fcfeb10.camel@telenet.be> From: Maxime Devos Date: Fri, 04 Mar 2022 13:07:39 +0100 In-Reply-To: <20220303211326.19884-1-ludo@gnu.org> References: <20220303211326.19884-1-ludo@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-nJFe1EbcV5kjQG8bQyXG" 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=1646395671; bh=gGgL70szgBylvsRFAPvrmr8whfBUW8wbr8g3Ch/IlRk=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=KGtPKyobKAVFJ5jXayqaOxZ+hqa06rT+m5tpvKW2owxjG2mGUE7lve8m0kNqjtQcd 8txDszpR7aQeOaPZJy27WzaGvsAKeJ2qlv8lm7WutS3xi4YTigtzBPA3eGioyd8dd7 4BgF3xu9xJPhXjyEOWg2qDqgk5JhVwrrsXKu9rK8tvTEd/zn928PPAAtrTrMNXyjxc Cnus7BoprACVL5xd5HzrqzM6NLRBi02RxC7ODKKPsh3HKfLSf+Y1k3rTAAoFNT9CUg k6cFQgecLxuBxEv9dnFti/WW/5k1hphyIizOiPLUggEY8DqgeRVnVERzOCmVYsCQRF sQLBz9z+p0nYA== 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=1646396146; 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=gGgL70szgBylvsRFAPvrmr8whfBUW8wbr8g3Ch/IlRk=; b=K+rRqF8pS2nnoscI+afcqTwEMLQeIKorIqHc4zqeVTG8J2v7BQVM2uoA9p9IRVsQWIsLzh QGhaqDtx48wJRPL8UA21aR0eagxPX6tg2WDWlw/ljihM9TL18qZR5JAbm+t6O6v+QEj8Sz /6HEwU0nc3F0JqYWFyVvxLP3o95YLdCUvlZJKubhPwpTXp8rzDdELezi6zAgVbUNVd3dyd d58HQ9x+qM8Qtkl8iy+Fxxrur5CJcI75UDGh5oEv07IKymkkWXs+YUnrkBzZFhOXbIksl4 fKQdlPPOeGKNa1pKxipMCLnxNEuBdiDxWZda8Zc+atpWUD/h9rdzBevBfMRAFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646396146; a=rsa-sha256; cv=none; b=PrYeeCdSejBB2iR0gXohI3hU/oyMEtlN4D8wuymIZUsy+MWsoh9NXwp/cAKXqZq8/ONjRT 5xRsO1WEpzLP0277OBUzaCPaA+o2pC1C+dFF9Dacb8pL2AAhMSLAyFn1XaG6+myYNpJAmN 6CZk16NiRdk2UPLhfNaJ1HXTYgyhHpLVuslDVeyijwQiodvb/BIL2YBDMbKPFRC6+A/PRl Zy6J6bFOCCLYczInyij7yLEmGD8+F6UfhsVchxs6qCT8hsVXdumeJbuJo+J1F8W2XYncAw k4Pb5wB/KSFOd7nVdtj8vphqAwJj+WooQCwrbpSVEZ5Xq9P0I+CZa7VX2Pkh/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=KGtPKyob; 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: 3.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=KGtPKyob; 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: 9229E3F7A2 X-Spam-Score: 3.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: fN1Fy+CprLrX --=-nJFe1EbcV5kjQG8bQyXG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op do 03-03-2022 om 22:13 [+0100]: > With this change, =E2=80=98guix refresh=E2=80=99 warns you when the GitHu= b rate limit > is reached, but it keeps going, falling back to the =E2=80=98generic-git= =E2=80=99 > updater if it=E2=80=99s among the applicable updaters: > [...] WDYT of avoiding the rate limit by caching, using 'http-fetch/cached'? GitHub does not count requests setting If-Modified-Since against the rate limit (assuming the answer hasn't changed). Greetings, Maxime. --=-nJFe1EbcV5kjQG8bQyXG 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+4iGRcl7gUCYiIBCxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7t5yAQC+3yNlyI6OSvD+d9Nk6/bCLR4U re/eXuU1WtqQYUQTbgD/ciWDY+7ouehsvsUS2Nm4XoZXgoC4yDagQtzuibXj9AE= =SckA -----END PGP SIGNATURE----- --=-nJFe1EbcV5kjQG8bQyXG--