From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WPh3KKsy8GKSTgEAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 23:46:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QK9vKKsy8GLLvQAA9RJhRA (envelope-from ) for ; Sun, 07 Aug 2022 23:46:19 +0200 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 4CCC7D771 for ; Sun, 7 Aug 2022 23:46:19 +0200 (CEST) Received: from localhost ([::1]:47520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKo6E-0002mB-7W for larch@yhetil.org; Sun, 07 Aug 2022 17:46:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKo5y-0002lv-3Q for guix-patches@gnu.org; Sun, 07 Aug 2022 17:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKo5x-0001ug-RT for guix-patches@gnu.org; Sun, 07 Aug 2022 17:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKo5x-00007Y-Kx for guix-patches@gnu.org; Sun, 07 Aug 2022 17:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56699] [PATCH v2] gnu: greetd-service-type: Add greeter-extra-groups config field. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 21:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56699 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: paren@disroot.org, 56699@debbugs.gnu.org X-Debbugs-Original-Cc: "\(" , 56699@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1659908732419 (code B ref -1); Sun, 07 Aug 2022 21:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2022 21:45:32 +0000 Received: from localhost ([127.0.0.1]:38415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKo5U-00006Z-99 for submit@debbugs.gnu.org; Sun, 07 Aug 2022 17:45:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:34822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKo5P-00006L-OP for submit@debbugs.gnu.org; Sun, 07 Aug 2022 17:45:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKo5P-0002lA-JL for guix-patches@gnu.org; Sun, 07 Aug 2022 17:45:27 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:59516 helo=nomad-cl1.muradm.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKo5O-0001tO-6j for guix-patches@gnu.org; Sun, 07 Aug 2022 17:45:27 -0400 Received: from localhost ([127.0.0.1]:46580) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oKo4m-0001Z8-39; Sun, 07 Aug 2022 21:44:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To :From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=si6vmR69WWx0B/e+tyS9cplxa4euN/1AA/9rwBqDZBI=; b=sQl1lD1TX2N9x1XNjeFcBYj+iC D05OpJXr5L2Mb6yBeFaL0Fb0ZqXHNQ3pw2Mv/ggXy6TV0Ls/e5qdAJ94T1L0n9Kc9sjlKLXt/z9W9 wvkcWoEV9hYCPTvg7sRDgVPfsCcmcMAjtMpwIY/uFxxuMcsg8nOj/b6pmIzbW+9PMertKxltWtZjg EbVmVHuP8DrglKX46SyslaNJz4/iJGzdOZBmDHsq2f8T1ikywcP79wZlv3haheCK71PhWsaT7dl9C QY3qa6wGHDzu/fX/5DL8jyr+LiAxrhSo8BBa1oJcolvwYsUVSCVZvk8w5my6zdao7eVbFvwsF31B7 wAPUdtx52v5eaQ4FyWvBgn9/gR3Px04TKaFgVF92SCKLXGAJSGPbR58ij/CpGBsxOSH+pE4uhw2jV ePu2zDzHvdrQUB/ObfRRVX20925Z/r/PsPQYp8v9DGfr/tT2ZqGjF8nLXX9bungawkaVfQtjqZW0l 7JRb0Dak21MImDt2mkO4E9rX; Received: from muradm by localhost with local (Exim 4.96) (envelope-from ) id 1oKo5D-0005np-1w; Mon, 08 Aug 2022 00:45:15 +0300 References: <20220722114501.5273-1-mail@muradm.net> <87v8r71909.fsf@muradm.net> User-agent: mu4e 1.8.7; emacs 29.0.50 From: muradm Date: Mon, 08 Aug 2022 00:42:09 +0300 In-reply-to: Message-ID: <874jyn20et.fsf@muradm.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=139.162.159.157; envelope-from=mail@muradm.net; helo=nomad-cl1.muradm.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659908779; h=from:from:sender:sender: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=si6vmR69WWx0B/e+tyS9cplxa4euN/1AA/9rwBqDZBI=; b=PtElc1+NsohEh2y5Nm4F4DJiJvJKw34Uk2EfgweWgf/rUpmHNxi+FzdnPrSR+VEMXdCMjM S+s1QrPiTn6Qje7LONys7xemvt9UpBvl3Cnt/i138s0xqXYvbV1qldQEqJPW0jW1ApxFnj 939QyVtIyYO2gcMugQNl7B/xNAfz3v85ZiqmqY24T9QEll0TjlJBS2h/jmIY22x/d7dc+h ScFpCaOYcG5eQRTtjIa1STF0ehjgyuIB92Y24EodtxOXas83MpksHBrKoJFCeWSa9Gve8x t1W+fLlHsJOTPfuIL8k0HFJImRgjglcYm1raNFJB7okVM/lsllLLaOT4pl5+jA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659908779; a=rsa-sha256; cv=none; b=fyhwke7KODbsxykYnw/vb+UVpcFDKiLGqFgOBHN8VwLefIvI1HkFS/Mza7gN5/NRLFhTE4 FBIlWk9RY2b/Y2oWyP1BzS6LM163nvls73qD1GsvytLH8lfxs+jGuUvjFSKegf47y0i45V qzSS/iiB6jkxzthpjXinaFAISjh8B8vT9eQ0PKNcrE9LSdDlqbAk90e1W6C3ruj9l6iic9 TYEnOz81k+POCgX/YQjSAym2Zxtq7Hj8y4/7i0kVOAgDwJywEKMUTfGksaDxBEVSrtmTk1 gnaw1ssZPvaJ5GRUp5+eVFP+yw0AF8p3pU72M7Cf4SPYKAJcJTNfVBi4jfWTEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=sQl1lD1T; dmarc=none; 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" X-Migadu-Spam-Score: -1.19 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=sQl1lD1T; dmarc=none; 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" X-Migadu-Queue-Id: 4CCC7D771 X-Spam-Score: -1.19 X-Migadu-Scanner: scn1.migadu.com X-TUID: VMrDqL4fBbMx --=-=-= Content-Type: text/plain; format=flowed Correct, no defaults are given. Attached is v2. Defaults non existent, append/cons* irrelevant. thanks in advance, muradm Liliana Marie Prikler writes: > Am Freitag, dem 05.08.2022 um 09:44 +0300 schrieb muradm: >> supplimentary-groups receiving a list, so I find it more >> informative when adding apples with apples. And yes with high >> enough >> chance more groups could be added to the list of defaults. > What are "the defaults" here, though? A sequence of hard-coded > values > known at compile time. There is no need to make that sequence a > list. > >> Is there any preference on using cons* in favour of more >> readable >> append? > Use of cons or cons* signals that you are only expecting > user-supplied > groups to be a list and everything else known values. Use of > append on > the other hand signals that you are expecting multiple lists, > which > even if you did are not currently present. > > Cheers --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEESPY5lma9A9l5HGLP6M7O0mLOBeIFAmLwMmsACgkQ6M7O0mLO BeISvQ/+OnYE07rD+0gZcBs7XA2u02k8E31ywGhXeO4Ja8BHfHf9kmSDecmj0kD7 +k5Zwl8IrrADU8GP7MqJwcrc2grwpgMYbwqHTUPN6mHpINjgTyWGtKYsiuHbZ3Tf +e0HfzVZ968G34xtZy9fiDX5XjGE3LNAj3x/rT1pWdEeLJYZPugTPqaDRZv/yUBv W+bBKOIYO9X1MWDmsqAcNN1JiibLisgCKC7zIdvFgB4vYLdpni8I7z25ban1loqT CBjT/3Lf1vUO1Kszf3reUWWVtXZ/a1znDutsvrFapdN9L+0PcLvKAc6wBtCde2sm v5NcNGn2gse2wCSnEvJS24xouunZ1jiAusPk1jXH03sNLUAvTcC5aEpI2Wbfp2a6 WvOHpUTqojm0MByHgoPSaZwaT9rUKRK9HV1iRwVn8BaoKIkyM53pc98EV2syMPcW fOVkBEFQCPUectmV5kryYnFvWUQdh7Wb3TR4heSuSTiKVwQFxWXqTG61hh3C2q9S JkLcmF1HbuyARLwsAWZIlUfMUNdSjJZmp8urdJ+qPgcSCzcDFLQOjFwOKXZuj1Wt cAvVcctO2CzMSl+blsWRELazYC9Jdfy0SxSXgQ8QPOzxun82ZwVESXzVVLJJgGCE OWLrX4PWS4B9+QDlsVGq+cekxck8A0PHC0+RpJjGe6iFTFfZQoU= =rpws -----END PGP SIGNATURE----- --=-=-=--