Skip to content

add: from external FS or local external outputs #1545

@dmpetrov

Description

@dmpetrov
$ dvc add /Volumes/Seagate/storage/data/reddit-May2015_z.tsv.zip

It copies the file into the cache, removes the original file in the external drive and creates symlink instead (to the dvc cache).

Based on some offline discussions it confuses people. One of the biggest concerns - after removing DVC project (the entire dir with the code as well as DVC-cache) user sees a symlink to a file which does not exist.

  1. Why should DVC work with external files? Is there any meaningful scenario? If not - let's throw an error when adding external files.
  2. Even if we have a scenario for (1) let's not touch\remove external files?
  3. As a result of the command, I have reddit-May2015_z.tsv.zip.dvc file but not the actual file in the workspace (like reddit-May2015_z.tsv.zip). It is not clear how to instantiate the file in the workspace?

Metadata

Metadata

Assignees

Labels

enhancementEnhances DVCuiuser interface / interaction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions