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

Add a CACHEDIR.TAG to the cache directory. #824

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

KenMacD
Copy link
Contributor

@KenMacD KenMacD commented Mar 4, 2022

  • I have added an entry to docs/changelog.md

Summary of changes

Tag the cache directory to prevent the files from being included in
archives and backups.

Test plan

Tested by running pipx and verifying the file was created, then running it again to verify that the file isn't recreated. Also tested with the cachdir-tag library's method is_tagged().

Copy link
Contributor

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to include a test for this 👍

CHANGELOG.md Outdated Show resolved Hide resolved
Tag the cache directory to prevent the files from being included in
archives and backups. For information about cache directory tags,
see https://bford.info/cachedir
@gaborbernat gaborbernat merged commit bc7dd03 into pypa:main Apr 11, 2022
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.

None yet

4 participants