-
Notifications
You must be signed in to change notification settings - Fork 394
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
ref: reduce overlap between repro
and stage add
#4026
Conversation
around the pipeliens/ DAG concepts
repro
, run
, stage add
(overlaps)
Link Check ReportAll 17 links passed! |
@jorgeorpinel please resolve the conflicts, please add some summary on what is going on here and where should we pay attention to, thanks! |
repro
, run
, stage add
(overlaps)repro
, run
, and stage add
@shcheklein I think this was meant to optimize similar explanations across the 3 related cmd refs mentioned in the title. Due to the messy diff in this one, it may be easier to compare the existing cmd ref pages vs. the new ones (listed in the OP).
|
repro
, run
, and stage add
repro
and stage add
Update: now that the Will leave it up to your team @dberenbaum (sorry to keep pinging you from multiple places). |
- Outputs are deleted from the workspace before executing the command (including | ||
at `dvc repro`) if their paths are found as existing files/directories (unless | ||
`--outs-persist` is used). This also means that the stage command needs to | ||
recreate any directory structures defined as outputs every time its executed | ||
by DVC. |
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.
@jorgeorpinel Do you mind explaining why you dropped this note?
Edit: I guess you modified it, but it seems less explicit now without Outputs are deleted from the workspace before executing the command
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.
Yeah I was just making it shorter I guess. Idk this was a long time ago. I've reinstated the first part so it's explicit again. PTAL
- Stage commands need to recreate any directory structures defined as outputs | ||
every time its executed by DVC. |
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.
- Stage commands need to recreate any directory structures defined as outputs | |
every time its executed by DVC. | |
- Outputs are deleted from the workspace before executing the command (unless | |
`--outs-persist` is used). Stage commands need to recreate any directory structures defined as outputs | |
every time it's executed by DVC. |
@jorgeorpinel I will probably go with something like this unless there's a strong reason to drop the first sentence completely.
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.
Oh, I already rephrased in a similar way. Sure up to you 🙂
More context
Pages in review app:
https://dvc-org-ref-simplify-pi-wzm3mj.herokuapp.com/doc/command-reference/run