From: Ricardo Wurmus <rekado@elephly.net>
To: Sergey Trofimov <sarg@sarg.org.ru>
Cc: guix-devel@gnu.org
Subject: Re: Are declarative app configs worth it?
Date: Tue, 26 Dec 2023 15:56:24 +0100 [thread overview]
Message-ID: <87h6k5ko0g.fsf@elephly.net> (raw)
In-Reply-To: <874jg5hvz7.fsf@sarg.org.ru>
Sergey Trofimov <sarg@sarg.org.ru> 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.
> - it requires documentation/translation, another hidden cost
We should only accept configuration procedures that have proper
documentation, yes.
> - 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!
> - 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.
> 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.
--
Ricardo
next prev parent reply other threads:[~2023-12-26 15:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-26 13:53 Are declarative app configs worth it? Sergey Trofimov
2023-12-26 14:56 ` Ricardo Wurmus [this message]
2023-12-26 15:05 ` John Soo
2023-12-26 15:18 ` Nguyễn Gia Phong via Development of GNU Guix and the GNU System distribution.
2023-12-26 16:50 ` Ricardo Wurmus
2023-12-27 1:34 ` Nguyễn Gia Phong via Development of GNU Guix and the GNU System distribution.
2023-12-26 15:39 ` Attila Lendvai
2023-12-26 16:49 ` Ricardo Wurmus
2023-12-27 7:38 ` Sergey Trofimov
2023-12-28 14:28 ` Efraim Flashner
2023-12-27 4:15 ` Murad Mamedov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h6k5ko0g.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
--cc=sarg@sarg.org.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).