From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UEM9KkzI5mPD+gAAbAwnHQ (envelope-from ) for ; Fri, 10 Feb 2023 23:42:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sNlLKkzI5mP/uQAA9RJhRA (envelope-from ) for ; Fri, 10 Feb 2023 23:42:20 +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 874E21A9C7 for ; Fri, 10 Feb 2023 23:42:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQc5l-0004Wb-2A; Fri, 10 Feb 2023 17:42:05 -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 1pQc5j-0004WD-AS for guix-patches@gnu.org; Fri, 10 Feb 2023 17:42:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pQc5i-0004sq-Sa for guix-patches@gnu.org; Fri, 10 Feb 2023 17:42:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pQc5i-00022k-BA for guix-patches@gnu.org; Fri, 10 Feb 2023 17:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61324] [PATCH] download: Add bordeaux.guix.gnu.org as a content addressed mirror. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Feb 2023 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61324 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 61324@debbugs.gnu.org Received: via spool by 61324-submit@debbugs.gnu.org id=B61324.16760689137831 (code B ref 61324); Fri, 10 Feb 2023 22:42:02 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676068940; a=rsa-sha256; cv=none; b=bBmPsTEB4CJPKTwBTwfb/6ttS80KxJQ52321Ncijtpq3x5OFgCyXTTTZzfE+kvDC6xhcha I9YBEUwxtKTRFNqcdFJRLQuHS960BccSJlsaeiOuQOym0ZMWjfA4YdmAtK56/XhHWbLCf2 P2PqANOmUdponuvFuX/83h0TVphbi/kiKDpQUOWgNWS+9HD8XxmGdErAHwr/wgglwulub0 uyJ89TXZYILDGKbKIjfM0fyov+sZkq31SK1MtwklXOnzQkChW3XxfBYjUiNmaVrd8vcZyF Dt3R6PYWO+DUIKHVQRAIFG3WlAnLbTD+ullzz8L5FHDNYaBcpsmQBGgVQomEiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=QeG4cGCi; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676068940; 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: content-transfer-encoding:content-transfer-encoding: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=4uDs24xq+ko89a1eEoEziKOFT4k+l7AIhKAZLx4ocQo=; b=VtmqxZDXCS3JMHHDuyxLWNuCWtkyCygTcxVSPkkr3jOiLx1Mw8b9L2zqlk1k74Mf3XNdNf 3HRBV/ihrjYmbfLyTaTLtu8v9hzmqQZzyeDo+gtT07Laje2oRWJY/JGhMufyBjpqwkhEkI Tq82WbbEKpl4tAOdVepAQtmBJZMMxFX9vLnO6IAgib3k7OsnwnJmJNt9pJmGQRHPPbFpSF 48Fh5sf7Gr1P1V+uJVI5W5jRoIM10qr3FH28O3QndyLvGGdaIzew/wq5XF0CcRmJHO2nfw jupQDA1LfkQNEnV/UpwaIUuH/kOLbCw+Xee4dJiq4+1gK63A7Zk2Qmk5MV7MvQ== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=QeG4cGCi; dmarc=pass (policy=none) header.from=gnu.org; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.01 X-Spam-Score: -4.01 X-Migadu-Queue-Id: 874E21A9C7 X-TUID: kqlRWe1lhPfu 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.