-
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
"dvc status" checks for remote updates in git imports when checking for workspace changes #4983
Comments
If you are referring to how In that situation status will report something like
Essentially, the locally cached version of a.txt is up to date with the workspace here, but the workspace itself is behind the source repo and needs to be updated. This is different than determining whether or not files need to be pushed or pulled to any configured remotes in the current DVC repo (which is what |
We do plan on adding caching for these git repos #3496 in the future. |
According to the documentation,
I would expect it to check file existence and hashes, and compare them to the saved ones in .dvc files, like git status does. |
This is what |
Bug Report
Reproduce:
The
status
call will download the repository into a temporary folder and compare workspace against it, instead of comparing workspace against cache (like the documentation describes). This can be fixed by changing this line withcheck_updates=False
, but I'm not sure, if this is intended. Looking at documentation, I would expect the status command to download anything only when working incloud
orremote
modes.Please provide information about your setup
Output of
dvc version
:The text was updated successfully, but these errors were encountered: