-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
get: handle non-DVC repositories #3089
Comments
Hello world! I am on this right now. |
I need some help choosing an implementation. The only way to download something seems to be in the I figure there's a few solutions here, and would greatly appreciate some input on which direction to take:
|
I just realised that I'm probably trying to fix too much. A closer look at #2977 reveals that it only fixes local repositories, which is probably an easier problem to fix for |
Hi @fabiosantoscode !
could you elaborate on this, please? As far as I understand in this ticket actual file comes not from the Repo, and not even from a remote. It comes from the cloned git repo. Regarding the other options - the same, I'm a bit confused, probably because we are not on the same page on the terminology and/or logic behind get/import. |
Right. I probably jumped into looking at remotes because the get documentation states that it can download from any DVC-enabled git repository. My train of thought was to make it download from any git repository. Then I went into a tangent because I associated dvc.remote.* as the same concept as git remotes, which are git repositories. On a closer look they seem to be single files. Got it, will use the existing git facilities to retrieve the thing. They probably work for local and remote repositories alike. Thanks for clearing this up! |
Allows us to `dvc get` from non-DVC source repositories. Fixes iterative#3089
Allows us to `dvc get` from non-DVC source repositories. Fixes iterative#3089
Even though #2977 solved this for
dvc import
, it looks like it is still not supported fordvc get
. It might be a simple bug or code path is different. We need to fix and add tests for this.Version:
Reproduce:
outputs:
ERROR: failed to get 'test' from './git-repo' - URL './git-repo' is not a dvc repository.
The text was updated successfully, but these errors were encountered: