Bug#899337: closed by Dominique Dumont <dod at debian.org> (Bug#899337: fixed in libconfig-model-dpkg-perl 2.114)

Guillem Jover guillem at debian.org
Sun Feb 17 02:32:47 GMT 2019


Control: found -1 2.121

Hi!

On Sun, 2018-07-15 at 15:39:03 +0000, Debian Bug Tracking System wrote:
> Source: libconfig-model-dpkg-perl
> Source-Version: 2.114
> 
> We believe that the bug you reported is fixed in the latest version of
> libconfig-model-dpkg-perl, which is due to be installed in the Debian FTP archive.

Unfortunately, only part of the bug was fixed. :)

> Format: 1.8
> Date: Sun, 15 Jul 2018 16:53:53 +0200
> Source: libconfig-model-dpkg-perl
> Binary: libconfig-model-dpkg-perl
[…]
> Changes:
>  libconfig-model-dpkg-perl (2.114) unstable; urgency=medium
>  .
>    * Store my_config in ~/.config/config-model/dpkg-meta.yml.
>      dpkg-meta data from old locations (~/.dpkg-meta.yaml and
>      ~/.local/share/.dpkg-meta.yml) are migrated and the old
>      files are removed. (Closes: 899337)
[…]


> Date: Wed, 23 May 2018 02:52:13 +0200
> From: Guillem Jover <guillem at debian.org>
> To: submit at bugs.debian.org
> Subject: libconfig-model-dpkg-perl: Please use XDG paths for user config
>  and cache files
> Message-ID: <20180523005213.GA14608 at gaara.hadrons.org>
> User-Agent: Mutt/1.9.5 (2018-04-13)
> X-Spam-Status: No, score=-26.5 required=4.0 tests=ALL_TRUSTED,BAYES_00,
>  FROMDEVELOPER,HAS_PACKAGE,TXREP autolearn=ham autolearn_force=no
>  version=3.4.1-bugs.debian.org_2005_01_02
> 
> Package: libconfig-model-dpkg-perl
> Version: 2.111
> Severity: wishlist
> User: guardians at namespace.hadrons.org
> Usertags: homespace-rift

> This package by default stores cache file directly under ~/, named as
> «.config_model_depend_cache», and its config in either ~/.dpkg-meta.yml
> or ~/.local/share/.dpkg-meta.yml. It would be nice if these could default
> instead to the XDG basedir cache and config directories [X], using
> properly namespaced paths, so that we can get a clean home directory. :)
> 
> The namespace would be ideally something like:
> 
>   ${XDG_CONFIG_HOME:-~/.config}/config-model/dpkg-meta.yml
>   ${XDG_CACHE_HOME:-~/.cache}/config-model/dpkg-depend.cache
> 
> or something along those lines (File::HomeDir does have support for
> my_config and my_cache methods on FreeDesktop supporting platforms).
> The current usage of ~/.local/share/ seems wrong, both for the chosen
> path and for using a dot dir within.
> 
> Given that actually moving these files around might be considered tricky,
> if taking into account shared home directories, or backwards compatibility,
> I think reading both XDG and legacy directories in that order, by default
> would be fine.
> 
> [X] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Although the config file got handled, the cache file did not.

Thanks,
Guillem



More information about the pkg-perl-maintainers mailing list