-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
enhancementEnhances DVCEnhances DVCp1-importantImportant, aka current backlog of things to doImportant, aka current backlog of things to doresearchuiuser interface / interactionuser interface / interaction
Description
As pointed out in discussion in #1691, we should reconsider gc implementation.
Currently, if called without any options, dvc will collect current branch dependencies and outputs checksums, and remove everything besides it. We can easily clear history of changes with this command. gc should be safer with default options. Straightforward implementation could get all outputs for all revisions in git repo and remove everything that is not on list.
As pointed out by @Suor, this approach might be slow for repository with long history.
Suor, hhoeflin, dashohoxha, AlJohri, sevro and 3 more
Metadata
Metadata
Assignees
Labels
enhancementEnhances DVCEnhances DVCp1-importantImportant, aka current backlog of things to doImportant, aka current backlog of things to doresearchuiuser interface / interactionuser interface / interaction