all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [GSoC] Guix + GNUnet: what’s next
@ 2015-07-02 11:15 Rémi Birot-Delrue
  2015-07-02 12:33 ` Ludovic Courtès
  0 siblings, 1 reply; 7+ messages in thread
From: Rémi Birot-Delrue @ 2015-07-02 11:15 UTC (permalink / raw)
  To: guix-devel

Hello Guix! Here’s a little update.

The current binary package distribution (through HTTP) is based on two
components: a substituer (that retrieves packages) and a publisher. The
current plan is to start with adapting the publisher for GNUnet before
attacking the substituer; this work will be started once I’ll have
successfully bound the download and publish operations.

Here’s an overview of how these components will work:

After a call to `guix package -i foo`, the GNUnet substituer will search
GNUnet for a specific build of the `foo` package and if it finds one, it
will download it and install it (as if it had been downloaded through
HTTP).

An interesting point is handling of metadata: in Guix (and Nix), each
binary package’s metadata (size, signature, compression method…) is
downloaded separatedly, before its archive. In the HTTP substituer, that
means you have to download two files: one for the metadata, one for the
archive. In the GNUnet substituer, we take advantage of the functionning
of GNUnet: when you search for a file, some metadata is automatically
retrieved (its size, signature, direct access URI…) with the search
result, and an archive’s metadata can be shipped along.

In order to make this work, the publisher will basically inline the
`narinfo' file of each archive into its metadata before indexing
(uploading) it on GNUnet.

As usual, feel free to contact me for any question, suggestion, advice,
idea, critic or joke.
-- 
Rémi Birot-Delrue

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-03  2:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02 11:15 [GSoC] Guix + GNUnet: what’s next Rémi Birot-Delrue
2015-07-02 12:33 ` Ludovic Courtès
2015-07-02 16:49   ` Rémi Birot-Delrue
2015-07-02 20:32     ` Ludovic Courtès
2015-07-02 21:58       ` [OSM-dev] [GNUnet-developers] " Daniel Golle
2015-07-02 22:56         ` Paul Norman
2015-07-03  2:02           ` [OSM-dev] " Daniel Golle

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.