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

Use user-specified custom cache directory #10244

Open
pllim opened this issue Apr 30, 2020 · 0 comments
Open

Use user-specified custom cache directory #10244

pllim opened this issue Apr 30, 2020 · 0 comments

Comments

@pllim
Copy link
Member

pllim commented Apr 30, 2020

As @bsipocz asked in #5828 (comment), "I run into this again today, and it seems we can change the config dir, but not the cache dir? If I misunderstand the situation, then we probably need to add more examples to the config dir, one especially for the case of the custom cache dir."

There is an option to change cache directory but has to be via XDG_CACHE_HOME. However, on Linux, changing it affects system-wide setting.

Maybe @bsipocz can clarify if this is a matter of documentation of improving https://docs.astropy.org/en/latest/config/index.html#astropy-config and/or https://docs.astropy.org/en/latest/utils/data.html . Or XDG_CACHE_HOME is simply insufficient.

Might also be relevant: #6803

Previous unmerged attempts: #5828 #6985

@pllim pllim changed the title Use user-specified cache directory Use user-specified custom cache directory Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant