From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YJ4pHscjmF+iDwAA0tVLHw (envelope-from ) for ; Tue, 27 Oct 2020 13:42:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IE9JGscjmF9LeAAAbx9fmQ (envelope-from ) for ; Tue, 27 Oct 2020 13:42:31 +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 0ABF294051E for ; Tue, 27 Oct 2020 13:42:31 +0000 (UTC) Received: from localhost ([::1]:39884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXPF7-00043E-Ex for larch@yhetil.org; Tue, 27 Oct 2020 09:42:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXPDi-0001u3-I9 for guix-patches@gnu.org; Tue, 27 Oct 2020 09:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXPDi-00022v-0R for guix-patches@gnu.org; Tue, 27 Oct 2020 09:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXPDh-0002OL-UP for guix-patches@gnu.org; Tue, 27 Oct 2020 09:41:01 -0400 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: Tue, 27 Oct 2020 13:41:01 +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.16038060059114 (code B ref 44199); Tue, 27 Oct 2020 13:41:01 +0000 Received: (at 44199) by debbugs.gnu.org; 27 Oct 2020 13:40:05 +0000 Received: from localhost ([127.0.0.1]:43335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXPCm-0002Mv-NG for submit@debbugs.gnu.org; Tue, 27 Oct 2020 09:40:04 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:37618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXPCl-0002MO-H9 for 44199@debbugs.gnu.org; Tue, 27 Oct 2020 09:40:04 -0400 Received: by mail-wr1-f67.google.com with SMTP id w1so1970640wrm.4 for <44199@debbugs.gnu.org>; Tue, 27 Oct 2020 06:40:03 -0700 (PDT) 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=7ATSSKkgwwi8b8VLzL2o+x6A5v140mvmDetcMnlV2vw=; b=U7SFQ9dpl6fHchawbPYuvHWfgswzY97c0hc6YzotNRw8B5EsYYkmT/AsRMnl9ooSV9 n//Ytuxafi+NcKXUKxQCJ40MO9hU7Y7IFF4Aicv8zWOkdzQe5UUMgLn9mCdIQ40XhPm+ YNzOjt+A8MDjLLXe8ZEEtbbxVdmkFIVB6NajiA1NOarfA28WWKvKRswtfu3uJd1TUnTK H6Oy4FhlrzKQXLFiizRpcR3sfETwl2LFHfW/36ZSoGkrg6r2zqPcZ33aJ59AUKtRQ8y8 MHmJXn+4CIVr1UkVbb2nxMjMrRA2aJx6i04v7QPDqP5XxnGovqcTUeE/FlG2IYQH3GJm kYiA== 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=7ATSSKkgwwi8b8VLzL2o+x6A5v140mvmDetcMnlV2vw=; b=kn00kFL9Cp0+DQ6lmUTJAcLaL6CGz/B3SUgnjr1qoAHntXkJhwa1JtQsgGtk9GZR/x XJC6JlJFms6pX9LyZiUk1iIqR2xTKI56lZiJ7KAXxe5lJG6/AVFQUmkW2RuqddgpFdwt jPmIWUdXliq8hYfrf6wxjpG93iXu6tv6XwTeRMBDLt4B/BtBiYkwqQZAfYlZmNZkPAU8 5xAeoi18DW8NLVVJI7DnvLqtTsfj5RJsURP7G8suc9TGsQ3c8QbUY/x/HTCb8bpSOy5c cNe8oztA2u3ZNg9Ex3yvXbzet0VZ4REwwiJQjPdE9EhgXBI0GFErSv3Xitsu+tTUCIRG bLxg== X-Gm-Message-State: AOAM532GGgHTC+1gmF0hni4WOjjX+AD8+2Jjv+enGKyes5RnNhZj1T8w TO1a/Z9WSwHaDYWKGIOnq+cYeVtakrM= X-Google-Smtp-Source: ABdhPJxwNNZHa1hXhgi3Y9QA33O2Wp26oH4HFHIC4hex6rjgZQXtBhwDvjUwQP34gTKdF3efwG8OPQ== X-Received: by 2002:adf:82f7:: with SMTP id 110mr2897212wrc.261.1603805997514; Tue, 27 Oct 2020 06:39:57 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id 30sm2067569wrs.84.2020.10.27.06.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Oct 2020 06:39:57 -0700 (PDT) From: zimoun In-Reply-To: <5c72bcb9c86934deda97d952eb5cd459e615b313.camel@student.kuleuven.be> References: <5c72bcb9c86934deda97d952eb5cd459e615b313.camel@student.kuleuven.be> Date: Tue, 27 Oct 2020 14:39:54 +0100 Message-ID: <86blgn4wk5.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: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=U7SFQ9dp; 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: 3uPpht5NPR8s Dear, Thank you for the patch. My questions are totally naive since I do not know much about GNUnet. On Sat, 24 Oct 2020 at 21:47, Maxime Devos wrote: > This patch defines a `gnunet-fetch' method, allowing for downloading > files from GNUnet by their GNUnet chk-URI. > > This patch does not provide: > - a service configuration > - downloading substitutes from GNUnet > - fall-back to non-P2P (e.g. http://) or other P2P (e.g. ipfs://) > systems > - downloading directories over GNUnet This means it only works for archives as tarball, right? > - actual packages definitions using this method > > Some issues and questions: [...] > - Would it be possible somehow for url-fetch to support gnunet://fs/chk > URIs? That way we could fall-back unto non-P2P URLs, which would be > useful to bootstrap a P2P distribution from a non-P2P system. Who is the =E2=80=9Cwe=E2=80=9D? What do you mean by =E2=80=9Curl-fetch su= pports gnunet:// and fall-back unto non-P2P=E2=80=9D? Some recent discussions are about content-address and fallback. For example, roughly speaking =E2=80=99git-fetch=E2=80=99 tries upstream, then = the Guix build farms, then Software Heritage (swh). For Git repo, it works because the address from Guix side to SWH is straightforward. The 2 other VCS =E2=80=93hg and svn=E2=80=93 supported by SWH should be implement= ed soon=E2=80=A6 who knows! ;-) The story about archives as tarball is a bit more complicated. The main issue =E2=80=93as I understand it=E2=80=93 can be summarized as: Guix knows= the URL, the integrity checksum and only at package time the content of the tarball. Later in time, it is difficult to lookup because of this very address; and some are around: nar, swh-id, ipfs, gnunet, etc. Bridges to reassemble the content are currently discussed, e.g., Well, today the fallback of tarball archive to SWH is not reliable. What is your question? ;-) > Then publish the source tarball of the package to the GNUnet FS system: > $ guix environment --ad-hoc wget -- wget=20 > https://ftp.gnu.org/gnu/hello/hello-2.10.tar.gz > $ gnunet-publish hello-2.10.tar.gz Naive question: are packages only available on GNUnet? All the best, simon