From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id FlgfN344pl9TAQAA0tVLHw (envelope-from ) for ; Sat, 07 Nov 2020 06:02:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iDxZMn44pl/qewAA1q6Kng (envelope-from ) for ; Sat, 07 Nov 2020 06:02:38 +0000 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 6B6D594053C for ; Sat, 7 Nov 2020 06:02:38 +0000 (UTC) Received: from localhost ([::1]:57978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbHJ7-0004tN-BO for larch@yhetil.org; Sat, 07 Nov 2020 01:02:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbHIl-0004qR-9f for guix-devel@gnu.org; Sat, 07 Nov 2020 01:02:15 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbHIj-0003bP-7g; Sat, 07 Nov 2020 01:02:14 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1604728928; cv=none; d=zohomail.com; s=zohoarc; b=baSRoW6U2tERZ3G2YlRVp99x8eps4IrL9QlQxilmKoi/OEcwV1tVeSIgtx62IYN9TxKffYDeD30c8QG7zWSZpYMFQbmpBcJ74iPMDNVMobfRwr7KqxGK2ZjeGautQhsaAIUx8oz/mbaJqTsQJkQojpmnERGiVA3K3LipNXSi6IQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604728928; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=6wQAF9rhrceK12edA27I3nonwdhGiHg5kJl//tPNAhs=; b=Efl4y8Hr63TeRiEZrVDmXpCP1m0HzX+F9wN6KPnFCn8oRVbPrKeY75PLT4hcHuNUTLNrnC1mx5ZkGNbpAuxmRIeyoQmsxgM7jflxUju70aUJdL5o2utt+p4xjdud5Wzl9040EVB2CNfwhymqrU0lIs5Z76dzhq1mVnXfnFsCTYM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1604728928; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=6wQAF9rhrceK12edA27I3nonwdhGiHg5kJl//tPNAhs=; b=fkQCozGa7wWGGK7c3UB+n9MbBKpTTuJd/VhPVDecnK5LT7uB4cmUSP/K+JT/ssO3 4eRUhAtQEoDq/tCo4LdRSc9yfKHmceK1ewn7TX3Wehsp3hSyqCtdCWk7VLQg8zR3UPr y0WCQIf5QsYhihCu6eO2EDVfeXjkjWF2tZUNNaOM= Received: from localhost (p54ad4ae6.dip0.t-ipconnect.de [84.173.74.230]) by mx.zohomail.com with SMTPS id 1604728926000548.3318125180004; Fri, 6 Nov 2020 22:02:06 -0800 (PST) References: <87o8kdpl0z.fsf@pengmeiyu.com> <87mtzu24ii.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Make guix-publish's URL identical to cache file name In-reply-to: <87mtzu24ii.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sat, 07 Nov 2020 07:03:59 +0100 Message-ID: <87d00pya7k.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/07 01:02:09 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=elephly.net header.s=zoho header.b=fkQCozGa; arc=reject (signature check failed: fail, {[1] = sig:zohomail.com:reject}); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: 6IwAIjkyI4je Ludovic Court=C3=A8s writes: > The simplest solution for now (I think that=E2=80=99s what Ricardo & co. = had in > mind) would be for you to retrieve /var/cache/guix/publish on your > server, as is, and then run =E2=80=98guix publish=E2=80=99 on your sever:= it will know > where to find files. As I wrote to Jonathan, you can/should also run > nginx on top of that as a proxy to your local =E2=80=98guix publish=E2=80= =99. > > Ricardo, can you remind us what the next steps would be? We need to make sure that *all* the files produced by =E2=80=9Cguix publish= =E2=80=9D have correct permissions; IIRC some of the files are not readable at all by users other than the owner of the files. Once that=E2=80=99s done we just need to start the rsync daemon again, preferably as a shepherd service. --=20 Ricardo