Ruslan Kuprieiev
72fd265a8f
get-url/ls-url: support remote:// with in-repo config
2023-10-13 18:58:23 +03:00
Oded Messer
d203bf9024
Fix: Prettifying unexpected error on FileExists for get/get-url/imp-url/add and introducing --force ( #9365 )
2023-04-27 00:41:09 +00:00
Ronan Lamy
d5f5e14183
make get-url testable with the dvc plugins
2022-10-07 19:03:57 +03:00
Ronan Lamy
10f60bed58
make get-url consistent with ls-url
...
Also, move parse_external_url() to dvc.fs as it's now used both by
ls_url() and get_url().
2022-10-07 19:03:57 +03:00
Saugat Pachhai
b9000ed926
pre-commit: update black to 21.5b1 ( #6032 )
...
* pre-commit: update black to 21.5b1
also updated others, but black is more noticeable
* remove magic trailing comma
2021-05-18 15:51:15 +00:00
Ruslan Kuprieiev
c83a4ea406
erepo: refactor download/fetch logic ( #5234 )
...
* erepo: don't use _get_tree_for
* erepo: refactor download/fetch logic
* dvc: unify handling existing output
2021-01-10 10:48:36 +02:00
Dmitry Kropachev and Ruslan Kuprieiev
eb8e03a465
dvc/tree/local: fix it for no repo/cache case ( #5118 )
...
* dvc/tree/local: fix it for no repo/cache case
fixes #5069
* Update dvc/output/base.py
* Update dvc/output/base.py
Co-authored-by: Ruslan Kuprieiev <[email protected] >
2020-12-25 05:56:04 +02:00
Ruslan Kuprieiev
613ca0bdb5
get-url/import-url: save dependency before downloading ( #4049 )
...
This allows us to properly process the errors like missing target.
Fixes #3897
2020-06-16 13:05:21 +03:00
Ruslan Kuprieiev
64431f8930
test: get_url: convert to dir helpers
...
Related to #2896
2020-01-13 13:34:33 +02:00
Aman Sharma
eca5d2dde4
Move makedirs to fs.py
2020-01-09 04:30:51 +05:30
Mr. Outis
94a0914bba
py3: get rid of future imports
2019-12-30 19:35:48 -06:00
Ruslan Kuprieiev
95fe1578bb
dvc: automatically reorder imports
2019-11-05 02:34:40 +02:00
Ruslan Kuprieiev
4efd048796
test: try removing get_url test
2019-11-04 00:05:44 +02:00
Ruslan Kuprieiev
46391cb4f9
test: fix formatting
2019-11-03 23:47:34 +02:00
Ruslan Kuprieiev
71f8d25ab3
test: get-url: try using with mock_s3() instead of a decorator
2019-11-03 23:42:44 +02:00
Ruslan Kuprieiev
0fece74d00
test: get-url: don't use get_aws_url
2019-11-03 14:18:25 +02:00
Ivan Shcheklein
98750c95c5
get-url: fix NPE when src non local and dst not absolute
2019-10-31 09:58:07 -07:00
Ruslan Kuprieiev
0bfb3c0ab2
get/import/url: handle existing output directory ( #2610 )
...
* get/import/url: handle existing output directory
Currently if you run
```
dvc get https://github.com/iterative/example-get-started model.pkl --out .
```
it will nuke your cwd. To fix that we need to properly handle existing
directories, same as usual unix cli utilities do that.
* travis: specify python version when installing from chocolatey
Fixes #2609
2019-10-15 22:42:52 +03:00
Ruslan Kuprieiev
1ba8e0171d
dvc: replace pkg concept with external repo
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-06-21 01:16:00 +03:00