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

prefer XDG_CACHE_HOME before os specific cache directories #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dsisnero
Copy link

I think the correct logic is to use XDG_CACHE_HOME if it is given and if not, use platform defaults

I think the correct logic is to use XDG_CACHE_HOME if it is given and if not, use platform defaults
@kou
Copy link
Member

kou commented Jan 13, 2023

Why?
I think that macOS and Windows don't follow XDG.

If we want to change cache directory for Red Datasets, we should introduce our environment variable such as RED_DATASETS_CACHE_DIR or something.

@dsisnero
Copy link
Author

dsisnero commented Jan 14, 2023 via email

@kou
Copy link
Member

kou commented Jan 15, 2023

Do you know products that use XDG on Windows/macOS? If there are many products, we can follow it. Otherwise, we should introduce an environment variable only for us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants