Skip to content

import: behave like add, move #3304

@jorgeorpinel

Description

@jorgeorpinel

More context around https://discordapp.com/channels/485586884165107732/485596304961962003/676398069469806603

Currently dvc import has a -o option to specify where to place the downloaded data, but the DVC-file itself gets created in the CWD. It would be more intuitive to have the DVC-file in the same --out location, similar to how dvc add behaves.

This is especially strange when using dvc move on an import stage, as it moves both the data and the DVC-file into the dst location.

May apply to dvc import-url as well, haven't checked.

Metadata

Metadata

Assignees

Labels

bugDid we break something?enhancementEnhances DVC

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions