Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upstatus: ignoring cache that is not in local cache nor in remote #4383
Comments
|
Line 96 in 64f038f After that we might consider introducing a special option that will tell |
|
Thanks, @efiop ! I'll create PR with fix as soon as possible. |
|
Reopening per #4398 (comment), just a small detail:
|
dvc status -cshould probably exit with non-zero code if some files are not presented neither in cache, neither in remote.It is possible that some files are not presented neither in local cache, neither in remote. In this case
dvc status -cwill print out warning and exit with zero code:It may happen if Alice executes
dvc add data.csv,git add data.csv,git commitandgit pushbut doesn't executedvc pushand Bob executesdvc status -c data.csvon another machine.There should be a way in such case to exit with non-zero from
dvc statuscommand. It will allow to handle such errors in different scripts.Context: https://discordapp.com/channels/485586884165107732/563406153334128681/743159360745898044