From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:40443) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAAg7-0006xn-Jt for guix-patches@gnu.org; Fri, 06 Mar 2020 05:58:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAAg6-0001v2-Ca for guix-patches@gnu.org; Fri, 06 Mar 2020 05:58:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jAAg6-0001uF-7f for guix-patches@gnu.org; Fri, 06 Mar 2020 05:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jAAg6-0007pH-66 for guix-patches@gnu.org; Fri, 06 Mar 2020 05:58: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: <87k13yai68.fsf@gnu.org> Date: Fri, 06 Mar 2020 11:57:01 +0100 In-Reply-To: (zimoun's message of "Fri, 6 Mar 2020 10:26:36 +0100") Message-ID: <87sgiloio2.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 Hi Simon! zimoun skribis: > On Thu, 5 Mar 2020 at 17:19, Ludovic Court=C3=A8s wrote: [...] >> Yes, I think =E2=80=98sources.json=E2=80=99 should contain, for each ite= m, a list of >> URLs rather than a single URL, and mirror:// URLs should be expanded. > > Yes, now it is accepted [1] and it becomes the format of the > 'sources.json' file. > > [1] https://forge.softwareheritage.org/D2025#65063 Excellent! > The patch set v2 supports the first discussion of the format (single > url); which is not relevant anymore. > The patch set attached in v3 [2] supports the array of URLs. > > [2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39547#35 Oh sorry, I hadn=E2=80=99t seen it. >> However, =E2=80=98sources.json=E2=80=99 is currently specified to contai= n a single URL, >> so we=E2=80=99re stuck with a single URL for now. >> >> Is that what you meant? > > What I mean is: append %content-addressed-mirrors for each package in > the list of URLs. Now I understand. :-) So yes, sure, the array of URLs in =E2=80=98sources.json=E2=80=99 could include a ci.guix.gnu.org URL and mayb= e the other ones in there too. For a subsequent patch I guess? Thanks! Ludo=E2=80=99.