unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Jonathan Brielmaier <jonathan.brielmaier@web.de>
Cc: 46214@debbugs.gnu.org
Subject: [bug#46214] [PATCH] DRAFT: narinfo hooks for ‘guix publish’
Date: Tue, 16 Feb 2021 20:26:39 +0100	[thread overview]
Message-ID: <82868c60682e9134acbd98bfe450ea0e42804096.camel@telenet.be> (raw)
In-Reply-To: <1c38257e-3fcd-8386-ba36-3206b83b3efa@web.de>

[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]

Sorry for the late response, for some reason your mail didn't end
up in my inbox.  A reminder for what my goal is: I am attempting
to serve substitutes via a P2P system.  Ludovic has a patch
for substitutes over IPFS, myself I'm planning to write a patch
for substitutes over GNUnet.  This patch aims to define a
simple ‘hook’ into ‘guix publish’ for adding the IPFS or GNUnet
URI.

On Mon, 2021-02-01 at 23:22 +0100, Jonathan Brielmaier wrote:
> 
> On 31.01.21 12:11, Maxime Devos wrote:
> > [...]
> > I've defined a ‘narinfo-hook’, which allows adding extra
> > key value pairs to the generated narinfos.  [...]
> I didn't looked really into the code, but would this also allow hooks
> like baking the nar-file and write it into the cache? Or is it only for
> the narinfos?

This patch is only for the generation of the narinfos.

(I would like to eventually write a hook that publishes
the store item via GNUnet and embeds the URI in the narinfo,
but there isn't yet a corresponding hook mechanism on
the substituter side.)

That said, other hook types could be defined with additional
patches, though I don't know what use that would serve.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

      reply	other threads:[~2021-02-16 19:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-31 11:11 [bug#46214] [PATCH] DRAFT: narinfo hooks for ‘guix publish’ Maxime Devos
2021-02-01 20:17 ` Maxime Devos
2021-02-01 22:22 ` Jonathan Brielmaier
2021-02-16 19:26   ` Maxime Devos [this message]

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=82868c60682e9134acbd98bfe450ea0e42804096.camel@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=46214@debbugs.gnu.org \
    --cc=jonathan.brielmaier@web.de \
    /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).