From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Content-addressed mirrors for tarballs Date: Mon, 16 May 2016 14:27:54 +0200 Message-ID: <87eg92yyph.fsf@gnu.org> References: <871t530yvd.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2Hmd-0005kp-1W for guix-devel@gnu.org; Mon, 16 May 2016 08:38:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2HmX-0003Go-3Z for guix-devel@gnu.org; Mon, 16 May 2016 08:38:02 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:41677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2HmW-0003Fz-Sx for guix-devel@gnu.org; Mon, 16 May 2016 08:37:57 -0400 In-Reply-To: (David Thompson's message of "Sun, 15 May 2016 18:34:59 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: "Thompson, David" Cc: Guix-devel "Thompson, David" skribis: > On Sun, May 15, 2016 at 5:56 PM, Ludovic Court=C3=A8s wrot= e: >> Hello Guix! >> >> Commit cd436bf05a8344acf4462f3602e7d360821a902a allows source tarballs >> to be fetched from content-addressed mirrors, such as tarballs.nixos.org >> (I expect other mirrors will be added soon.) >> >> By default, URLs of the style http://tarballs.nixos.org/sha256/XYZ are >> automatically appended to the list of URLs that=E2=80=99s explicitly spe= cified. > > This is a really cool feature! It would be nice to have =E2=80=98guix publish=E2=80=99 publish such URLs, = but there=E2=80=99s currently no RPC to query a store item by hash. Alternately, we could have a tool that produces the files to be published statically (by traversing the package DAG and collecting =E2=80=98origin=E2=80=99s, for instance.) Ludo=E2=80=99.