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

Better location for cache #1528

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Better location for cache #1528

merged 1 commit into from
Jan 16, 2024

Conversation

mosteo
Copy link
Member

@mosteo mosteo commented Jan 15, 2024

Discard $XDG_CACHE_HOME in favor of $XDG_DATA_HOME, as some distro guidelines erroneously propose to mount the cache on tmpfs.

Also use %LocalAppData% on Windows which seems to be the closest equivalent.

Also rename a couple functions to match the XDG nomenclature.

Fixes #1502

Discard $XDG_CACHE_HOME in favor of $XDG_DATA_HOME, as some distro guidelines
erroneously propose to mount the cache on tmpfs.
@mosteo mosteo marked this pull request as ready for review January 15, 2024 19:56
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.

Should '.cache/alire' be '.local/alire'?
2 participants