Skip to content

cmd ref: dvc add 1.0 update#1411

Merged
shcheklein merged 46 commits into
masterfrom
1.0/add
Jun 11, 2020
Merged

cmd ref: dvc add 1.0 update#1411
shcheklein merged 46 commits into
masterfrom
1.0/add

Conversation

@jorgeorpinel
Copy link
Copy Markdown
Contributor

@jorgeorpinel jorgeorpinel commented Jun 9, 2020

Steals some of Ruslan's work from #1387

You may disregard these recommendations if you used the Edit on GitHub button from dvc.org to improve a doc in place.

❗ Please read the guidelines in the Contributing to the Documentation list if you make any substantial changes to the documentation or JS engine.

🐛 Please make sure to mention Fix #issue (if applicable) in the description of the PR. This causes GitHub to close it automatically when the PR is merged.

Please choose to allow us to edit your branch when creating the PR.

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

jorgeorpinel and others added 30 commits May 31, 2020 15:53
@shcheklein shcheklein temporarily deployed to dvc-landing-1-0-add-hwtygum2op June 9, 2020 00:52 Inactive
Comment thread content/docs/command-reference/add.md
@jorgeorpinel jorgeorpinel marked this pull request as ready for review June 9, 2020 01:26
@jorgeorpinel jorgeorpinel requested a review from shcheklein June 9, 2020 01:26
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-landing-1-0-add-hwtygum2op June 9, 2020 01:26 Inactive
@jorgeorpinel jorgeorpinel mentioned this pull request Jun 9, 2020
20 tasks
Comment thread content/docs/command-reference/add.md Outdated
jorgeorpinel added a commit that referenced this pull request Jun 10, 2020
improve info on comments for DVC files&dirs guide
per #1411 (comment)
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-landing-1-0-add-hwtygum2op June 11, 2020 18:12 Inactive
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-landing-1-0-add-hwtygum2op June 11, 2020 18:20 Inactive
Base automatically changed from 2020-05-31 to master June 11, 2020 19:28
@jorgeorpinel jorgeorpinel temporarily deployed to dvc-landing-1-0-add-hwtygum2op June 11, 2020 21:36 Inactive
usage: dvc add [-h] [-q | -v] [-R] [--no-commit] [-f <filename>]
targets [targets ...]
usage: dvc add [-h] [-q | -v] [-R] [--no-commit] [--external]
[-f <filename>] targets [targets ...]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this has changed in 1.0 - it's --file now

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch, will update...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Extracted to #1426, please assign a priority - very recent change.

Copy link
Copy Markdown
Contributor

@shcheklein shcheklein left a comment

Choose a reason for hiding this comment

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

It's fine with me, but I'm a bit lost with these changes, at least with the name of a PR - quite a few changes here, but almost all of them are not related to 1.0 (and we actually didn't include some 1.0 related changes we made to dvc add at the same time)

Again, let's move forward (don't forget to update -f everywhere)

@shcheklein shcheklein merged commit 64182e2 into master Jun 11, 2020
@jorgeorpinel
Copy link
Copy Markdown
Contributor Author

name of a PR - quite a few changes here, but almost all of them are not related to 1.0 (and we actually didn't include some 1.0 related changes we made to dvc add at the same time)

All the examples were reviewed with 1.0 and I also reviewed the whole description to see it's still current.

Other than -f did you notice any other 1.0 change I missed? Thanks

@shcheklein
Copy link
Copy Markdown
Contributor

Other than -f did you notice any other 1.0 change I missed? Thanks

don't remember from the top of my head, the easiest way is to run dvc add --help :)

@jorgeorpinel
Copy link
Copy Markdown
Contributor Author

-f wasn't included because it wasn't there when I did this changes, that PR was merged 2 days ago no docs issue/PR was started by core team: treeverse/dvc/pull/4004

I did notice this and left a message in the PR

@jorgeorpinel
Copy link
Copy Markdown
Contributor Author

I ran -h at the time of making this PR of course. There's lots of ongoing core changes and it's not clear to me where the 1.0 release ends and the regular updates begin TBH it's causing some confusion e.g. treeverse/dvc#4011 (comment)

@shcheklein
Copy link
Copy Markdown
Contributor

I ran -h at the time of making this PR of course.

I know. I mean that we can run -h for all commands again as part of the DVC 1.0 migration. That's what that epic for. It's not a goal to solve all of these discrepancies at once or even before the release - we need to focus on major things.

@jorgeorpinel
Copy link
Copy Markdown
Contributor Author

Got it. Good idea, added a checkbox to the epic and created treeverse/dvc/issues/4024. For now this specific matter (add -f -> --file) is extracted to #1426

@jorgeorpinel jorgeorpinel deleted the 1.0/add branch June 23, 2020 04:15
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.

4 participants