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

Align the cache directory with the UNIX XDG Base Directory Specification #5855

Merged
merged 6 commits into from
Feb 1, 2024

Conversation

pepicrft
Copy link
Contributor

Short description 📝

The convention for the caching directory in many UNIX tools is captured in the XDG Base Directory Specification. The cache directory should be the one specified by the XDG_CACHE environment variable falling back to the ~/.cache directory. This PR aligns us with that convention.

How to test the changes locally 🧐

All the workflows use caching so if you try to use any of them it should succeed.

Contributor checklist ✅

  • The code has been linted using run mise run lint:fix
  • The change is tested via unit testing or acceptance testing, or both
  • The title of the PR is formulated in a way that is usable as a changelog entry
  • In case the PR introduces changes that affect users, the documentation has been updated

Reviewer checklist ✅

  • The code architecture and patterns are consistent with the rest of the codebase
  • Reviewer has checked that, if needed, the PR includes the label changelog:added, changelog:fixed, or changelog:changed, and the title is usable as a changelog entry

@pepicrft pepicrft self-assigned this Jan 31, 2024
@pepicrft pepicrft added the changelog:changed PR will be listed in the Changed section of CHANGELOG label Jan 31, 2024
@pepicrft pepicrft force-pushed the change-cache-directory branch 3 times, most recently from 4cf7372 to 552d31c Compare February 1, 2024 16:03
@pepicrft pepicrft merged commit 154d39c into main Feb 1, 2024
3 of 9 checks passed
@pepicrft pepicrft deleted the change-cache-directory branch February 1, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:changed PR will be listed in the Changed section of CHANGELOG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants