treeverse / treeverse/dvc

Remove all locally downloaded data

Open
#10,874 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

awaiting response question
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.