From: zimoun <zimon.toutoune@gmail.com>
To: Maxime Devos <maxime.devos@student.kuleuven.be>, 44199@debbugs.gnu.org
Subject: [bug#44199] [PATCH 0/1] An origin method for GNUnet FS URI's
Date: Tue, 27 Oct 2020 14:39:54 +0100 [thread overview]
Message-ID: <86blgn4wk5.fsf@gmail.com> (raw)
In-Reply-To: <5c72bcb9c86934deda97d952eb5cd459e615b313.camel@student.kuleuven.be>
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 <maxime.devos@student.kuleuven.be> 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 “we”? What do you mean by “url-fetch supports gnunet:// and
fall-back unto non-P2P”?
Some recent discussions are about content-address and fallback. For
example, roughly speaking ’git-fetch’ 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 –hg and svn– supported by SWH should be implemented soon… who
knows! ;-)
The story about archives as tarball is a bit more complicated. The main
issue –as I understand it– 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.,
<https://git.ngyro.com/disarchive-db/>
<https://git.ngyro.com/disarchive>
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
> 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
next prev parent reply other threads:[~2020-10-27 13:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-24 19:47 [bug#44199] [PATCH 0/1] An origin method for GNUnet FS URI's Maxime Devos
2020-10-24 19:54 ` [bug#44199] [PATCH 1/1] guix: Add (guix gnunet-download) Maxime Devos
2020-10-27 13:39 ` zimoun [this message]
2020-10-27 18:50 ` [bug#44199] [PATCH 0/1] An origin method for GNUnet FS URI's Maxime Devos
2020-11-16 0:35 ` zimoun
2020-11-18 20:28 ` Maxime Devos
2020-11-18 22:40 ` zimoun
2020-11-01 0:05 ` Maxime Devos
2020-11-15 21:13 ` Ludovic Courtès
2020-11-18 19:14 ` Maxime Devos
2020-11-18 22:42 ` zimoun
2021-01-27 13:07 ` [bug#44199] Info: Rehash Project Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86blgn4wk5.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=44199@debbugs.gnu.org \
--cc=maxime.devos@student.kuleuven.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).