From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0L4gAArvimVQugAAkFu2QA (envelope-from ) for ; Tue, 26 Dec 2023 16:19:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cC8vNgnvimUAOAAA62LTzQ (envelope-from ) for ; Tue, 26 Dec 2023 16:19:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=loang.net header.s=default header.b=iGTvj+2N; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703603977; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=B3d39SK9lJ8FgAtIa6auW0lOopyMvoV0Epnyiba5/cY=; b=cSYaIkzETvIbXz00ZBl+oELapB50PimBWSQl4n+q0G8//neuURlmTglbLbEPt0zRBB/lcV NfRVZOWrKWWMOogwTFGc9qWuqOw+OVOe11X6F8n5sftSo30fW/S2hkMgqVA9DIe8v73Z5f wzBTrfVnQB0+bvyJgfCNEWriDM+yvbZjiQUdRDoh1kldkJdly7HD+KIXPimrQ/3+UItXWh ijllq32EHEHfKUsfU83vey5jGhtXs9wFNqvMmlv4nKbUO0GZgjNvSZmz2yD56sbWBS4YU7 HLxHvRwaasz9YzdNCIPUYGkXZeaOif5eIbe6C0CWbWkbnrzGuhRR7IHJpPea8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703603977; a=rsa-sha256; cv=none; b=SEz5fnq/hT1m6phhi7h5f4xhxM7YkXsmGYhsu1E47E8GYwzgXGUUwukRG41+q1VZA0S017 tM+AM4I5fPofafuzQMWaRqX2+ZgsWupNAZTwL+5G/vFegXvUFmPIKfKvW/4pQHOtmqcEU6 +aP8C1M/cFuvXxYadlb4MNCEZJ4CN64CTorDavh0pqBF/Ty76eueIE5u9oCBmsDproare/ 5nPGDGx8MJkhg0elEFoRFW25FWlGXcfXE1NshJ5TQSl6WuIHWxEIPqJ8bovu9b9Dqu96xA bf0YIIQ3IlUkq903ceKLgtA++DeBTj2fNmcdNsKg0RGnbK49w4tOgyqSaVBPTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=loang.net header.s=default header.b=iGTvj+2N; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 730A04015D for ; Tue, 26 Dec 2023 16:19:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rI9Cl-0005oo-KR; Tue, 26 Dec 2023 10:18:51 -0500 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 1rI9Cj-0005oS-Rp for guix-devel@gnu.org; Tue, 26 Dec 2023 10:18:50 -0500 Received: from tem.loang.net ([2a03:3b40:100::1:2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rI9Ch-000681-Vm for guix-devel@gnu.org; Tue, 26 Dec 2023 10:18:49 -0500 DKIM-Signature: a=rsa-sha256; bh=B3d39SK9lJ8FgAtIa6auW0lOopyMvoV0Epnyiba5/cY=; c=relaxed/relaxed; d=loang.net; h=Subject:Subject:Sender:To:To:Cc:Cc:From:From:Date:Date:MIME-Version:Content-Type:Content-Type:Content-Transfer-Encoding:Reply-To:In-Reply-To:In-Reply-To:Message-Id:Message-Id:References:References:Autocrypt:Openpgp; i=@loang.net; s=default; t=1703603918; v=1; x=1704035918; b=iGTvj+2N/F08eldWVzAyz3H74YdozIzaZh45ztIYdYpLs9ul1hhniafLTaQH6RsTuUicmYMy J3OQ+eZTrAjrKphMNyVsDNbHi5U/fdiv4H/AkfoHpb+UIoIMb4wVj6ilvICuE/QphtQJlqjk/fE OHEEuYQfXz+jH1H8FcyI7uWDhCS+HCgaTxbsWag58xJEfdVcabnATKBOqI+2U12yFQkNw75B5JO whZjlfkf4xfO8foUD8VyzqgIE+ORa7mQ+fAoE9GsMCnjttR9F27iPsFEBWuAXOnTOf8QQYyxfAz /mvQfC1rgHGJrTm7ORj/y0HGpahZJ+vMqlZ2JgIoMKWFQ== Received: by tem.loang.net (envelope-sender ) with ESMTPS id 21e59ad1; Tue, 26 Dec 2023 15:18:38 +0000 Content-Type: multipart/signed; boundary=ee99c8abdef1d5939f204b98a5933ee8b707cc7aaeb7d7364d4c4c8f0e9f; micalg=pgp-sha512; protocol="application/pgp-signature" Date: Wed, 27 Dec 2023 00:18:26 +0900 Message-Id: Cc: Subject: Re: Are declarative app configs worth it? To: "Ricardo Wurmus" , "Sergey Trofimov" References: <874jg5hvz7.fsf@sarg.org.ru> <87h6k5ko0g.fsf@elephly.net> In-Reply-To: <87h6k5ko0g.fsf@elephly.net> Received-SPF: pass client-ip=2a03:3b40:100::1:2; envelope-from=cnx@loang.net; helo=tem.loang.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, MIME_HEADER_CTYPE_ONLY=0.1, SPF_HELO_SOFTFAIL=0.732, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= From: =?utf-8?q?Nguy=E1=BB=85n_Gia_Phong?= via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.82 X-Spam-Score: -5.82 X-Migadu-Queue-Id: 730A04015D X-Migadu-Scanner: mx11.migadu.com X-TUID: XUc+ApZr3HLq --ee99c8abdef1d5939f204b98a5933ee8b707cc7aaeb7d7364d4c4c8f0e9f Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On 2023-12-26 at 15:56+01:00, Ricardo Wurmus wrote: > On 2023-12-26 at 14:53+01:00, Sergey Trofimov wrote: > > - adding it to guix increases maintenance burden: new versions > > could add or remove config options > > This is why there should be automated tests. > There are too few of them. This is easier said than done. A program could require a display and audio server so it's not trivial to run as CI, and even for contributors and maintainers, some configurations could only be tested with the program's input file, and even then some tests would need to measure imprecise things like text colors which is aliased. On 2023-12-26 at 14:53+01:00, Sergey Trofimov wrote: > I think guix should not embed config generators for user software.=20 > The only need I see for such generators is when there are options=20 > which should be the same among multiple applications (e.g. color=20 > schemes or shared directories). For such usecase guix should=20 > provide better text manipulation tools which home owners could use=20 > to parameterise configs. One other case is when it involves other packages, like native messager for IceCat: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Nati= ve_messaging I would also want to share my experience as a user, that having to run guix home reconfigure iteratively is not exactly pleasant due to the high delay. Home files service suffers the same problem, and I'm suggesting to allow an option to install the symlink (e.g. /gnu/store/...-foo -> $HOME/.../foo) to make this convenient. The user is likely to version control the parent directory anyway, and the home files config does not include any hash to justify copying the file to the guix store. --ee99c8abdef1d5939f204b98a5933ee8b707cc7aaeb7d7364d4c4c8f0e9f Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIQEABYKACwWIQSDiv4NVdwHTjYPlDqEtpzm8/a3ZwUCZYruxQ4cY254QGxvYW5n Lm5ldAAKCRCEtpzm8/a3Z50bAP9L4UBLFNY4kNjY4gn4BMJCwQgzgVw9tuKdMcj2 S/l71wEA83om9kv8NZxOaL32bjzBMxet+QCF9SYq5L9/3FbsGAk= =LcL2 -----END PGP SIGNATURE----- --ee99c8abdef1d5939f204b98a5933ee8b707cc7aaeb7d7364d4c4c8f0e9f--