Skip to content

docs: consistent remote location URLs + related copy edits#1695

Merged
jorgeorpinel merged 17 commits into
masterfrom
jorge
Aug 21, 2020
Merged

docs: consistent remote location URLs + related copy edits#1695
jorgeorpinel merged 17 commits into
masterfrom
jorge

Conversation

@jorgeorpinel
Copy link
Copy Markdown
Contributor

@jorgeorpinel jorgeorpinel commented Aug 13, 2020

Based on stuff I had stashed waiting for previous misc. updates PR to merge

  • Remote URL revisions in multiple docs
  • Misc. copy edits here and there

Comment thread content/docs/command-reference/get-url.md Outdated
Comment thread content/docs/command-reference/import-url.md Outdated
@jorgeorpinel jorgeorpinel had a problem deploying to dvc-landing-jorge-c8sgvd3e6cu3 August 13, 2020 18:39 Failure
Comment thread content/docs/command-reference/get-url.md Outdated
Comment thread content/docs/command-reference/import-url.md Outdated
@jorgeorpinel
Copy link
Copy Markdown
Contributor Author

jorgeorpinel commented Aug 13, 2020

@jorgeorpinel jorgeorpinel temporarily deployed to dvc-landing-jorge-c8sgvd3e6cu3 August 14, 2020 01:12 Inactive
@shcheklein

This comment has been minimized.


```dvc
$ dvc remote add myremote s3://bucket/path
$ dvc remote add myremote s3://bucket/key
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.

why do we change this? it's confusing for most people.

Copy link
Copy Markdown
Contributor Author

@jorgeorpinel jorgeorpinel Aug 20, 2020

Choose a reason for hiding this comment

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

Ok, rolled these back.

  • Maybe it should be path/to/data or path/to/object depending on the type?

Copy link
Copy Markdown
Contributor Author

@jorgeorpinel jorgeorpinel Aug 21, 2020

Choose a reason for hiding this comment

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

p.s. There were instances of bucket/mykey before too, so given this comment, I changed those to path as well (88d5f27).

Comment thread content/docs/user-guide/external-dependencies.md
Comment thread content/docs/user-guide/managing-external-data.md Outdated
@jorgeorpinel jorgeorpinel changed the title docs: misc. updates docs: consistent remote location URLs Aug 21, 2020
@jorgeorpinel jorgeorpinel changed the title docs: consistent remote location URLs docs: consistent remote location URLs et al. Aug 21, 2020
@jorgeorpinel jorgeorpinel changed the title docs: consistent remote location URLs et al. docs: consistent remote location URLs + related copy edits Aug 21, 2020
Comment thread content/docs/command-reference/get-url.md
Comment thread content/docs/command-reference/get-url.md
Comment thread content/docs/command-reference/get-url.md
jorgeorpinel added a commit that referenced this pull request Aug 21, 2020
Comment on lines -137 to +136
$ dvc remote add -d myremote s3://my-bucket/path/to/dir
$ dvc remote add -d myremote s3://mybucket/path/to/dir
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.

Cosmetic: I removed - in URLs in this file and in remote modify, mainly.


```dvc
$ dvc remote add newremote s3://mybucket/myproject
$ dvc remote add newremote s3://mybucket/path
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.

Changed possibly confusing concepts like "project" or "key" to a more generic "path" in URLs (mostly S3 URLs had this problem).

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.

since we change this - we might want to use -d ?

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.

Probably not in this one under the Customize an additional S3 remote example (meant as a continuation of the previous example where a default local remote is added).

@jorgeorpinel jorgeorpinel marked this pull request as ready for review August 21, 2020 02:36
@jorgeorpinel
Copy link
Copy Markdown
Contributor Author

I renamed the PR and focused the changes (down to 10 files from 16) @shcheklein. I also left a bunch of comments on what the changes are about startgin in #1695 (review). PTAL

| `ssh` | SSH server | `ssh://user@example.com/path/to/data` |
| `hdfs` | HDFS to file\* | `hdfs://user@example.com/path/to/data.csv` |
| `http` | HTTP to file\* | `https://example.com/path/to/data.csv` |
| `webdav` | WebDav to file\* | `webdavs://example.com/public.php/webdav/path/to/data.csv` |
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.

is public.php is a very common thingy for webdav?

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.

I'm not familiar TBH but apparently yes there's some sort of endpoint. Not sure if it's typically PHP. I took this from https://dvc.org/doc/command-reference/remote/add#supported-storage-types

But let me check, maybe it's quick to figure this out. ⌛

Copy link
Copy Markdown
Contributor Author

@jorgeorpinel jorgeorpinel Aug 21, 2020

Choose a reason for hiding this comment

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

From https://linuxconfig.org/webdav-server-setup-on-ubuntu-linux and https://docs.microsoft.com/en-us/iis/install/installing-publishing-technologies/installing-and-configuring-webdav-on-iis WebDAV is setup similar to any HTTP server so no special need for PHP here... We should probably review all these in a separate PR though, so merging this for now (will create a ticket).

Copy link
Copy Markdown
Collaborator

@skshetry skshetry Aug 21, 2020

Choose a reason for hiding this comment

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

public.php is a public endpoint for Nextcloud and Owncloud. There's remote.php as a private endpoint. It can be removed from most of the places, but good to keep one as an example, as most of our WebDAV users are either using Owncloud or Nextcloud.

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.

Interesting, thanks @skshetry! Will use Ownclowd and Nextcloud examples then. See #1706.

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.

Looks good to me! just a few minor questions

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