From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57422) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9tEF-0007bI-Jx for guix-patches@gnu.org; Thu, 05 Mar 2020 11:20:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9tEA-0006b0-Sj for guix-patches@gnu.org; Thu, 05 Mar 2020 11:20:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37643) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9tEA-0006av-Pr for guix-patches@gnu.org; Thu, 05 Mar 2020 11:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9tEA-0007sn-La for guix-patches@gnu.org; Thu, 05 Mar 2020 11:20:02 -0500 Subject: [bug#39547] Addition of %content-addressed-mirrors to sources.json (SWH)? Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Thu, 05 Mar 2020 17:19:11 +0100 In-Reply-To: (zimoun's message of "Tue, 3 Mar 2020 19:00:23 +0100") Message-ID: <87k13yai68.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: zimoun Cc: 39547@debbugs.gnu.org Hello! zimoun skribis: > Some upstream sources could disappear between the moment when the > package enters in Guix and the moment when SWH ingests it. (As an edge > case, let consider the recent harfbuzz one.) > > Now the format 'sources.json' should accept an array. Does it make > sense to put in this array the content addressed mirrors > (ci.guix.gnu.org and tarball.nixos.org)? Yes, I think =E2=80=98sources.json=E2=80=99 should contain, for each item, = a list of URLs rather than a single URL, and mirror:// URLs should be expanded. However, =E2=80=98sources.json=E2=80=99 is currently specified to contain a= single URL, so we=E2=80=99re stuck with a single URL for now. Is that what you meant? Thanks, Ludo=E2=80=99.