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