-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get: review instances of
wget
and update around accordingly
for #487
- Loading branch information
1 parent
b0b6390
commit b2bdba8
Showing
5 changed files
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ stage file (DVC-file). | |
> Note that some of these commands use the `/home/shared` directory, typical in | ||
> Linux distributions. | ||
### Local | ||
### Local file system path | ||
|
||
```dvc | ||
$ dvc run -d /home/shared/data.txt \ | ||
|
@@ -81,21 +81,23 @@ $ dvc run -d hdfs://[email protected]/home/shared/data.txt \ | |
|
||
### HTTP | ||
|
||
> Including HTTPs | ||
```dvc | ||
$ dvc run -d https://example.com/data.txt \ | ||
-o data.txt \ | ||
wget https://example.com/data.txt -O data.txt | ||
``` | ||
|
||
## Example: Defined with DVC remote aliases | ||
## Example: DVC remote aliases | ||
|
||
If instead of a URL you'd like to use an alias that can be managed | ||
independently, or if the external dependency location requires access | ||
credentials, you may use `dvc remote add` to define this location as a DVC | ||
Remote, and then use a special `remote://{remote_name}/{path}` URL to define an | ||
external dependency. | ||
|
||
For example, for an HTTP remote/dependency: | ||
For example, for an HTTPs remote/dependency: | ||
|
||
```dvc | ||
$ dvc remote add example https://example.com | ||
|
@@ -107,11 +109,11 @@ $ dvc run -d remote://example/data.txt \ | |
Please refer to `dvc remote add` for more details like setting up access | ||
credentials for certain remotes. | ||
|
||
## Example: Using import-url | ||
## Example: import-url command | ||
|
||
In the previous examples, downloading commands were used: `aws s3 cp`, `scp`, | ||
`wget`, etc. `dvc import-url` simplifies the downloading for all the supported | ||
types of dependencies. | ||
external path or URL types. | ||
|
||
```dvc | ||
$ dvc import-url https://data.dvc.org/get-started/data.xml | ||
|
@@ -120,8 +122,8 @@ Importing 'https://data.dvc.org/get-started/data.xml' -> 'data.xml' | |
... | ||
``` | ||
|
||
The command above creates an <abbr>import stage</abbr> specified in DVC-file | ||
`data.xml.dvc` that uses an external dependency (in this case of HTTP type). | ||
The command above creates the <abbr>import stage</abbr> (DVC-file) | ||
`data.xml.dvc`, that uses an external dependency (in this case an HTTPs URL). | ||
|
||
<details> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters