-
Notifications
You must be signed in to change notification settings - Fork 1.3k
run/repro/stage add: regroup options/flags
#7524
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,19 +70,17 @@ def add_parser(subparsers, parent_parser): | |
| "--file", metavar="<filename>", help=argparse.SUPPRESS | ||
| ) | ||
| run_parser.add_argument( | ||
| "--no-exec", | ||
| "--single-stage", | ||
| action="store_true", | ||
| default=False, | ||
| help="Only create dvc.yaml without actually running it.", | ||
| help=argparse.SUPPRESS, | ||
| ) | ||
| _add_common_args(run_parser) | ||
|
Comment on lines
73
to
78
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. BTW shouldn't
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also (π
πΌ) should
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we can
I think we can do that.
I'm not quite understand here why this method to be a private method as it is used outside its file's scope.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Resolved.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Never mind, rolling this change back. It breaks a bunch of tests. I think they were intentionally left separate to support some behavior that was deprecated but not actually removed (like |
||
| run_parser.add_argument( | ||
| "--no-run-cache", | ||
| "--no-exec", | ||
| action="store_true", | ||
| default=False, | ||
| help=( | ||
| "Execute the command even if this stage has already been run " | ||
| "with the same command/dependencies/outputs/etc before." | ||
| ), | ||
| help="Only create dvc.yaml without actually running it.", | ||
| ) | ||
| run_parser.add_argument( | ||
| "--no-commit", | ||
|
|
@@ -91,10 +89,12 @@ def add_parser(subparsers, parent_parser): | |
| help="Don't put files/directories into cache.", | ||
| ) | ||
| run_parser.add_argument( | ||
| "--single-stage", | ||
| "--no-run-cache", | ||
| action="store_true", | ||
| default=False, | ||
| help=argparse.SUPPRESS, | ||
| help=( | ||
| "Execute the command even if this stage has already been run " | ||
| "with the same command/dependencies/outputs/etc before." | ||
| ), | ||
| ) | ||
| _add_common_args(run_parser) | ||
| run_parser.set_defaults(func=CmdRun) | ||
Uh oh!
There was an error while loading. Please reload this page.