-
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
Add stages command #5191
Add stages command #5191
Conversation
@skshetry do we intend to have tests for |
@pared, the autocompletion-related feature The feedback on that and the design would be very much appreciated. Thanks. |
@skshetry Thanks, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support for markdown in description looks great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great overall! I have a few concerns though to be honest:
|
There was a discussion on showing
Could that be the other way around? Encourage people to use
And, we can easily provide all of the Alternately, we could make |
but it's not like it has to be, right? also, we can make
I don't know. It's my personal bias I guess from regular CLI tools, like ls. It still feels we can make a bit more compact. Also if we can make it parsable by default it's better to my mind. We should have strong reasons to not do so.
skip values? not sure, would need to see the whole table schema I guess
agreed, if we can make regular output grep/awk friendly - better do that. But
π
make sense, might be an option as well |
Also, introduced --table (experimenting)
Woa, interesting!
What docs changes does that entail? Thanks |
On this. I'm not sure about listing deps and outs (or even more details) at least initially (until someone asks for it?). You could cat dvc.yaml for that (mentioned in #3743 (comment)). We "sell" dvc.yaml as human-friendly so I think we expect users to be OK with eye-parsing simple YAML. |
UI is no longer centered. The demo is a bit old. Updated with the screenshot. |
Tell this to a user with 100 stages/~1300 lines of It's human-friendly in terms of readability and writability and that too applies only to a certain extent; it does not enlighten the user as to their relationship/purpose just by looking at it. |
Is there a real life example of this out there, and most importantly has it been reported/requested by a user with such huge dvc.yaml files? In any case how does this command help with that? The output is even longer than the DVC files.
β
OK but again, how does this command help with that? It basically reformats the same info from dvc.yaml. It doesn't make any "enlightening" interpretations. |
As a reminder, I'm not arguing against the command in general. I'm questioning the value of showing all the details from dvc.yaml (except in p.s. the purpose in #3743 doesn't seem to require full stage details IMO, including the dvc.yaml location seems enough. |
p.p.s. any details that can fit in a very compact manner (one line) I wouldn't see a problem with β if the output remains easily readable. |
Resolves #3743.
β 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.
Not looking into adding a docs yet, keeping this command as experimental for some time.
Thank you for the contribution - we'll try to review it as soon as possible. π