From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SPbfJ3XLNGCoNQAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 09:31:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UHs0I3XLNGCsEQAAB5/wlQ (envelope-from ) for ; Tue, 23 Feb 2021 09:31:33 +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 D35CDB69C for ; Tue, 23 Feb 2021 10:31:32 +0100 (CET) Received: from localhost ([::1]:40380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEU2V-0000vM-T6 for larch@yhetil.org; Tue, 23 Feb 2021 04:31:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEU23-0000r5-Ay for guix-patches@gnu.org; Tue, 23 Feb 2021 04:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEU22-0003D0-Az for guix-patches@gnu.org; Tue, 23 Feb 2021 04:31:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEU22-0003o2-8K for guix-patches@gnu.org; Tue, 23 Feb 2021 04:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46031] services: cuirass: Add "simple-cuirass-services". Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Feb 2021 09:31: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: Mathieu Othacehe Cc: 46031@debbugs.gnu.org, Jonathan Brielmaier Received: via spool by 46031-submit@debbugs.gnu.org id=B46031.161407260814559 (code B ref 46031); Tue, 23 Feb 2021 09:31:02 +0000 Received: (at 46031) by debbugs.gnu.org; 23 Feb 2021 09:30:08 +0000 Received: from localhost ([127.0.0.1]:58325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEU1A-0003mk-1D for submit@debbugs.gnu.org; Tue, 23 Feb 2021 04:30:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEU16-0003ko-Uv for 46031@debbugs.gnu.org; Tue, 23 Feb 2021 04:30:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43304) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEU11-0002g5-Jf; Tue, 23 Feb 2021 04:29:59 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39496 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lEU0y-00030r-CL; Tue, 23 Feb 2021 04:29:56 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87czxxz767.fsf@gnu.org> <874ki7j97p.fsf@gnu.org> <87k0r0iizg.fsf@gnu.org> <87eeh8b6mq.fsf@gnu.org> <87blcbkw52.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 23 Feb 2021 10:29:54 +0100 In-Reply-To: <87blcbkw52.fsf@gnu.org> (Mathieu Othacehe's message of "Tue, 23 Feb 2021 09:48:09 +0100") Message-ID: <87v9aj5dyl.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: D35CDB69C X-Spam-Score: -2.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9YQ7gLFcTsyR Hello, Mathieu Othacehe skribis: >> 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. Yay! > 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? One could filter packages from the manifest. Currently there=E2=80=99s no definite way to know which channel a given pac= kage comes from. =E2=80=98package-provenance=E2=80=99 in (guix describe) approx= imates that. Perhaps we should try something along these lines. I guess the first step would be to provide an a =E2=80=98package-channel(s)= =E2=80=99 procedure that does like =E2=80=98package-provenance=E2=80=99, but returns = a list of channels. WDYT? Ludo=E2=80=99.