-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat: Write CACHEDIR.TAG file #2805
Conversation
dd30ac4
to
87213ed
Compare
Hi @gaborbernat, Do you have any guidance on how I can be helpful? |
Write a Cache Directory Tag file "CACHEDIR.TAG" to created directory. The CACHEDIR.TAG file is used by various tools to mark a directory as cache, so that it can be handled differently. Some backup tools look for this file to exclude the directory. For example, tar includes the --exclude-caches option. See https://bford.info/cachedir/ for more details.
d62c049
to
b7df639
Compare
I think the current failures are due to the current working directory of |
655afc0
to
dc3dab9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, when the CI passes we can merge it.
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
dc3dab9
to
4613919
Compare
Thanks @gaborbernat for guiding me through this PR, and the improvements shown in the PR Feedback commit. |
Thank you very much for your contribution. |
Write a Cache Directory Tag file "CACHEDIR.TAG" to created directory.
The CACHEDIR.TAG file is used by various tools to mark a directory as cache, so that it can be handled differently. Some backup tools look for this file to exclude the directory. For example, tar includes the --exclude-caches option.
See https://bford.info/cachedir/ for more details.
Thanks for contributing, make sure you address all the checklists (for details on how see development documentation)
tox -e fix
)docs/changelog
folder