From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IH13GNTLsV/5fQAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 00:46:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iDlSFNTLsV/wSwAAB5/wlQ (envelope-from ) for ; Mon, 16 Nov 2020 00:46:12 +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 D6409940719 for ; Mon, 16 Nov 2020 00:46:11 +0000 (UTC) Received: from localhost ([::1]:41792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keSeo-0006QA-Mj for larch@yhetil.org; Sun, 15 Nov 2020 19:46:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keSeg-0006Pw-Sd for guix-patches@gnu.org; Sun, 15 Nov 2020 19:46:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keSeg-00078p-Jg for guix-patches@gnu.org; Sun, 15 Nov 2020 19:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keSeg-000526-HY for guix-patches@gnu.org; Sun, 15 Nov 2020 19:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44199] [PATCH 0/1] An origin method for GNUnet FS URI's Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Nov 2020 00:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44199 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 44199@debbugs.gnu.org Received: via spool by 44199-submit@debbugs.gnu.org id=B44199.160548753719306 (code B ref 44199); Mon, 16 Nov 2020 00:46:02 +0000 Received: (at 44199) by debbugs.gnu.org; 16 Nov 2020 00:45:37 +0000 Received: from localhost ([127.0.0.1]:54618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keSeH-00051J-0C for submit@debbugs.gnu.org; Sun, 15 Nov 2020 19:45:37 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:44382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keSeF-000517-Dg for 44199@debbugs.gnu.org; Sun, 15 Nov 2020 19:45:36 -0500 Received: by mail-wr1-f65.google.com with SMTP id c17so16889174wrc.11 for <44199@debbugs.gnu.org>; Sun, 15 Nov 2020 16:45:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=LoKakhzg2QM8dcK1LY4UtFDVXdgB20ODs1Gj24Mg3w8=; b=NE1B0+6S3fq0n/U4BsWeHd/pILqxlhz/GCTiZomJlWaS2ANf73ixeaY+G0Kvuj04Nl MvqtgI3TStwlJ6bK6HE5Gm1eWFWeK8atZszPWgcCVW9pIg1UJ1BgxHKene0GnmE4OEjD 40rr9KuFD6BHaaQ79RlaoSyB8sOv9Uw1YtWvT/jw6aQs8yx0M64D6iWjycPLF6oKVtDv PztcU8zfRkwbL/z+DmCXdN8Xnp3AQybYa1vB4JltWywPGOE11x5rPiyeErsXuyioPk6d tFGhOBmJjPdcCpw8TlD1/8/pOPvHhud4wd6AtDpwD5SYlIGG2CKJrdxHYyVCaeR6uO6F wmbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=LoKakhzg2QM8dcK1LY4UtFDVXdgB20ODs1Gj24Mg3w8=; b=OYeasC7m+48+M094I6Wy2pJ+aldsUNW3Q88J86WWArPad2wHqKkwJuOA6T5qAnAg9q yj4yOB/yzxgUuO5RuvRAicI3B1rYzkn2O5W1y0DUKbwF/U4mcQZ3D1QZz3970ILARp4S jyhSOMPuh8hkzKeDiOO3wiAZ4EJU9rBFiqYNFQDYGgaPVW/5wIrdU0+NsiiRNOQxkxRr kQczOvyFm9HtoIdY9vaLJT/AE1KyT2itDyt7y8ff62tpxId4cFe2be1jvFue+szaBjtL d/xDO5q4TtoY7vPibJ7ig4UZEV4wo+nG/fAbpUBu9aDL+p/HTF9m1tuWZWLncQr5+qHe 9R+Q== X-Gm-Message-State: AOAM532Ufg6suM3P6NRdfGVW2oJqN8GU2t1cew4nLXesGBmk4To3Oe0c MOJb2YMVNSkPFe01FsIXax8OxFviNOa+2Q== X-Google-Smtp-Source: ABdhPJxwfdhu8KHCNHBK8MVJof2qcDaKYLuSsts8pfABHNQ6ltdZgpKlKQBLbL8zVWyR8dc2YJyU7Q== X-Received: by 2002:adf:ee51:: with SMTP id w17mr15924559wro.373.1605487529249; Sun, 15 Nov 2020 16:45:29 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id u6sm17589716wmj.40.2020.11.15.16.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Nov 2020 16:45:28 -0800 (PST) From: zimoun In-Reply-To: References: <5c72bcb9c86934deda97d952eb5cd459e615b313.camel@student.kuleuven.be> <86blgn4wk5.fsf@gmail.com> Date: Mon, 16 Nov 2020 01:35:54 +0100 Message-ID: <86361arvdh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=NE1B0+6S; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: oXcLXEB7KPCG Hi Maxim, Thanks for your detailed answer. You might be interested by the coming oneline Guix Days conference on Sun. 22nd 2020. A session is specifically dedicated to a related topic: How to distribute P2P? Please browse this week the blog guix.gnu.org for the details. On Tue, 27 Oct 2020 at 19:50, Maxime Devos wrote: > Q: How does Guix figure out the GNUnet URI from the Guix (or nar, I > guess) hash? > A: Not automatically. The gnunet-fetch method as defined in this > patch needs to be passed the URI manually. However, an additional > service for GNUnet can be written that uses the DHT to map Guix > (or nar, or something else) hashes to corresponding GNUnet URI's. >From my understanding, this is a show stopper. It has to be solved first going further, IMHO. It is not possible to write manually the URI for all the packages. And as perhaps you read with the project =E2=80=99disassemble=E2=80=99, it is not straightforward. > Q: What about automatically generated tarballs (e.g. from git > repositories)? > A: Not addressed by this patch. The intention is to be able to replace > a http://*/*.tar.gz URL with a gnunet://fs/chk URI in package > definitions; source code repositories aren't supported by this > patch. (But perhaps a future patch could support this!) I think this is the main issue: it is not affordable to replace for some packages the current http:// by gnunet://. Especially when GNUnet is not =E2=80=9Cstable=E2=80=9C. > * Is package *source code* only available, on *GNUnet*? > > If someone published the source code (e.g. as a tarball) on GNUnet > with `gnunet-publish hello-2.10.tar.gz`, it is only published(*) on > GNUnet, and not somewhere else as well. > > (*) I don't know exactly when one can be reasonably sure the file > will *remain* available for some time when published, except for > keeping the GNUnet daemon running continuously. > > However, in practice, $MAINTAINER will publish the source code > somewhere else as well (e.g. or perhaps ipfs). > This patch doesn't automatically publish source code of built or > downloaded packages on GNUnet, although that seems a useful service=20 > to run as a daemon. Therefore the corollary question is: how many tarballs currently used as source by Guix are also available on GNUnet? Thank you for your interest. And again I invite you to join the discussion about P2P and Guix this Sunday 22nd. Read on the Guix blog. :-) All the best, simon