Skip to content
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

docs: doc repro --glob and update targets arg info. #1983

Merged
merged 20 commits into from
Dec 19, 2020
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cmd: revert moving text about multiple commands in repro
jorgeorpinel committed Dec 17, 2020

Verified

This commit was signed with the committer’s verified signature.
TimoGlastra Timo Glastra
commit 1c85228b71289c9f840ea2c97f17848f2c855209
11 changes: 6 additions & 5 deletions content/docs/command-reference/repro.md
Original file line number Diff line number Diff line change
@@ -25,11 +25,8 @@ positional arguments:
`dvc repro` provides a way to regenerate data pipeline results, by restoring the
dependency graph (a [DAG](https://en.wikipedia.org/wiki/Directed_acyclic_graph))
implicitly defined by the stages listed in `dvc.yaml`. The commands defined in
these stages are then be executed in the correct order.

For stages with multiple commands (having a list in the `cmd` field), commands
are run one after the other in the order they are defined. The failure of any
command will halt the remaining stage execution, and raises an error.
these stages are then be executed in the correct order, reproducing pipeline
results.

> Pipeline stages are defined in a `dvc.yaml` file (either manually or by using
> `dvc run`) while initial data dependencies can be registered with `dvc add`.
@@ -51,6 +48,10 @@ commands (`cmd` field of `dvc.yaml`). [Stage](/doc/command-reference/run)
outputs are deleted from the <abbr>workspace</abbr> before executing the stage
commands that produce them.

For stages with multiple commands (having a list in the `cmd` field), commands
are run one after the other in the order they are defined. The failure of any
command will halt the remaining stage execution, and raises an error.

There are a few ways to restrict what will be regenerated by this command: by
specifying specific reproduction [`targets`](#options), or by using certain
command [options](#options), such as `--single-item`.