From: Sergey Trofimov <sarg@sarg.org.ru>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel@gnu.org
Subject: Re: Are declarative app configs worth it?
Date: Wed, 27 Dec 2023 08:38:24 +0100 [thread overview]
Message-ID: <87zfxwgk3g.fsf@sarg.org.ru> (raw)
In-Reply-To: <87h6k5ko0g.fsf@elephly.net>
Ricardo Wurmus <rekado@elephly.net> writes:
> 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.
>
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.
next prev parent reply other threads:[~2023-12-27 7:51 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
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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zfxwgk3g.fsf@sarg.org.ru \
--to=sarg@sarg.org.ru \
--cc=guix-devel@gnu.org \
--cc=rekado@elephly.net \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.