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

platforms: use $XDG_DATA_HOME for cache on linux/freebsd/macos #1510

Closed
wants to merge 1 commit into from

Conversation

atalii
Copy link
Contributor

@atalii atalii commented Dec 2, 2023

$XDG_CACHE_HOME may be, in both specification and application, mounted on a tmpfs, removed frequently, &c. It generally appears to be used for small amounts of unimportant data, which is not what Alire expects of it. This commit switches things over to $XDG_DATA_HOME, which is generally more reliable.

Fixes #1502. (It looks discussion on that issue reached consensus; no worries if there's still debate/concern!)

$XDG_CACHE_HOME may be, in both specification and application,
mounted on a tmpfs, removed frequently, &c. It generally appears
to be used for small amounts of unimportant data, which is not what
Alire expects of it. This commit switches things over to
$XDG_DATA_HOME, which is generally more reliable.
@mosteo
Copy link
Member

mosteo commented Dec 11, 2023

Thanks, @atalii, this looks good, but I still have to catch up with #1502.

@mosteo
Copy link
Member

mosteo commented Jan 16, 2024

Superseded by #1528, thanks @atalii

@mosteo mosteo closed this Jan 16, 2024
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