Skip to content

dvc import-url should have a flag to write to dvc.lock instead of .dvc file. #5379

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
antonkulaga opened this issue Feb 1, 2021 · 1 comment

Comments

@antonkulaga
Copy link

antonkulaga commented Feb 1, 2021

I had a lot of confusion with .dvc files and dvc import URLs #5370
I think one of the cause was that I was trying to move data from .dvc files generated by dvc import-url to dvc.yaml (while in fact I should have moved it to dvc.lock). I believe that it makes sense just to make a flag in dvc import-url to put output to dvc.lock instead of creating .dvc file. This will allow organizations who try to keep everything in dvc.lock+dvc.yaml just to do it instantly without bothering copy-pasting dvc import-url output and making mistakes in the process.

@efiop
Copy link
Contributor

efiop commented Feb 1, 2021

We plan on getting rid of .dvc for imports and using dvc.yaml(+dvc.lock) instead. Closing in favor of #5058

@efiop efiop closed this as completed Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants