From: Josselin Poiret via Guix-patches via <guix-patches@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 61977@debbugs.gnu.org
Subject: [bug#61977] [PATCH] channels: Raise an error if dependency's introduction is malformed
Date: Sat, 18 Mar 2023 22:42:01 +0100 [thread overview]
Message-ID: <87mt4968k6.fsf@jpoiret.xyz> (raw)
In-Reply-To: <871qlnvxe9.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 800 bytes --]
Hi Ludo,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi Josselin,
>
> Josselin Poiret <dev@jpoiret.xyz> skribis:
>
>> * guix/channels.scm (sexp->channel-introduction): Do it.
>
> To be clear, without this a malformed introduction sexp would be
> silently ignored; consequently, the channel in question would not be
> authenticated, in which case the “channel '~a' lacks 'introduction'
> field” warning would be printed. Am I right?
>
> So the goal here is to catch errors in ‘.guix-channel’ earlier, right?
Exactly! Someone else reported this elsewhere because they were using
the syntax for a channels.scm file instead of the channel dependencies
syntax, which is different, and consumers of that channel kept getting
warning messages.
Best,
--
Josselin Poiret
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]
next prev parent reply other threads:[~2023-03-18 21:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-05 10:56 [bug#61977] [PATCH] channels: Raise an error if dependency's introduction is malformed Josselin Poiret via Guix-patches via
2023-03-17 22:14 ` Ludovic Courtès
2023-03-18 21:42 ` Josselin Poiret via Guix-patches via [this message]
2023-05-05 14:15 ` Simon Tournier
2023-06-04 9:38 ` bug#61977: " Josselin Poiret via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mt4968k6.fsf@jpoiret.xyz \
--to=guix-patches@gnu.org \
--cc=61977@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
--cc=ludo@gnu.org \
/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 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.