-
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
cmd: update push deps example #1591
Conversation
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 I have removed |
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.
Getting there.
@jorgeorpinel updated the example |
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.
Approved, but we need to wait until #1584 (comment) is merged before merging this one.
hey, thanks @imhardikj , but I still see |
@@ -181,11 +181,11 @@ One could do a simple `dvc push` to share all the data, but what if you only | |||
want to upload part of the data? | |||
|
|||
```dvc | |||
$ dvc push --with-deps matrix-train.p.dvc | |||
$ dvc push --with-deps test-posts |
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.
we need to rewrite the example above, the project structure for this command to make sense?
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.
also, why do change the stage name here, intentional?
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.
rewrite the example above, the project structure for this command to make sense
Yes! It was also done in the complementary PR. Both are merged, please check in https://dvc.org/doc/command-reference/push#example-with-dependencies
why do change the stage name here, intentional?
Intentional. I came up with these new names. But now that you mention it matrix-train
would've been the obvious choice here 🤦
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.
Wait no, that't the name of the next stage. That's why I came up with test-posts
.
|
||
... Do some work based on the partial update | ||
|
||
$ dvc push --with-deps model.p.dvc | ||
$ dvc push --with-deps matrix-train |
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.
same here - why do we need to change the stage name?
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.
I don't think model
is a good stage name.
Sorry that wsa confusing but I set it up that way: someone else was working on that part of the code so I asked Hardik to leave it alone. Now both PRs are merged and |
Close #1445 by addressing the last pending checkbox: