From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: About guix mirror build script Date: Tue, 10 Mar 2020 10:20:53 +0100 Message-ID: <87k13so9ai.fsf@elephly.net> References: <75a8a31c.2954.170c24939b1.Coremail.tumashu@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40916) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBb4a-0004pa-0H for guix-devel@gnu.org; Tue, 10 Mar 2020 05:21:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBb4Y-0003fs-41 for guix-devel@gnu.org; Tue, 10 Mar 2020 05:21:11 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jBb4V-0003Y4-KF for guix-devel@gnu.org; Tue, 10 Mar 2020 05:21:10 -0400 In-reply-to: <75a8a31c.2954.170c24939b1.Coremail.tumashu@163.com> 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-mx.org@gnu.org Sender: "Guix-devel" To: tumashu Cc: guix-devel@gnu.org tumashu writes: > In China , guix substitute download seem to be tooooooooooooo slow, = nearly unuseable. I have enabled an rsync daemon on ci.guix.gnu.org to share the =E2=80=9Cguix publish=E2=80=9D cache. There are a few things missing: * not all files in /gnu/cache/guix can be read due to overly restrictive permissions generated by =E2=80=9Cguix publish=E2=80=9D * having a copy of the cache alone is not enough. You=E2=80=99ll need to s= erve them like =E2=80=9Cguix publish=E2=80=9D would. I haven=E2=80=99t looked= closely enough, but it should be possible to serve this all statically. The first useful step, I believe, is to mirror the =E2=80=9Cguix publish=E2= =80=9D cache. -- Ricardo