dvc repro: change output format? #5043
Replies: 5 comments 4 replies
-
OMG yes
|
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
(As discussed in iterative/dvc.org#1980 (comment)) I think we should still say "with command(s)" though, in case users don;t realize that stages are comprised of terminal commands. |
Beta Was this translation helpful? Give feedback.
-
And actually, on the
$ > echo hi
bash: hi: command not found
$ ls
echo So I'm back to being of the opinion that some sort of indentation is better for this. My only idea is tabs (as we use in other commands) but each command output would need to be padded (with 2 tabs) also. |
Beta Was this translation helpful? Give feedback.
-
I would say we should not hide output by default. It would make sense in most cases, but in the most important one - long-lasting training, one usually needs to see the progress. But optional turn off for stages outputs sounds reasonable. |
Beta Was this translation helpful? Give feedback.
-
Recently we made a change in the
dvc repro
output by removing the indent to>
in front of the command scripts.My reasoning for this is that when indenting the script, the output of the script starts from the leftmost part of the next line which makes it look ugly and congested.
Adding a ">" at least separates the DVC's output with the script's.
Before:
Note that multiline commands weren't supported before.
After:
This brings me to the main point of this discussion.
repro
? Should that be hidden by default (and, show whenever an error occurs or via some flag)?Like a pytest's divider/header or should we keep it to the minimum
>
/indent?Example 1
Example 2
JK :)
@iterative/engineering
Beta Was this translation helpful? Give feedback.
All reactions