X-Loop: help-debbugs@HIDDEN Subject: bug#71887: Raise an error when extending a service type that doesn't support extensions Resent-From: Richard Sent <richard@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 01 Jul 2024 22:11:02 +0000 Resent-Message-ID: <handler.71887.B.171987184328840 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71887 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 71887 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171987184328840 (code B ref -1); Mon, 01 Jul 2024 22:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jul 2024 22:10:43 +0000 Received: from localhost ([127.0.0.1]:35005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOPER-0007V5-3R for submit <at> debbugs.gnu.org; Mon, 01 Jul 2024 18:10:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:39920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <richard@HIDDEN>) id 1sOPEO-0007Uw-Po for submit <at> debbugs.gnu.org; Mon, 01 Jul 2024 18:10:41 -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 <richard@HIDDEN>) id 1sOPEN-00053f-Lb for bug-guix@HIDDEN; Mon, 01 Jul 2024 18:10:39 -0400 Received: from mail-108-mta114.mxroute.com ([136.175.108.114]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard@HIDDEN>) id 1sOPEL-00080i-7P for bug-guix@HIDDEN; Mon, 01 Jul 2024 18:10:39 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta114.mxroute.com (ZoneMTA) with ESMTPSA id 19070597c2300017a3.001 for <bug-guix@HIDDEN> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 01 Jul 2024 22:10:31 +0000 X-Zone-Loop: 6cf732c21d9ba4a0574335b52e789ab5db6d013c1ef8 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=P/7+yKseN0WFttFqK+M1My+09VFz3lTZ/XFv6XCbZwo=; b=r/VDD9zjMXsiaVsaGWEvo+9RDI yoBYnatDH+X5mo3uklk4C4WD9LxGUB5Y02bfN1REpeVEjRa14xMK2yidIZIiNn5SE1YmKsBVr1MBb eGoPRdHWDA1Do8UK7ms8Lnetq0foJ5Lh0mtRVTkBdbAkktLKSC3uTPt2VCA/d0UGj08M6x9njvIld 1oqcUpv+KBzlF2nZWX+sa3hBiM/gL13h2c03YfqgmY9Zy/s6lnWsis+FfyLBFz0f488XIjy5Gq787 /yNYlEMB99p8Cg+qXgezlW74oQvkb1UufB3+Yss54wlY4mpn9jQfMx/fmT6Naggjg4u57vxHZR5Hn QRO7H/4g==; From: Richard Sent <richard@HIDDEN> Date: Mon, 01 Jul 2024 18:10:27 -0400 Message-ID: <877ce4dar0.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: richard@HIDDEN Received-SPF: pass client-ip=136.175.108.114; envelope-from=richard@HIDDEN; helo=mail-108-mta114.mxroute.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Hi Guix, At present it is possible to extend service-types that do not implement compose or extend methods, resulting in surprising behavior that's hard to debug [1]. We should throw an error when a service-type that does not have compose or extend fields is extended. --8<---------------cut here---------------start------------->8--- (use-modules (gnu home) (gnu home services) (gnu home services desktop) (gnu services)) (home-environment (services (list ;; home-redshift-service-type does not support extensions (simple-service 'this-should-error home-redshift-service-type "According to all known laws of aviation...")))) --8<---------------cut here---------------end--------------->8--- [1]: https://lists.gnu.org/archive/html/help-guix/2024-07/msg00000.html -- Take it easy, Richard Sent Making my computer weirder one commit at a time.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Richard Sent <richard@HIDDEN> Subject: bug#71887: Acknowledgement (Raise an error when extending a service type that doesn't support extensions) Message-ID: <handler.71887.B.171987184328840.ack <at> debbugs.gnu.org> References: <877ce4dar0.fsf@HIDDEN> X-Gnu-PR-Message: ack 71887 X-Gnu-PR-Package: guix Reply-To: 71887 <at> debbugs.gnu.org Date: Mon, 01 Jul 2024 22:11:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 71887 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 71887: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71887 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.