-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Labels
A: data-syncRelated to dvc get/fetch/import/pull/pushRelated to dvc get/fetch/import/pull/pushp1-importantImportant, aka current backlog of things to doImportant, aka current backlog of things to doregressionOhh, we broke something :-(Ohh, we broke something :-(
Description
Bug Report
dvc import ignores cache and downloads from remote
Description
I'm using dvc import to import some files that I know are already in an external shared cache (which is also the cache directory for the current project).
dvc downloads the imported files rather than simply sym-linking to the cache
Reproduce
- create external cache directory
- create project that uses this external directory as its cache directory
git pushthe configdvc importsome data from a registry but don'tgit pushthe resulting.dvcfiles- delete the project directory but not the external cache
- recreate the project directory by recloning a new instances (this will include the config from 3 above)
dvc importthe same data again
Expected
Expected dvc to create symlinks to the external cache when the files were already there.
Environment information
Observed this bug with dvc 2.53 and 2.55.
dvc 2.39 works as expected
minesh1291
Metadata
Metadata
Assignees
Labels
A: data-syncRelated to dvc get/fetch/import/pull/pushRelated to dvc get/fetch/import/pull/pushp1-importantImportant, aka current backlog of things to doImportant, aka current backlog of things to doregressionOhh, we broke something :-(Ohh, we broke something :-(