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

How to doc - Adding dependency to stage #1913

Closed
wants to merge 20 commits into from
Closed

Conversation

imhardikj
Copy link
Contributor

Fixes #460
Adding dependency to a stage without re-running it

Partially addresses #899 (How-to sub section)

@shcheklein shcheklein temporarily deployed to dvc-landing-guide-how-t-q1st7c November 8, 2020 17:46 Inactive
@imhardikj
Copy link
Contributor Author

@jorgeorpinel I have merged both adding output and dependency in the same doc currently. Should this be a separate doc or both topics in one doc is correct?

@jorgeorpinel
Copy link
Contributor

@imhardikj should be the same doc.

But please merge my branch how-to to this and close #1914 first. I reordered the how-tos and made some quick copy edits.

@@ -100,7 +100,7 @@
"slug": "how-to",
"source": false,
"children": [
"add-output-to-stage",
"add-dependency-or-output-to-stage",
Copy link
Contributor

@jorgeorpinel jorgeorpinel Nov 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once merged with my changes, the slug should be add-deps-or-outs-to-a-stage and the doc title should be Add Dependencies or Outputs to a Stage but if that's too long for the nav label, let's use something else like "Add Deps/Outs to a Stage".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* Once merged with my changes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jorgeorpinel I merged the branch how-to. If you check "file changed" in this PR, it shows 12 files changed. But here (https://github.com/iterative/dvc.org/compare/guide/how-to) it shows 6 files changed (in guide/how-to branch) . Is there some problem/conflict? Because the changes in those extra 5-6 files (shown under this PR) have already been merged to master. Please help.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't know what you did in commits 6ecc645 and da629e9. You're gonna have to abandon this branch and just take over PR #1914. Please update the title and description and switch to that branch to apply again all of your changes here @imhardikj.

Comment on lines 5 to 6
that some of the dependencies, or the output files/directories it creates, which
are already in the <abbr>workspace</abbr>, are missing from `dvc.yaml` (`deps`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just adding "dependencies or" everywhere is not going to be enough. Please think the changes through and request my review then. Thanks @imhardikj

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed new update.

@shcheklein shcheklein temporarily deployed to dvc-landing-guide-how-t-q1st7c November 9, 2020 13:33 Inactive
@shcheklein shcheklein temporarily deployed to dvc-landing-guide-how-t-q1st7c November 9, 2020 14:05 Inactive
@shcheklein shcheklein temporarily deployed to dvc-landing-guide-how-t-q1st7c November 9, 2020 20:37 Inactive
@jorgeorpinel
Copy link
Contributor

Closing in favor of #1914

p.s. @imhardikj please use descriptive messages in your commits. "Updates" is not informative. You can see my commits to get an idea. Try to keep commits short and focused. Thanks!

@jorgeorpinel jorgeorpinel deleted the guide/how-to branch November 28, 2020 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cmd ref: improve run and commit / how to add outs/deps without re-running stage?
3 participants