-
Notifications
You must be signed in to change notification settings - Fork 1.2k
import: git sparse-checkout #3438
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
Comments
@Suor you should have more info about his I think? |
Related to #3473 |
Local caches only used within one dvc execution or one python session. Sparse checkout or at least shallow checkouts might be used, this will complicate out |
I think we had a discussion with @efiop and @shcheklein about which is more important to fix first (persistent repo cache or sparse checkout) and there was no clear outcome. Will open a new issue for persistent repo cache... |
We don't have a persistent repo checkout, but we do shallow clone these days. Closing... |
dvc import https://some/git/repo/ some_file
should probably do a sparse checkout.Currently looks like it does a full clone:
dvc/dvc/stage.py
Line 941 in 05cc023
dvc/dvc/dependency/repo.py
Lines 73 to 81 in 05cc023
On a related note, is the repo locally cached by default
dvc/dvc/dependency/repo.py
Lines 78 to 79 in 05cc023
dvc update
won't re-clone?The text was updated successfully, but these errors were encountered: