GNU bug report logs - #74629
[PATCH] gnu: home: dotfiles: Update configuration record.

Previous Next

Package: guix-patches;

Reported by: Giacomo Leidi <goodoldpaul <at> autistici.org>

Date: Sat, 30 Nov 2024 22:05:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Giacomo Leidi <goodoldpaul <at> autistici.org>
Cc: 74629 <at> debbugs.gnu.org, Tanguy Le Carrour <tanguy <at> bioneland.org>, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, Andrew Tropin <andrew <at> trop.in>
Subject: [bug#74629] [PATCH] gnu: home: dotfiles: Update configuration record.
Date: Fri, 24 Jan 2025 23:29:36 +0100
Hello,

Giacomo Leidi <goodoldpaul <at> autistici.org> skribis:

> This patch implements home-dotfiles-environment, a new configuration
> record for the home-dotfiles-service-type.  The new record has slightly
> different semantics allowing to fix a bug where some directories where
> mistakenly included while also being present in the excluded field. It
> also separates better the state required for Stow layouts, from the one
> needed by plain layouts. The home-dotfiles-configuration record and
> related procedures are marked as deprecated according to the deprecation
> policy.
>
> * gnu/home/services/dotfiles.scm (plain-dotfiles-directory): New
> variable;
> (stow-dotfiles-directory): new variable;
> (home-dotfiles-environment): new variable;
> (home-dotfiles-configuration): deprecate in favor of
> home-dotfiles-environment;
> (home-dotfiles-directory->files/internal): new procedure;
> (home-dotfiles-directory->files): deprecate procedure in favor of
> home-dotfiles-environment->files;
> (home-dotfiles-environment->files): new procedure;
> (home-dotfiles-service-files): new procedure;
> (home-dotfiles-service-type): change default value to
> home-dotfiles-environment.
> * doc/guix.texi: Document it.
>
> Fixes <https://issues.guix.gnu.org/71217>
>
> Change-Id: I6dec073354b2d3145f1dd508d1037f9fc4cd2635

That seems like a significant change, and I’m not sure it’s really in
line with the project’s pledge in terms of deprecation (info "(guix)
Deprecation Policy").

Can we first consider a local fix for just
<https://issues.guix.gnu.org/71217>, such as suggested there?

Thanks,
Ludo’.




This bug report was last modified 139 days ago.

Previous Next


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