From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 0/2] Add 'guix publish' command Date: Tue, 17 Mar 2015 10:57:19 -0400 Message-ID: <87egon1xkg.fsf@fsf.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXsvs-0000uQ-DW for guix-devel@gnu.org; Tue, 17 Mar 2015 10:57:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXsvp-0007wM-0G for guix-devel@gnu.org; Tue, 17 Mar 2015 10:57:24 -0400 Received: from mail.fsf.org ([208.118.235.13]:57044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXsvo-0007wC-UL for guix-devel@gnu.org; Tue, 17 Mar 2015 10:57:20 -0400 Received: from 209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.40.86]:45555 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1YXsvo-0005Jb-Bq for guix-devel@gnu.org; Tue, 17 Mar 2015 10:57:20 -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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org This patch set has been a long time coming. Thanks to Ludo for helping me solve the last blocking issue this morning. This new utility allows anyone to publish their /gnu/store directory over HTTP, exposing a Hydra-compatible API. To use it, simply run `guix publish` on one of your machines, then tell your other machines to use that one to fetch substitutes: guix archive --authorize < your-server-key.pub guix-daemon --substitute-urls=your-server:8080 Someday, Guix will support multiple substitution servers, which will make this feature a lot more useful. Being able to fetch substitutes from hydra.gnu.org *and* from other Guix users that you trust will be awesome. :) TIA for the code review. -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate