From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0C6tK3kwFmQ8bAEASxT56A (envelope-from ) for ; Sat, 18 Mar 2023 22:43:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aPmVK3kwFmQagwEA9RJhRA (envelope-from ) for ; Sat, 18 Mar 2023 22:43:21 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 70FAE39E32 for ; Sat, 18 Mar 2023 22:43:21 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b="D/bCVnRv"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679175801; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=SVBLqMRZASaLuYnBGagpJQrhFHDC+fbOFzgSTe0v5fc=; b=VZVPon+dl+RQ3zDWsQpUNdFkoxVXOoGAqNQboViUAVZifUywLUrJAM4/o1kfWbzYoJsgzJ jxbd3dCMIS19Ow1Z4GmK0/vmrSvwV1cIK24A5VMtZtvZhkIjC0NYBVNJ/8PW2jjgR46N2x QXGKKaSE05192di8W9S6/gokoQ9JfyZhN0U6nMNv1AKqc5qf/7E8ow1p75po1oNct6QIX3 SX6EwZGiJq8TBUJvuOwJHZps0a2Kf4WEKjH0tjDZ+ozAvyT6aZiGFG/qLJ1kxI0zArDRWP NUoRt/wDyWC5s9ZnxtYBeOFxB2sUeYKubVpVSZLHLHTcCZi/2S8o/iMdN4i/NA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b="D/bCVnRv"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679175801; a=rsa-sha256; cv=none; b=P7ETVnthFHR0CnlcEX1pCgEq7AXVOgUthCWr7E19FWysqvbOLfdyCuQJV9sITHH63DsmoK HT8K5xqdXdjlUEQQYQI+Nl/2+76YQvdlf4Y6kdKjP8ib+ExAsjQBmnoLA56q82vaOuAUvi opb3QTAB0/03VRPJnez3fFGCGZ626J9SOvteqR0HUujT+W7la3USCbYheMkgOp+eemZi4e Kj3Eq20u9AKB5ZfgIkmy6iQyfWbsdLBGnhZ5eVx0TiE9aqhJNthlb6JLakrXb/5j7Xi2Hk yNtNOcb0mdZw7idghP5XqzJJBLm2FTHtu41Lls6WnF9l9fHzh9zjFbuLpBrhhA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdeKP-0003Yo-Fb; Sat, 18 Mar 2023 17:43:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdeKM-0003Y7-Iy for guix-patches@gnu.org; Sat, 18 Mar 2023 17:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdeKM-0000Jw-A9 for guix-patches@gnu.org; Sat, 18 Mar 2023 17:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdeKM-0000Eg-2R for guix-patches@gnu.org; Sat, 18 Mar 2023 17:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61977] [PATCH] channels: Raise an error if dependency's introduction is malformed Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Mar 2023 21:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61977 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 61977@debbugs.gnu.org Received: via spool by 61977-submit@debbugs.gnu.org id=B61977.1679175730840 (code B ref 61977); Sat, 18 Mar 2023 21:43:02 +0000 Received: (at 61977) by debbugs.gnu.org; 18 Mar 2023 21:42:10 +0000 Received: from localhost ([127.0.0.1]:49143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdeJV-0000DU-Qs for submit@debbugs.gnu.org; Sat, 18 Mar 2023 17:42:10 -0400 Received: from jpoiret.xyz ([206.189.101.64]:45246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdeJT-0000DL-K9 for 61977@debbugs.gnu.org; Sat, 18 Mar 2023 17:42:08 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 7EFDA185317; Sat, 18 Mar 2023 21:42:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1679175724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SVBLqMRZASaLuYnBGagpJQrhFHDC+fbOFzgSTe0v5fc=; b=D/bCVnRvgm5jWBNsGapP0DPmJ8TuoL9bky8mW2YkCNQpZKzHrStU7fUPPjsKSfo3HidOrK PjnG6gJ6E0yAOKObZgmgpStVY4INFjkgcVaKVvC5Iyx8k5mCp5mMCUCQ+cS3HSe3I8GedS 3isIBYAlxPu5V2Y8vbERPLphlazHxh94JvYDBVCsETc77WaRX8YFDdKo6WVjJMrxX69Jn9 47CDUTuALOvngGEqc4Vyy+CbPc+2t6v2nD6baqjykPjet6CK1w8oz8rPbdB5+5VTy21To/ 64/L3eJZpsgkNsJSCxUSoE8oM8mfTukoYNHIrroKEAzkm/gmp9rc+YA63rJcZQ== In-Reply-To: <871qlnvxe9.fsf@gnu.org> References: <871qlnvxe9.fsf@gnu.org> Date: Sat, 18 Mar 2023 22:42:01 +0100 Message-ID: <87mt4968k6.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches X-Migadu-Queue-Id: 70FAE39E32 X-Spam-Score: -6.65 X-Migadu-Spam-Score: -6.65 X-Migadu-Scanner: scn0.migadu.com From: Josselin Poiret via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: F51kxSSYFeN6 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, Ludovic Court=C3=A8s writes: > Hi Josselin, > > Josselin Poiret 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 =E2=80=9Cchannel '~a' lacks 'introductio= n' > field=E2=80=9D warning would be printed. Am I right? > > So the goal here is to catch errors in =E2=80=98.guix-channel=E2=80=99 ea= rlier, 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, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQWMCkQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaiueYDACwcZbIogiaehwk4wGDUZs8HJmodE7yJaEc Yhkqp7ubEaGp0NF28SVg7a2f2OFDFuUvNl92GapjhGf//5+0sqCWTCwQOZwaZt7u o+m0LjOGtgdM4Qzm8BkS6FZ6RmGGvcVeEOFzKjDwFTejuP/qNbjiS/NllOoN54IE tax6Cv3Or6i4RHvmcpipH8gLZNBDOhmiuG9pk4uxQxc7ixcYvhlTSfT+dDLO9eTQ 3VQGbICufsktACsS1zjlMVw4VivvL/MmLfQn53PM+S2wf/2xdZPt6uS01o6N4Cz2 095Da/LwcJaTSl2F7K8Aad8aIdqNQuwnIgqoDIBoa3+DqRWs6lGpRu8jmtKoSwLP 6UmgoElnOdiFlDfJOk/WKTp95LAR6nXSNXH8TdRsa6MZX8pdKmEuv1tmfyG5LC0J XDF2RT0vClsJ8N8GiJ71kAYda+UCMbHvDp3nS0hSAjhU+zxmIgr1cVeomKxL7YPP 8aNDMfe61tk23GVY9Nk5RmrL3yWKmPY= =v148 -----END PGP SIGNATURE----- --=-=-=--