From unknown Thu Aug 14 21:49:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#61324 <61324@debbugs.gnu.org> To: bug#61324 <61324@debbugs.gnu.org> Subject: Status: [PATCH] download: Add bordeaux.guix.gnu.org as a content addressed mirror. Reply-To: bug#61324 <61324@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:49:53 +0000 retitle 61324 [PATCH] download: Add bordeaux.guix.gnu.org as a content addr= essed mirror. reassign 61324 guix-patches submitter 61324 Christopher Baines severity 61324 normal tag 61324 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 06 10:55:18 2023 Received: (at submit) by debbugs.gnu.org; 6 Feb 2023 15:55:18 +0000 Received: from localhost ([127.0.0.1]:49653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP3pt-00047t-Ku for submit@debbugs.gnu.org; Mon, 06 Feb 2023 10:55:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:41070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pP3pn-00047c-1k for submit@debbugs.gnu.org; Mon, 06 Feb 2023 10:55:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pP3pm-0005VR-0l for guix-patches@gnu.org; Mon, 06 Feb 2023 10:55:10 -0500 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pP3pk-0002Wd-4a for guix-patches@gnu.org; Mon, 06 Feb 2023 10:55:09 -0500 Received: from localhost (unknown [IPv6:2a02:1808:200:8622:f055:17e:cfb4:2]) by mira.cbaines.net (Postfix) with ESMTPSA id A3FF527BBE9 for ; Mon, 6 Feb 2023 15:55:06 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id df7b81f4 for ; Mon, 6 Feb 2023 15:55:05 +0000 (UTC) From: Christopher Baines To: guix-patches@gnu.org Subject: [PATCH] download: Add bordeaux.guix.gnu.org as a content addressed mirror. Date: Mon, 6 Feb 2023 16:55:05 +0100 Message-Id: <20230206155505.6397-1-mail@cbaines.net> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) bordeaux.guix.gnu.org now provides access to some files by hash. This is done through the nar-herder finding a nar produced by a fixed output derivation for the requested content, and then providing the content stored inside that nar. I've put this new entry at the start of the list, as I think it's more likely to have content than the others. Because bordeaux.guix.gnu.org stores nars indefinitely, my suspicion is that it's going to be able to fulfil more requests than ci.guix.gnu.org, which relies on the file requested being in the store (so the now frequent garbage collection is going to limit the files available). * guix/download.scm (%content-addressed-mirrors): Add bordeaux.guix.gnu.org. --- guix/download.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/guix/download.scm b/guix/download.scm index fff54d7a17..561a893eee 100644 --- a/guix/download.scm +++ b/guix/download.scm @@ -387,7 +387,11 @@ (define (guix-publish host) file "/" (symbol->string algo) "/" (bytevector->nix-base32-string hash)))) - (list (guix-publish "ci.guix.gnu.org") + (list (guix-publish + ;; bordeaux.guix.gnu.org uses the nar-herder rather than guix + ;; publish, but it supports the same style of requests + "bordeaux.guix.gnu.org") + (guix-publish "ci.guix.gnu.org") (lambda (file algo hash) ;; 'tarballs.nixos.org' supports several algorithms. (string-append "https://tarballs.nixos.org/" -- 2.38.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 10 17:41:53 2023 Received: (at 61324) by debbugs.gnu.org; 10 Feb 2023 22:41:53 +0000 Received: from localhost ([127.0.0.1]:38266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQc5Y-00022E-Qi for submit@debbugs.gnu.org; Fri, 10 Feb 2023 17:41:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQc5T-00021w-UF for 61324@debbugs.gnu.org; Fri, 10 Feb 2023 17:41:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQc5O-0004oH-Gs; Fri, 10 Feb 2023 17:41:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=4uDs24xq+ko89a1eEoEziKOFT4k+l7AIhKAZLx4ocQo=; b=QeG4cGCihMqSu1hzek36 XYDq5tjp+um4RW/zHrh3pbkaGClWn86dvXgigx0NFxCEEI36JhRgQ9AP5YXpNCNczJ40FFj/WwQWf XjcE1wGytssfHugCskRwYQ+llyl8W8APA5iHKTQ+mwhnygFTh7L7XKxjUYuyEGzEE1rEGFMl3yDWf tq4ZGdOQkbtV5hNRzN3mzTjSYfFxT00KWu8lK6fFF37Clvg3gf8h6kXEdPkFW22Sd+wPnIaejPv73 oHudleXkwXcdcRaP9/Hu6SMh4lR8UMVNGgAoM0I8zpKLMsGSeib8L1KZfItqAY9Apo+CeOvPNes7k yq/LuS3gyDWnpA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQc5N-0006NR-Qc; Fri, 10 Feb 2023 17:41:42 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christopher Baines Subject: Re: bug#61324: [PATCH] download: Add bordeaux.guix.gnu.org as a content addressed mirror. References: <20230206155505.6397-1-mail@cbaines.net> Date: Fri, 10 Feb 2023 23:41:39 +0100 In-Reply-To: <20230206155505.6397-1-mail@cbaines.net> (Christopher Baines's message of "Mon, 6 Feb 2023 16:55:05 +0100") Message-ID: <877cwpp2ho.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61324 Cc: 61324@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! Christopher Baines skribis: > bordeaux.guix.gnu.org now provides access to some files by hash. This is = done > through the nar-herder finding a nar produced by a fixed output derivatio= n for > the requested content, and then providing the content stored inside that = nar. Nice! > I've put this new entry at the start of the list, as I think it's more li= kely > to have content than the others. Because bordeaux.guix.gnu.org stores nars > indefinitely, my suspicion is that it's going to be able to fulfil more > requests than ci.guix.gnu.org, which relies on the file requested being i= n the > store (so the now frequent garbage collection is going to limit the files > available). Right, could be. (At one point we had nginx caching for /file URLs; not sure if that=E2=80=99s still the case, and it wouldn=E2=80=99t really solve= the problem.) > * guix/download.scm (%content-addressed-mirrors): Add bordeaux.guix.gnu.o= rg. > --- > guix/download.scm | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/guix/download.scm b/guix/download.scm > index fff54d7a17..561a893eee 100644 > --- a/guix/download.scm > +++ b/guix/download.scm > @@ -387,7 +387,11 @@ (define (guix-publish host) > file "/" (symbol->string algo) "/" > (bytevector->nix-base32-string hash)))) >=20=20 > - (list (guix-publish "ci.guix.gnu.org") > + (list (guix-publish > + ;; bordeaux.guix.gnu.org uses the nar-herder rather than guix > + ;; publish, but it supports the same style of requests > + "bordeaux.guix.gnu.org") > + (guix-publish "ci.guix.gnu.org") LGTM, thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 16:05:27 2023 Received: (at 61324-done) by debbugs.gnu.org; 11 Feb 2023 21:05:27 +0000 Received: from localhost ([127.0.0.1]:43382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQx3m-0003hL-VQ for submit@debbugs.gnu.org; Sat, 11 Feb 2023 16:05:27 -0500 Received: from mira.cbaines.net ([212.71.252.8]:42206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pQx3i-0003h6-Vx for 61324-done@debbugs.gnu.org; Sat, 11 Feb 2023 16:05:24 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:3a91:a0a4:ecee:f157]) by mira.cbaines.net (Postfix) with ESMTPSA id 8689C16283; Sat, 11 Feb 2023 21:05:21 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 25c092a4; Sat, 11 Feb 2023 21:05:21 +0000 (UTC) References: <20230206155505.6397-1-mail@cbaines.net> <877cwpp2ho.fsf@gnu.org> User-agent: mu4e 1.8.11; emacs 28.2 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61324: [PATCH] download: Add bordeaux.guix.gnu.org as a content addressed mirror. Date: Sat, 11 Feb 2023 21:04:46 +0000 In-reply-to: <877cwpp2ho.fsf@gnu.org> Message-ID: <87ilg752wh.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61324-done Cc: 61324-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: >> * guix/download.scm (%content-addressed-mirrors): Add bordeaux.guix.gnu.= org. >> --- >> guix/download.scm | 6 +++++- >> 1 file changed, 5 insertions(+), 1 deletion(-) >> >> diff --git a/guix/download.scm b/guix/download.scm >> index fff54d7a17..561a893eee 100644 >> --- a/guix/download.scm >> +++ b/guix/download.scm >> @@ -387,7 +387,11 @@ (define (guix-publish host) >> file "/" (symbol->string algo) "/" >> (bytevector->nix-base32-string hash)))) >>=20=20 >> - (list (guix-publish "ci.guix.gnu.org") >> + (list (guix-publish >> + ;; bordeaux.guix.gnu.org uses the nar-herder rather than gu= ix >> + ;; publish, but it supports the same style of requests >> + "bordeaux.guix.gnu.org") >> + (guix-publish "ci.guix.gnu.org") > > LGTM, thanks! Awesome, I've gone ahead and pushed this as 7d0ebe040d80adcf143656e754a82b569243568c. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmPoAw5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xdecw/9H4WtdqCMQUFhBfpyLX836iADd/DuuvyF TAo+CcxxksA0eWXY2qRZ/6IqtRuKBM7KpQDoXKegHnY37K3OyOb+k08ptfc5QBJ/ ckGz/xvHmWhm2V5iNCXmfWRzZQBn//ZJOsTvtkbK3qC/2QX1NcrobIinuuj/Nhvm yr+cSjz8YWOEbCYIISAPuqeWEKkXh9hyOY7h0nTDkJu6J+cXN29drLSbFWyzU3Sx NSOR9ZwVNpjKnGONXEALJxoSf/Toq8fPKhMBjKUvtG5R57RxeebeIlyB7lZeEgfB DhvaAvFwvlJ9AMZj2S9yOav/CMVw7dpMyvNiiGrU+sUHhI4J5XkN8DIbtjbDWNve lOS1P3k4VfrSMDy+Ua6i7of+1GATjLKdOYFRm/sKbgho7dSt8vD0ER7+f6aocjMn P0TVmMxFGYur9rqAgut3iMcb82bTbP32TurgXqNeYZknefFeS3iltS4UOgbAT1Gy 0nzzD1j/R8AqdOxRwRVZaUsj7owdZkU6y6lkhExDV7EJzi0t2bYuo6tNVuqClP3C yBMKZ8pgxndQqBhiaOdMEAwD+rKUW4esKcD/SVxsbMJJL/Cw0mpen00vtxmNYYUe 6Kuvyx/8CXU9zeJeq5Oq/NXkFVwjDtoHR7wSVlzpIjMVLUqRyMX1yJAirB0pid5Y xuNIQr9NcXs= =Idq0 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 16 06:47:52 2023 Received: (at 61324-done) by debbugs.gnu.org; 16 Feb 2023 11:47:52 +0000 Received: from localhost ([127.0.0.1]:35031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pScjw-0006pl-5x for submit@debbugs.gnu.org; Thu, 16 Feb 2023 06:47:52 -0500 Received: from mail-wr1-f43.google.com ([209.85.221.43]:41923) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pScjq-0006oH-D2 for 61324-done@debbugs.gnu.org; Thu, 16 Feb 2023 06:47:47 -0500 Received: by mail-wr1-f43.google.com with SMTP id bu23so1559798wrb.8 for <61324-done@debbugs.gnu.org>; Thu, 16 Feb 2023 03:47:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1676548061; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=6gxEErUlvMOPnPOVABXuMdD3GA8gZSpMzZdXT55ZRxo=; b=qZUYJvsCLQtlo8NoGn7mSQ9KtDESuTqrMxhs/D3PTFA4uFqw2t3as84tnjvDq6aLOe y1vxSaKX2SIdpoBzFZCVXbUwa3NDjxqg4FpeTmUG6NHu6IcVJ9bjsrX7AenZo3p9u6lm doQnZ97tqXCNN4dtGW54cUPt2ESfEynBY1xL653MsLBYpKmVeRqj0YFSHylrL61Y7o+T 7u7yeEx8SEwRo8D8dNoNctJ0rUiQ1Wzs1GyfKaOzLvZ7Az/vj0JKeHDYKQWcxuW6BWFQ 0wFQmxVsVzVDR0P91lnx4Hi7wWO5NXSvhlSIHYp1Cpqwu/YqUFOLCPo+TOQrO+ZDTcDw UNrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1676548061; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=6gxEErUlvMOPnPOVABXuMdD3GA8gZSpMzZdXT55ZRxo=; b=JCt96pnqgQFWb1jdDTVFRjjQJo9kzQZ9dB1CBwTbk2OHPjbmOIv+cuy2lRA/mt4LHo Sn6PDFeQQwrEUeOihe0xQYH/NhCrXcHBEc4QyxgnFMioh3asvuVwu6ubfZJenVKZCjdi rAQU0mgcv0mcuhCMEnv2r6vuBIN3lxYcAamjPhczqaMOgE6TJ8RRYz6/AP2dRp8GhUxC PwVb8qvVuIHE0o5Dg4xMPDhpT3zkdY8vS/AQcKuowTTzVhXjrCHEGYyW9Dv7qC8eKba9 jcPojcCLCr1K8UY8/rNAqKS4aU9HDqknwXVpw7B0qz8S77TOnMwJWZ8Ae7SY0LHex4Cg ofuw== X-Gm-Message-State: AO0yUKUpX+qbawr5QXnBoxeYLCfPkp3t7BHAbeRuzXSua81m6BYW0yAJ 2SXPOQygdUGj0sE+FBqmErXCNAPantY= X-Google-Smtp-Source: AK7set+WwwEpdlOxBlHwJ0d7aS/QZsexSEfXF/OGZz0SYEagEeP22TrFNYvPYnBF44bgIwtOCKVE8g== X-Received: by 2002:a5d:688d:0:b0:2c5:4d95:5381 with SMTP id h13-20020a5d688d000000b002c54d955381mr2779218wru.1.1676548060778; Thu, 16 Feb 2023 03:47:40 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id e14-20020a5d530e000000b002c553e061fdsm1233494wrv.112.2023.02.16.03.47.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 03:47:40 -0800 (PST) From: zimoun To: Christopher Baines , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#61324: [PATCH] download: Add bordeaux.guix.gnu.org as a content addressed mirror. In-Reply-To: <87ilg752wh.fsf@cbaines.net> References: <20230206155505.6397-1-mail@cbaines.net> <877cwpp2ho.fsf@gnu.org> <87ilg752wh.fsf@cbaines.net> Date: Thu, 16 Feb 2023 11:13:24 +0100 Message-ID: <86sff5c3zv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61324-done Cc: 61324-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, I am late to the party. :-) On Sat, 11 Feb 2023 at 21:04, Christopher Baines wrote: >>> - (list (guix-publish "ci.guix.gnu.org") >>> + (list (guix-publish >>> + ;; bordeaux.guix.gnu.org uses the nar-herder rather than guix >>> + ;; publish, but it supports the same style of requests >>> + "bordeaux.guix.gnu.org") >>> + (guix-publish "ci.guix.gnu.org") The attempts are done in the order of the list, right? First, it tries bordeaux.guix.gnu.org, then ci.guix.gnu.org, then tarballs.nixos.org. Somehow it does not really matter, just to be sure the pressure is not too much for the resources behind Bordeaux. :-) Cheers, simon From unknown Thu Aug 14 21:49:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 17 Mar 2023 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator