Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple data/config directories #31

Open
Ralith opened this issue May 22, 2020 · 1 comment
Open

Support multiple data/config directories #31

Ralith opened this issue May 22, 2020 · 1 comment
Labels
C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement C-proposal Category: a proposal for something we might want to do, or maybe not; details still being worked out E-medium An issue of medium complexity. P-medium Medium priority issues/PRs

Comments

@Ralith
Copy link

Ralith commented May 22, 2020

The XDG spec defines $XDG_DATA_DIRS and $XDG_CONFIG_DIRS as preference-ordered lists of read-only locations to search for data and configuration, in addition to the writeable $XDG_DATA_HOME and $XDG_CONFIG_HOME locations, which have the highest precedence. These should be exposed. See prior discussion on the original repo, which includes a partial concrete API proposal.

@tesuji tesuji added C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement C-proposal Category: a proposal for something we might want to do, or maybe not; details still being worked out E-medium An issue of medium complexity. labels May 23, 2020
@nmccarty
Copy link
Member

This enhancement was discussed in the most recent maintainers meeting. The consensus was that this should be supported with a new struct that mirrors the existing API, but instead has methods returning iterators.

This issue is also of personal importance to me, so I will be following up with a prototype/sketch implementation soon.

@tesuji tesuji added the P-medium Medium priority issues/PRs label Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: a PR with an enhancement or an issue tracking an accepted enhancement C-proposal Category: a proposal for something we might want to do, or maybe not; details still being worked out E-medium An issue of medium complexity. P-medium Medium priority issues/PRs
Projects
None yet
Development

No branches or pull requests

3 participants