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

fix: use the same cache directory in providers #2046

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

lengau
Copy link
Collaborator

@lengau lengau commented Dec 16, 2024

Without this, the snap's XDG_CACHE_DIR environment variable will override the use of /root/.cache for caching in a provider. Work around this by just making them the same directory.

Fixes #1993

CRAFT-3698

Without this, the snap's `XDG_CACHE_DIR` environment variable will
override the use of `/root/.cache` for caching in a provider. Work
around this by just making them the same directory.
@lengau lengau requested review from bepri and mr-cal December 17, 2024 01:09
@lengau lengau marked this pull request as ready for review December 17, 2024 01:09
@lengau lengau merged commit 73a7996 into main Dec 17, 2024
25 of 26 checks passed
@lengau lengau deleted the work/1993/CRAFT-3698 branch December 17, 2024 15:21
lengau added a commit to tmihoc/charmcraft that referenced this pull request Dec 19, 2024
Without this, the snap's XDG_CACHE_DIR environment variable will override the use of /root/.cache for caching in a provider. Work around this by just making them the same directory.

Fixes canonical#1993

CRAFT-3698
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.

Shared cache doesn't work with poetry plugin
3 participants