status: check if target is missing both in cache and remote#4398
Conversation
|
Thanks for this contribution @nik123. Coming to comment here before deciding how to address treeverse/dvc.org/issues/1701. From treeverse/dvc.org#1701:
If $ dvc status -c # Assumes default remote exists, otherwise -r myremote
new: data-in-cache-1-not-in-remote.txt
missing: data-in-cache2-not-in-remote.txt |
|
@jorgeorpinel I think you are right, there should be no "warning" message. However, this warning should stay in other commands (push, pull, fetch, gc). I think I can achieve it by adding I'm not sure there should be separate issue. Probably just reopen #4383. @efiop what do you think? |
Fixes #4383
❗ I have followed the Contributing to DVC checklist.
📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
treeverse/dvc.org#1701
P.S.: I have also updated tests to make sure if targets missing both in cache and remote are handled properly bit these updates are dirty. So please inform me if there is a better way to implement them.