From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +HKHJnXXi2Ua+QAAkFu2QA (envelope-from ) for ; Wed, 27 Dec 2023 08:51:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KO+VIHXXi2UqAAAAqHPOHw (envelope-from ) for ; Wed, 27 Dec 2023 08:51:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=sarg.org.ru header.s=google header.b="D/2jSpgS"; 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=1703663477; 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=v/Wsua53hs/0rdGtd+SfnCr8BbNoRSGr2kAUs6s3Kkw=; b=ZI3BRiICujmtCw0E/1WJQ6Qo4IutE+QpuoKMi1yixr+OlfMlgySQ5N9WpoqMXU1xGQ7QBg nKvU4aIRPiVhRS1jA3kS8x2iMBDKie5jk61Kxgh0mHd40XLV7H/EKFnDUe72wqGyrvjpJc zxhZDXEFSqS1FKPs+MpNjR0SJCjCgTMrcfy1DoGB5aozXXiS9pRc3P3avqJOS0mD+B9Wub ryXKQbKDZAjtALKlUjET3+4HRKskC+lQ59LRO6Xnk50LIisVXk0vGfNHJfmGxyWgNzNBdp IaBvyJlj/BtyKpUbUlSQLxSmac1JtgokTg7vb3v6jKR2s1XMIbeGOCv8OiHEpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703663477; a=rsa-sha256; cv=none; b=m/PNV+pZc4bH+5QOjRwimfwsscXwbLHrGnlr2LoMqmRs65PTtWlIuNipSG70YPPH1gnGnh JMhRBq5g+Thak/qOncMH7kuaspQM9IZviDHEr2LKE8LLoZZmjZ9raLTiaiscWKfz6FzYkC /TLzYcSjaEvncdgIsUoKq2/wYVzHru66JkJULv60tYVUI0Ui/w/P2uw1BXCYobEv6KTBR+ qdmzoeASuenOUgvAyJsqkb0wfbNyhSaQLgY1wsgEI9k9p2+2wSbJjNIOkLtiNnlNLgSubz rBq2VuKnB6nht423eiCJMQsX8c8BLYVmt1Dv8sHMZS9RYKLyJ297GF5zmLdPOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=sarg.org.ru header.s=google header.b="D/2jSpgS"; 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 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 AF5B23A905 for ; Wed, 27 Dec 2023 08:51:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIOgW-0008NQ-Sn; Wed, 27 Dec 2023 02:50:36 -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 1rIOgT-0008N4-Qp for guix-devel@gnu.org; Wed, 27 Dec 2023 02:50:33 -0500 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIOgR-0008Hr-Mn for guix-devel@gnu.org; Wed, 27 Dec 2023 02:50:33 -0500 Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9fa45e75ed9so514937666b.1 for ; Tue, 26 Dec 2023 23:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sarg.org.ru; s=google; t=1703663429; x=1704268229; darn=gnu.org; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=v/Wsua53hs/0rdGtd+SfnCr8BbNoRSGr2kAUs6s3Kkw=; b=D/2jSpgSLMfsC7P572lSIVmMS9UYJwl3mZbs/m8DcXS/DniZ5AshllgWbGlXC/8Xqq fwMWvR1jbllfP5pEM/VVs0ozsHeV/a1XJ1bKg9BMjrISs7+eI6UDSLdsZC86r/ePfiLd cqKcl0QCdYd5GTVUXeJgj8xkh0/Qap0X6rc1k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703663429; x=1704268229; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v/Wsua53hs/0rdGtd+SfnCr8BbNoRSGr2kAUs6s3Kkw=; b=ZmMTLNaFDHsHyV0ET1Knve0hxHuHyPmZwSaJRVX5xQ0vZ5OrHTnb10KhH4rMLoeJHN pziX2F9F4vxSU7co5AWkVEKUqMCrxZdzUbNdyu6NXwvL1ryaKGp/1gI5qGexGniW7jG3 XEN6qgVs9npggDHcWvJd8IKIqoi1PJF1rVudhdwpbRb8wr42/R00oxfe8DQrzucaRF+z CeXUP9s63VAy96rbXbiYBChyLZ6pknltfDsohmyM2bXBQD/EjVhp7c4fgct9z4qKPMVP 9i5RA7EG0YJJb/2SJhHCMGAebvIAYTTx5XgxQY445408tVbwuMeoPL6JYtiMGwhZT0He TJXw== X-Gm-Message-State: AOJu0Yz7Y8Sm68+H5u7cfZm0ImHmgZW+KmsIkjnkbFJ29QXOS2VNPoh+ 8XkJyw7cC8/hQJ/fbvVLz4gqeY+fAp21MHGLpk0lrx+tlhFj4g== X-Google-Smtp-Source: AGHT+IG9twdNgW0566oSlBnA81S18wBr+H7u34bd8YI/xWe/heBWAWkdhM+qY003OfemHKRyeiCVzA== X-Received: by 2002:a17:906:1091:b0:a23:6484:5cc9 with SMTP id u17-20020a170906109100b00a2364845cc9mr3776973eju.146.1703663428860; Tue, 26 Dec 2023 23:50:28 -0800 (PST) Received: from localhost ([2a02:2454:a09d:d000:a64e:31ff:fe38:fd6c]) by smtp.gmail.com with ESMTPSA id ey6-20020a1709070b8600b00a26abdff0ebsm5806153ejc.142.2023.12.26.23.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 23:50:28 -0800 (PST) References: <874jg5hvz7.fsf@sarg.org.ru> <87h6k5ko0g.fsf@elephly.net> User-agent: mu4e 1.10.8; emacs 30.0.50 From: Sergey Trofimov To: Ricardo Wurmus Cc: guix-devel@gnu.org Subject: Re: Are declarative app configs worth it? Date: Wed, 27 Dec 2023 08:38:24 +0100 In-reply-to: <87h6k5ko0g.fsf@elephly.net> Message-ID: <87zfxwgk3g.fsf@sarg.org.ru> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: none client-ip=2a00:1450:4864:20::62d; envelope-from=sarg@sarg.org.ru; helo=mail-ej1-x62d.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.13 X-Spam-Score: -3.13 X-Migadu-Queue-Id: AF5B23A905 X-Migadu-Scanner: mx11.migadu.com X-TUID: W+9Aq3R6Sk/1 Ricardo Wurmus writes: > Sergey Trofimov writes: > >> - 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. > 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 even higher than it already is. >> - it bloats guix: imagine if we add configs for every >> user-configurable app > > That would be nice. > > 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! > imo, R and bioinfo should be in channels. >> - 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 > > 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. > 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. >> 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. > > All config bindings need to have an escape hatch. > That would be great.