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 XDG compliant caching folder #47

Closed
dakra opened this issue Sep 2, 2023 · 4 comments · Fixed by #53
Closed

Use XDG compliant caching folder #47

dakra opened this issue Sep 2, 2023 · 4 comments · Fixed by #53

Comments

@dakra
Copy link

dakra commented Sep 2, 2023

Instead of littering the users home dir, I would prefer if it follows
XDG and put .enrich-classpath-cache in $XDG_DATA_HOME (~/.local/share) or maybe $XDG_CACHE (~/.cache).

@vemv
Copy link
Member

vemv commented Sep 2, 2023

Thanks!

$XDG_CACHE_HOME appears to make the most sense.

I'm curious, do you have that specific env var set?

@dakra
Copy link
Author

dakra commented Sep 2, 2023

I'm curious, do you have that specific env var set?

No, I just use the default value, which for cache would point to ~/.cache.

Maybe you can look at babashka.fs for inspiration.

@vemv
Copy link
Member

vemv commented Sep 2, 2023

Thanks!

vemv added a commit that referenced this issue Sep 12, 2023
vemv added a commit that referenced this issue Sep 12, 2023
vemv added a commit that referenced this issue Sep 12, 2023
@vemv vemv closed this as completed in #53 Sep 12, 2023
vemv added a commit that referenced this issue Sep 12, 2023
@vemv
Copy link
Member

vemv commented Sep 12, 2023

CIDER 20230912.1201 / master bundles this fix.

Cheers - V

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 a pull request may close this issue.

2 participants