-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-cachingArea: caching of dependencies, repositories, and build artifactsArea: caching of dependencies, repositories, and build artifactsA-filesystemArea: issues with filesystemsArea: issues with filesystemsA-unstableArea: nightly unstable supportArea: nightly unstable supportC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
Most modern backup tools support CACHEDIR.TAG
files, which Cargo places on several directories where useful.
However, older backup tools (some tar
implementations as well as the dump
family, including xfsdump
) do not know aboutCACHEDIR.TAG
, but do respect the "no dump" attribute that can be set with chattr
.
Proposed Solution
Setting nodump
(possibly recursively, I am not sure if it is inherited) on Cargo's cache and output directories on platforms that support it would enable them to be neatly excluded by backups made with older tools.
Notes
No response
Metadata
Metadata
Assignees
Labels
A-cachingArea: caching of dependencies, repositories, and build artifactsArea: caching of dependencies, repositories, and build artifactsA-filesystemArea: issues with filesystemsArea: issues with filesystemsA-unstableArea: nightly unstable supportArea: nightly unstable supportC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.