GNU bug report logs -
#46800
[PATCH] Allow defining multiple substituters
Previous Next
Full log
Message #14 received at 46800 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, 2021-03-02 at 21:37 +0100, Ludovic Courtès wrote:
> Hi Maxime,
>
> Maxime Devos <maximedevos <at> telenet.be> skribis:
>
> > This patch series is my suggestion for allowing
> > multiple "substitution methods" or "substituters"
> > as I call them. Currently, only a method for HTTP/S
> > is defined, though I hope it will be a good basis
> > for a common framework for substitutes over GNUnet
> > and IPFS.
>
> [Ludovic's reply]
(See previous mail for my responses)
FYI: I've implemented a GNUnet substituter using this patch series
and the "publish hooks" patch (+ an unsubmitted patch that passes
some extra information to the publish hook) here:
https://notabug.org/mdevos/guix-gnunet/src/download-hooks3
(Warning: it does some questionable things with add-to-load-path.
Will hopefully be fixed eventually. Also requires
<https://notabug.org/mdevos/scheme-gnunet> in a special location.)
Also, there's a bug in fetch-narinfos that causes an error if
the "fetch-narinfos" field of a subtituter is #f. Also,
recognised-uri-scheme should be removed or reworked, as otherwise
the IPFS and GNUnet substituter won't be used for downloading a
substitute if http and https are not in the list.
I've worked around that for now by setting the latter '(http https file),
and setting the former to (const '()).
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 4 years and 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.