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

Switch cache to user cache folder #1567

Merged
merged 1 commit into from
May 21, 2021
Merged

Switch cache to user cache folder #1567

merged 1 commit into from
May 21, 2021

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented May 21, 2021

Fixes: #1566 #1504

@ssbarnea ssbarnea changed the title Make cache directory configurable Switch cache to user cache folder May 21, 2021
@ssbarnea ssbarnea marked this pull request as ready for review May 21, 2021 11:28
- instead of in-repo .cache folder make use of ~/.cache
- use a hash based on project_dir path to avoid cross-contamination
  between various projects

Fixes: #1566
@ssbarnea ssbarnea added bug and removed enhancement labels May 21, 2021
@ssbarnea ssbarnea merged commit 6159f31 into master May 21, 2021
@ssbarnea ssbarnea deleted the fix/cache-dir branch May 21, 2021 12:49
ssbarnea added a commit to ansible/molecule that referenced this pull request May 21, 2021
Bump ansible-lint dependency to 5.0.10 in order to make use of the
ansible/ansible-lint#1567 which
basically moves the tmp folder to use ~/.cache, avoiding
pypa/pip#10005
ssbarnea added a commit to ansible/molecule that referenced this pull request Jun 1, 2021
Bump ansible-lint dependency to 5.0.10 in order to make use of the
ansible/ansible-lint#1567 which
basically moves the tmp folder to use ~/.cache, avoiding
pypa/pip#10005
ssbarnea added a commit to ansible/molecule that referenced this pull request Jun 1, 2021
Bump ansible-lint dependency to 5.0.10 in order to make use of the
ansible/ansible-lint#1567 which
basically moves the tmp folder to use ~/.cache, avoiding
pypa/pip#10005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recursive symlink created in .cache can prevent pip from installing current repository
1 participant