GNU bug report logs - #71802
[PATCH 0/1] Avoid guix home reconfiguration when nothing is to be done.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Thu, 27 Jun 2024 15:08:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Richard Sent <richard <at> freakingpenguin.com>
To: Nicolas Graves <ngraves <at> ngraves.fr>
Cc: 71802 <at> debbugs.gnu.org, andrew <at> trop.in
Subject: [bug#71802] [PATCH 0/1] Avoid guix home reconfiguration when nothing is to be done.
Date: Fri, 28 Jun 2024 21:08:20 -0400
Hi Nicolas,

> While experimenting with profile reconfigurations almost a year ago, a
> thing that happened a lot was that I reconfigured a lot while often I
> didn't need to. In the event a guix system / guix home wrapper comes
> to life (I've experimented for that in RDE), such a reflex to avoid
> switching to new profiles that already are existing profiles is
> welcome IMO.
>
> This is not a definitive proposal but rather an illustration of an
> approach which could be implemented at other places too to avoid some
> unecessary calculations / reconfigurations.

I can't figure out exactly how this patch could apply, but I can see it
or something similar being useful when using guix-home-service. If we
can make oneshot service attempt to register a new generation on every
invocation /and/ use a patch like to avoid redundant generations, it may
solve many of the issues raised in [1].

[1]: https://issues.guix.gnu.org/69781#5

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.




This bug report was last modified 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.