Skip to content

Better location for cache#1528

Merged
mosteo merged 1 commit into
masterfrom
fix/cache-location
Jan 16, 2024
Merged

Better location for cache#1528
mosteo merged 1 commit into
masterfrom
fix/cache-location

Conversation

@mosteo

@mosteo mosteo commented Jan 15, 2024

Copy link
Copy Markdown
Member

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