From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qOT9KZvBNGCSVwAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 08:49:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0ExPJZvBNGCUfQAAbx9fmQ (envelope-from ) for ; Tue, 23 Feb 2021 08:49:31 +0000 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 2B977C569 for ; Tue, 23 Feb 2021 09:49:31 +0100 (CET) Received: from localhost ([::1]:35880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lETNp-0007Ot-PO for larch@yhetil.org; Tue, 23 Feb 2021 03:49:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lETNR-0007O4-2W for guix-patches@gnu.org; Tue, 23 Feb 2021 03:49:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lETNO-0001ZH-F9 for guix-patches@gnu.org; Tue, 23 Feb 2021 03:49:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lETNO-0002mO-CN for guix-patches@gnu.org; Tue, 23 Feb 2021 03:49:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46031] services: cuirass: Add "simple-cuirass-services". Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Feb 2021 08:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46031 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 46031@debbugs.gnu.org, Jonathan Brielmaier Received: via spool by 46031-submit@debbugs.gnu.org id=B46031.161407010410641 (code B ref 46031); Tue, 23 Feb 2021 08:49:02 +0000 Received: (at 46031) by debbugs.gnu.org; 23 Feb 2021 08:48:24 +0000 Received: from localhost ([127.0.0.1]:58273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lETMm-0002lY-CE for submit@debbugs.gnu.org; Tue, 23 Feb 2021 03:48:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lETMk-0002lL-2N for 46031@debbugs.gnu.org; Tue, 23 Feb 2021 03:48:22 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42629) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lETMe-0001AT-1u; Tue, 23 Feb 2021 03:48:16 -0500 Received: from [2a01:e0a:19b:d9a0:d047:2c08:886f:ec31] (port=48270 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lETMZ-0005mi-FO; Tue, 23 Feb 2021 03:48:14 -0500 From: Mathieu Othacehe References: <87czxxz767.fsf@gnu.org> <874ki7j97p.fsf@gnu.org> <87k0r0iizg.fsf@gnu.org> <87eeh8b6mq.fsf@gnu.org> Date: Tue, 23 Feb 2021 09:48:09 +0100 In-Reply-To: <87eeh8b6mq.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 22 Feb 2021 13:59:25 +0100") Message-ID: <87blcbkw52.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2B977C569 X-Spam-Score: -2.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: efThMM2vjz81 Hey, > When a service extends a service type, an instance of that service type > is automatically added if it=E2=80=99s missing (provided that service typ= e has a > default value). This happens in =E2=80=98instantiate-missing-services=E2= =80=99. Oh! Didn't know about that one! > So, if postgresql-role-service-type and postgresql-service-type have a > default value, simple-cuirass-service could extend them both (possibly > with a dummy value) and it would just work. With 8163f74542300720f6ee5dc061b79ddf0c345bb8 and 108e2c6116f01c3b0a98498717d65a96c1857a51, I made sure that those services are automatically instantiated when missing. This means simple-cuirass-configuration->specs makes way more sense, as you suggested. Took care of it with bebcf97600b2fa65482ae8ee870800dafa34d3f8. Now, as suggested by Jonathan on IRC yesterday, it would be nice to be able to build only the packages of a given channel. For that, we would need to be able to figure out which channel is providing a package, with something like a package-channel field. Do you think that would make sense? Thanks, Mathieu