intellij-dvc
intellij-dvc copied to clipboard
Show DVC file status
DVC file status can be shown using
- status bar for the currently open file
- DVC file icon for each file in the project view.
I can imagine three different status labels, e.g. like this:
-
OK (all good)
-
Outdated (deps changed, including indirect deps)
-
Invalid output (invalid output, missing output, or DVC file was modified and md5 hash does not match)
Hmm, this might work - showing dependencies in bottom left corner and outputs+checksum in bottom right corner:
Copied from https://github.com/iterative/dvc/issues/1406
If locked -> locked (yellow lock icon overlay?) Else if any outputs changed -> outs_changed (red) Else if any outputs missing -> outs_missing (grey) Else if md5 changed -> checksum_changed (blue) Else if any dependencies (--with-deps) changed or missing -> deps_changed (orange) Else -> ok (original DVC colored icon)
We could also independently show --always-reproduce using some overlay, e.g. a yellow dot in bottom left.