-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
term: review "URL" term usage in remote cmds, and get/import-url #4364
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4364 +/- ##
==========================================
- Coverage 90.90% 90.89% -0.01%
==========================================
Files 178 178
Lines 12323 12323
==========================================
- Hits 11202 11201 -1
- Misses 1121 1122 +1
Continue to review full report at Codecov.
|
dvc/command/get_url.py
Outdated
"url", | ||
help="Location of the data to download. Supported URLs:\n" | ||
"/absolute/path/to/file/or/dir\n" | ||
"relative/path/to/file/or/dir\n" | ||
"C:\\\\path\\to\\file\\or\\dir\n" | ||
"https://example.com/path/to/file\n" | ||
"s3://bucket/key/path\n" | ||
"gs://bucket/path/to/file/or/dir\n" | ||
"hdfs://example.com/path/to/file\n" | ||
"ssh://example.com/absolute/path/to/file/or/dir\n" | ||
"remote://remote_name/path/to/file/or/dir (see `dvc remote`)", |
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.
Why duplicate the effort though? Old redirection to import-url worked fine.
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.
"url", | |
help="Location of the data to download. Supported URLs:\n" | |
"/absolute/path/to/file/or/dir\n" | |
"relative/path/to/file/or/dir\n" | |
"C:\\\\path\\to\\file\\or\\dir\n" | |
"https://example.com/path/to/file\n" | |
"s3://bucket/key/path\n" | |
"gs://bucket/path/to/file/or/dir\n" | |
"hdfs://example.com/path/to/file\n" | |
"ssh://example.com/absolute/path/to/file/or/dir\n" | |
"remote://remote_name/path/to/file/or/dir (see `dvc remote`)", | |
"url", help="See `dvc import-url -h` for full list of supported URLs." |
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'd prefer to make it easier for the user (the effort is duplicated for them), but no strong opinion.
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.
Thanks!
❗ I have followed the Contributing to DVC checklist.
I try but pylint: crashing on commit #4357
📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
This matches docs: misc. updates dvc.org#1680, actually.
Thank you for the contribution - we'll try to review it as soon as possible. 🙏