all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Nguyễn Gia Phong via Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org>
To: "Ricardo Wurmus" <rekado@elephly.net>
Cc: "Sergey Trofimov" <sarg@sarg.org.ru>, <guix-devel@gnu.org>
Subject: Re: Are declarative app configs worth it?
Date: Wed, 27 Dec 2023 10:34:57 +0900	[thread overview]
Message-ID: <CXYQANLH4PT6.15QH15901U0P2@loang.net> (raw)
In-Reply-To: <878r5glxdv.fsf@elephly.net>

[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]

On 2023-12-26 at 17:50+01:00, Ricardo Wurmus wrote:
> Nguyễn Gia Phong <cnx@loang.net> writes:
> > 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 […]
>
> Yes, it’s easy to say a lot of things.  This is not an argument against
> providing tests *where feasible*.

I'm not against tests, but pointing out that relying on automated
tests to detect breakage is an unrealisitic expectation
for most programs.

On 2023-12-26 at 17:50+01:00, Ricardo Wurmus wrote:
> > 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.
>
> What’s a high delay?  Is a one second reconfiguration too long for what
> it does?  I don’t think so.

Any reconfig that isn't cached takes over 5s on my fairly modern
amd64 laptop, which is considerable for the repetitive
edit-config-then-test flow.  Even a cached home takes a whole 2s.

Reconfiguration just rebuild each config file in guix store regardless
if it's changed, so running it is a wasite of time and resources.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 248 bytes --]

  reply	other threads:[~2023-12-27  1:36 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. [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CXYQANLH4PT6.15QH15901U0P2@loang.net \
    --to=guix-devel@gnu.org \
    --cc=cnx@loang.net \
    --cc=rekado@elephly.net \
    --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 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.