-
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
dvc: replace pipeline
with dag
#3905
Conversation
Had a discussion with @shcheklein and we came up with an idea to maybe rename it to
|
pipeline
with dag
I have two questions:
|
@drorata Thank you for the questions!
None, it is no longer the default target.
If you only have 1 pipeline in your project, then yes, those will be the same and would be the same as
It will show you all the pipelines you have in your project in ASCII format.
Correct, dvc dag and dvc dag --full will show the same thing: your whole DAG (all pipelines). And dvc dag mystage --full will show the whole pipeline that this stage belongs too. |
53bada4
to
97949f1
Compare
`pipeline list` is no more, it had some very questionable applications (none to be precise) and was duplicating old `pipeline show` functionality. We might introduce a different command to assist in listing (e.g. for shell completion) in the future. New `dvc dag` replaces `dvc pipeline show` and by-default will show all pipelines in the project in ASCII (so there is no more --ascii) and also `--dot` support, just like before. When given a target, `dvc dag` (in any mode) will show DAG that leads to the target, skipping the descendants, unless `--full` is specified.
pipeline
with dag
pipeline
with dag
pipeline list
is no more, it had some very questionable applications(none to be precise) and was duplicating old
pipeline show
functionality.We might introduce a different command to assist in listing (e.g. for
shell completion) in the future.
New
dvc dag
replacesdvc pipeline show
and by-default will showall pipelines in the project in ASCII (so there is no more --ascii)
and also
--dot
support, just like before. When given a target,dvc dag
(in any mode) will show DAG that leads to the target,skipping the descendants, unless
--full
is specified.Example commands:
Fixes #3661
Fixes #2392
❗ 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. If the CLI API is changed, I have updated tab completion scripts.
iterative/dvc.org#1383
Thank you for the contribution - we'll try to review it as soon as possible. 🙏