Remove all locally downloaded data
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
It could be that this feature already exists, but I've not been able to find it.
My usecase is that I want to remove all locally downloaded data in a git repo (i.e., everything referenced by .dvc files, and optionally, the .dvc/cache).
dvc destroy does not do what I want, as it also deletes the .dvc files.
My use-case is I want to do a weekend CI run on my repo, making sure that I'm downloading all DVC data fresh from my cloud bucket (just in case there are any issues).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing dvc destroy behavior and how the repository represents .dvc files, downloaded data, and the optional .dvc/cache. Define the operation so referenced local data can be removed while .dvc files remain, with cache removal optional. Done means a repository can download all DVC data fresh afterward without losing its metadata files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100