[Exherbo-dev] [RFC] Rethinking fetchers

Ciaran McCreesh ciaran.mccreesh at googlemail.com
Wed Mar 14 07:31:27 UTC 2012


On Wed, 14 Mar 2012 11:57:09 +0600
Mike Kazantsev <mk.fraggod at gmail.com> wrote:
> It won't work in a separate (from compilation) thread as it does with
> current (non-scm) fetchers, but it already isn't async for scm exheres
> and checksum verifications.

We're going to make scm async at some point. That's not entirely
trivial to do for things that aren't Git, though.

> And fetching from stuff like bittorrent in general will greatly
> benefit from being parallel for all distfiles needed, because time to
> bootstrap download from a magnet link should be longer than to find a
> mirror and download the whole file from there.
> 
> Performance aside, having bittorrent fetcher as exlib can have a
> benefit that sha1 hash, currently passed only to for checksum.exlib,
> can be used to produce a magnet link as well, so all exherbo users can
> be used as an "exherbo mirror network", provided the link will be
> passed to some long-running daemon (like transmission), not oneshot
> leecher.

Let's ignore bittorrent. It doesn't make any sense to use it.

-- 
Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/exherbo-dev/attachments/20120314/1becdadb/attachment.asc>


More information about the Exherbo-dev mailing list