Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 773361 - app-eselect/eselect-repository doesn't respect XDG_CACHE_HOME
Summary: app-eselect/eselect-repository doesn't respect XDG_CACHE_HOME
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-28 08:42 UTC by Kai S. K. Engelbart
Modified: 2021-02-28 21:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai S. K. Engelbart 2021-02-28 08:42:01 UTC
When having the environment variable XDG_CACHE_HOME set to some directory, eselect repository still creates ~/.cache/eselect-repo/repositories.xml when invoking eselect repository list.

Instead of doing this, eselect repository should create the cache in ${XDG_CACHE_HOME}/eselect-repo/repositories.xml if XDG_CACHE_HOME is set.
Comment 1 Larry the Git Cow gentoo-dev 2021-02-28 21:30:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb76a7f0967edd42897026cb7b766e10000e3eb6

commit fb76a7f0967edd42897026cb7b766e10000e3eb6
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-02-28 21:28:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-02-28 21:30:02 +0000

    app-eselect/eselect-repository: Bump to v9
    
    Closes: https://bugs.gentoo.org/773361
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-eselect/eselect-repository/Manifest            |  1 +
 .../eselect-repository/eselect-repository-9.ebuild | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)