From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kKgCJCOGjWWG7AAAkFu2QA (envelope-from ) for ; Thu, 28 Dec 2023 15:28:51 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 4N0gHCOGjWXEpgAAe85BDQ (envelope-from ) for ; Thu, 28 Dec 2023 15:28:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LEEmAN5e; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703773731; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=bFrBwKERYKUNzqlwc/6/DvsGcvgUuW63S3KgasWWhDw=; b=qUsgd9SFw8WyiuYaqlKOoKTgLWLAKRS1WnWCleP+ESO3DVziwOeOWTPUgKg8Y5qZitdLDT qBHxQJXpOIV8WT3Jo+abCIfR52kqXKCa37+Prld7okfa1N7yI1oCAhOVZ//yDw89CEuyZb 4vYnW9wJk/yuJ3EV4iWKtdoDTqo8AEHfnDfiU4/LtOcjTPTVnLAIexSE7TpRhmqrPL+HV0 6JhS0YCwY5DaAi7rIz4jdofuG+ApBNacb9Hru9H41PblQWP8Th3Ik4gB1B+yO35DhMEuc7 ciu+jfEOlzYa8pB07cAWeAEUxraCDv8VX+bqHC0g3crtUFwnXYjpQPJoHCrx6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LEEmAN5e; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703773731; a=rsa-sha256; cv=none; b=LBhwKl1+hcvcjLHyNEJbflH0cGgv1Lys9vuQGiQJttoaDN6Qg7bkmBb4NYQcKFomIUvPxu yNXZRaY8sPHmHQlUeUoG4st+fVk/e4Dl5vi2EfEM0QQOOENrI2d+hZi3C0XjfuZtTlFRMk 8Tj1z/B3lWb5pdoNRXzVNhWyf+5GZY07gBKw72+tPNb6qqYMFEb13KwIpe/owI+S6WZlgv Q7rNrO/SZLVYkJz6MmS5hiCAsJB6grPZgYlvxueQ9zTIPNHhiJzLbcHgZ5jqYNk0/S8L45 smpuWhBGiqbI7J3N3YI8+RLIFFCbna8PRbcw6a/myQCGqIi63ZoLYbNBwMc7/A== 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 23A8F21D4A for ; Thu, 28 Dec 2023 15:28:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIrMw-0006es-17; Thu, 28 Dec 2023 09:28:18 -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 1rIrMp-0006eR-8U for guix-devel@gnu.org; Thu, 28 Dec 2023 09:28:13 -0500 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIrMl-0006V8-NP for guix-devel@gnu.org; Thu, 28 Dec 2023 09:28:10 -0500 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40b5155e154so80197585e9.3 for ; Thu, 28 Dec 2023 06:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703773685; x=1704378485; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=bFrBwKERYKUNzqlwc/6/DvsGcvgUuW63S3KgasWWhDw=; b=LEEmAN5e3fYv+yjm/8PYkCb2+v0OG9dZOJ/bgqDmlNr8UEjFCwyv7yF1ddiaxICEbB myeKJy0IWl4r6es4Kr7mJDcyodK639RctLQH88z0t0JFuAbYz8U45izxOmIhbslfkNxi Wt1JwDWVpMrsJER9Sbie0oqpuFwT3HklNVAm0XSkkYeskKel/SS/5QFIiTa4bKM9O2t0 fYj5msbl0YeDfGs1hub9vWKkq5wB18HwsVDMMdOohIwAyKvaOPE3nRAg68JBVnyo5H7j f/wkKhioy7DxJGLUPmySIQ+wxykL3LG0+aojiioRh/EohFsWIOXbrIyPdLl0LIJgrddQ H55g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703773685; x=1704378485; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bFrBwKERYKUNzqlwc/6/DvsGcvgUuW63S3KgasWWhDw=; b=PjKDscvXlOFReYPeO6hv/+WNh5xs2w9JNISARFiUSMusPi5ZSIiwmYIzgsNqJl00fZ M52Rj5uk8X/InRMZc1lfE+QL2D55vCE105F4In/KoWsOcX7bFzv8j8FVtjKo2IGE3wBT 2iYvhGupPbgyORDjEeERpVAXwW9Dv9cten3kZB+e6A8bQ8rYSvmgaBanIsIVPZcJPsWz UT1lazt0MCStMRGq0O4r0Pya4waMKukGYlccEXif/fVVDlVeEkvQo0wr0xPIEL6Qlh7X Icgcj6wKI1aUy2lBgLz3NS19YWKUCud5DyeIBS8k50hr2rDOnl1q9HBiqcrfQav7yHta 9Pxg== X-Gm-Message-State: AOJu0YwTy3NXw4WZ0guWcrA5JW/a4+fXQdY9bhm43EhubPmwB9Fjehtn pD86lHjOqRNyfUN/CE7VOS7HsaBBpZZnUQ== X-Google-Smtp-Source: AGHT+IF9jC8l7X2y1qT9ErcJsk0+qTJj9NO+uIIgSZIx1hyGJEVeTp8gaMn6U5NxNzrZbu0wIaeMww== X-Received: by 2002:a05:600c:1ca9:b0:40d:60ac:409f with SMTP id k41-20020a05600c1ca900b0040d60ac409fmr999145wms.173.1703773684663; Thu, 28 Dec 2023 06:28:04 -0800 (PST) Received: from localhost ([141.226.15.142]) by smtp.gmail.com with ESMTPSA id j10-20020a05600c1c0a00b0040d5b7b9ba1sm8497197wms.6.2023.12.28.06.28.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 06:28:04 -0800 (PST) Date: Thu, 28 Dec 2023 16:28:02 +0200 From: Efraim Flashner To: Sergey Trofimov Cc: Ricardo Wurmus , guix-devel@gnu.org Subject: Re: Are declarative app configs worth it? Message-ID: Mail-Followup-To: Sergey Trofimov , Ricardo Wurmus , guix-devel@gnu.org References: <874jg5hvz7.fsf@sarg.org.ru> <87h6k5ko0g.fsf@elephly.net> <87zfxwgk3g.fsf@sarg.org.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bBSiVkVylqtBshvV" Content-Disposition: inline In-Reply-To: <87zfxwgk3g.fsf@sarg.org.ru> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x335.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.86 X-Spam-Score: -5.86 X-Migadu-Queue-Id: 23A8F21D4A X-Migadu-Scanner: mx10.migadu.com X-TUID: mQecHTN2nWi4 --bBSiVkVylqtBshvV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 27, 2023 at 08:38:24AM +0100, Sergey Trofimov wrote: >=20 > Ricardo Wurmus writes: >=20 > > Sergey Trofimov writes: > >=20 > > > - adding it to guix increases maintenance burden: new versions could > > > add or remove config options > >=20 > > This is why there should be automated tests. There are too few of them. > >=20 >=20 > that adds up to the pile of boilerplate to implement a simple config. If > guix mandates it for new packages, it'll raise the bar for contribution e= ven > higher than it already is. >=20 > > > - it bloats guix: imagine if we add configs for every > > > user-configurable app > >=20 > > That would be nice. > >=20 > > If we started to accept the term bloat we could easily apply it to > > anything in Guix: all that R stuff? Bloat! All that bioinfo stuff? > > Bloat! > >=20 >=20 > imo, R and bioinfo should be in channels. That wasn't a serious suggestion. > > > - such configs are not easily transferrable: if I were to use the > > > same app in non-guix env, I'd have to maintain 2 configs > >=20 > > We are generating configuration files from our config languages. So you > > would only need to generate them and copy them for your non-guix > > environment. > >=20 >=20 > Sure, that's why I wrote "not easily". My non-guix env is a corporate Mac > laptop. Currently I just clone my dotfiles, symlink required configs and > it's done. I can make changes in both environments and there is no > unnecessary "compiling" step involved. You're not required to use the guix-home bits. I didn't for a long time, and there are still a lot of config files that I have that I either symlink into place or I write out in my guix-home config file to be splatted into place. I still regularly scp my .screenrc and .inputrc to other machines. > > > Another recent example is `oci-container-configuration` which > > > defines > > > a subset of docker-cli startup arguments. The problem is that > > > `docker > > > run` command has 96 options and the configuration only uses a > > > handful, > > > lacking a way to provide the remaining ones. > >=20 > > All config bindings need to have an escape hatch. > >=20 > That would be great. Most services have an extra-options (or similarly named) field where you can add extra bits to the config. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --bBSiVkVylqtBshvV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmWNhe8ACgkQQarn3Mo9 g1G/wA/9EVaaM6fAV8sRUePo9+KMApAwz6LdXTfM0sLVhWEsjK+wAxAM+MPb17vH vLVpHy9sM3yYB0w4Kuir43DEGrX90fq5HoIwW6GeKXVxuZ7VT2LuucEgc5zOQoaJ IJpILyUjYk5j+0hjv8C4zEy2Gk7mYN2BC9ZAehT2ySjWDVs2jf4r48rf9vnyzJsX oW+AUqWnaPLwSz8ZFEZfx4s3CfwEKjS74luw8Czfhwa7H6K3lsUqQ2nFEXhX2lvG nKDSLKX86s79gPrSNnDGgmEYT3IRQf7orEEKH6Fr86fKeMzoif3+anDo/R9gAw4C 29Lww5/rOHJNZsO/LlqQqpQ5VBh4YWh3E2D1FqcCaJoQavGpHw88RS9hdF9DPzha CleAbkbGhth83djYBZBHwTcJf8eeY+0daqVyEpzNE/GFzPKcn0oVIWfjPtu2IJvS 3GCy2jLr01+gSlxYCwon/wvRNiFH4ZgDgmHIYLrgYNPrvlqZNs4lBFsfbUowT+eR 16GeDpejZCGdmcFym7zMit1Gwt18YUJ1OS7F3INPar7kjxdL3i9maN4H8w30cdnw zcD+Q8Bjs82GmISa7ixkayMVi9losvZA6LJVLeExHUYlWNAlhUQJlvpGI0cA1dbj /eQJEZz+R+JHu7xOmZeQCxbwxQzH3zct9V4OL6ZWKd2j7bP3GqQ= =nLDG -----END PGP SIGNATURE----- --bBSiVkVylqtBshvV--