unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Cc: Csepp <raingloom@riseup.net>,  guix-devel@gnu.org
Subject: Re: Packaging big generated data files?
Date: Sun, 11 Dec 2022 11:16:39 +0100	[thread overview]
Message-ID: <87zgbu2qk8.fsf@gnu.org> (raw)
In-Reply-To: <20221210181924.3a883b92@primary_laptop> (Denis Carikli's message of "Sat, 10 Dec 2022 18:19:24 +0100")

Hi,

Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> skribis:

> On Thu, 08 Dec 2022 14:46:51 +0100
> Csepp <raingloom@riseup.net> wrote:
>> Could ZIM files be downloaded over bittorrent as fixed output
>> derivations?  They can be pretty huge.  Also if the system started
>> seeding them as well, that would be pretty cool.
> I've no idea how to generate fixed output derivations.

Origins are lowered into “fixed-output derivations”.  They’re
“fixed-output” because their content hash is known in advance, and thus,
the method you used to produce them doesn’t matter (info "(guix)
Derivations").

So you could specify an origin with ‘bittorrent-fetch’ (to be written)
instead of ‘url-fetch’.

HTH,
Ludo’.


  reply	other threads:[~2022-12-11 10:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-07 10:33 Packaging big generated data files? Denis 'GNUtoo' Carikli
2022-12-07 14:45 ` pelzflorian (Florian Pelz)
2022-12-10 17:08   ` Denis 'GNUtoo' Carikli
2022-12-08 13:46 ` Csepp
2022-12-10 17:19   ` Denis 'GNUtoo' Carikli
2022-12-11 10:16     ` Ludovic Courtès [this message]
2022-12-12 13:51 ` zimoun

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=87zgbu2qk8.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=GNUtoo@cyberdimension.org \
    --cc=guix-devel@gnu.org \
    --cc=raingloom@riseup.net \
    /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).