From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Paul Schmidt Subject: A hacky prototype for using ipfs to provide binary substitutes to users Date: Thu, 29 Nov 2018 19:18:08 +0100 Message-ID: <52026808-0614-ebdf-36fd-2dc641d79de8@uni-bielefeld.de> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSR7p-0008GX-Sg for guix-devel@gnu.org; Thu, 29 Nov 2018 13:33:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSR7l-0002go-KU for guix-devel@gnu.org; Thu, 29 Nov 2018 13:33:21 -0500 Received: from uhrz-exch-pmb02.ad.uni-bielefeld.de ([129.70.208.128]:14260 helo=smtp.uni-bielefeld.de) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gSR7l-0002g5-DE for guix-devel@gnu.org; Thu, 29 Nov 2018 13:33:17 -0500 Content-Language: tl 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: guix-devel@gnu.org Hi! After some discussions on #guix on irc.freenode.org with ludovic, p9kill, roptat, swedebugia, and others which I sadly forgot, I decided to scramble together a proof-of-concept hacky prototype for a mechanism to share binary substitutes via ipfs. There are two parts to this: 1] A hacky guix package for ipfs based on their binary release: https://github.com/fps/guix-packages/blob/master/ipfs-hack.scm 2] Some hazardly thrown together shell scripts to implement the caching and uploading to ipfs: https://github.com/fps/guix-ipfs-cache The README.md on the second link goes into some technical details and the rationale for this attempt. This is in no way ready for production use. But if you want to play around with it, feel free.. Have fun and regards, Flo -- Biological Cybernetic Group Bielefeld University http://www.uni-bielefeld.de/biologie/Kybernetik/index.html