3476 Commits
Author SHA1 Message Date
Ruslan Kuprieiev 4fb4b84a5f dvc: bump to 0.56.0 0.56.0 2019-08-20 03:56:14 +03:00
Ruslan Kuprieiev fe38867743 dvc: bump to 0.51.2 2019-08-20 03:55:21 +03:00
Ruslan Kuprieiev 750932d2c0 Merge pull request #2415 from AlJohri/enable-acl
add acl config
2019-08-20 03:53:05 +03:00
Al Johri 512bdc76f0 add acl config 2019-08-19 19:47:52 -04:00
Mr. OutisandRuslan Kuprieiev 8918bdc383 http: add exception when trying to traverse remote (#2411)
* http: add exception when trying to traverse remote

Fix #2380

* http: exception raise on `list_cache_paths` instead of `all`

`NotImplementedError` -> `RemoteActionNotImplemented`

* http: raise exception on `__init__`

* set default no_traverse to True on remote base

* tests: explicitly use traverse on data cloud and no traverse with HTTP

* remote: define a new RemoteConfigError

* remote: reuse ConfigError instead of RemoteConfigError

* tests: set no_traverse to False with SSHMocked

* deepsource: fix minor issue with spacing

* remove blankspace

Co-Authored-By: Ruslan Kuprieiev <[email protected]>
2019-08-20 00:47:15 +03:00
Ruslan Kuprieiev 51d5a230da dvc: bump to 0.55.1 0.55.1 2019-08-19 16:01:16 +03:00
Ruslan Kuprieiev f0c12ea162 Merge pull request #2407 from efiop/master
test: run: refactor signal handler tests
2019-08-19 15:22:25 +03:00
Ruslan Kuprieiev 89d3ccae0d test: run: refactor signal handler tests
Current test is testing for signal handler restoration in an obscure
way. As a result, the test wasn't actually testing anything, because
KeyboardInterrupt is raised by default_int_handler, and so raising it
in a mock won't be caught by signal handlers, because they are dealing
with real singnals.

Fix #2406

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-08-19 14:49:19 +03:00
Ruslan Kuprieiev 239739d6e1 Merge pull request #2403 from gthb/no-dvc-checkout-on-git-file-checkout
fix: don't dvc checkout on git file checkout
2019-08-19 13:24:26 +03:00
Ruslan Kuprieiev 30a7b77f0e stage: run: don't use unassigned old_handler
Fix #2406
2019-08-19 10:55:22 +03:00
Ruslan Kuprieiev 5a9dfbb6a4 config: use new remote url 2019-08-19 09:43:24 +03:00
Ruslan Kuprieiev 5b7cdd6bbf Merge pull request #2405 from efiop/master
dvc: remove unused code
2019-08-18 05:56:16 +03:00
Ruslan Kuprieiev 5915f17fcf output: base: remove unnecessary 'else'
Reported by DeepSource.
2019-08-18 05:15:08 +03:00
Ruslan Kuprieiev 875186d5a6 dvc: remove unused code
A bunch of leftovers from a very old pkg implementation.
2019-08-18 05:09:30 +03:00
Gunnlaugur Thor Briem e1dd75edcd fix: don't dvc checkout on git file checkout
Closes #2400
2019-08-16 22:11:16 +00:00
Ruslan Kuprieiev d32515c969 Merge pull request #2393 from Suor/stream-more
api: stream api.open() for local, SSH and HDFS
2019-08-15 22:33:55 +03:00
Alexander Schepanovski 85289ad00b api: wrap not found errors
api.open()/read() will now raise OutputFileMissingError and
Remote*.open() will raise FileNotFoundError if target file is absent.
2019-08-15 23:20:48 +07:00
Ruslan Kuprieiev e1f676a191 dvc: bump to 0.55.0 0.55.0 2019-08-15 14:06:58 +03:00
Ruslan Kuprieiev 5e4d26691a version: fix typo 2019-08-14 00:34:12 +03:00
Alexander Schepanovski 60a983b63f api: stream api.open() for local, SSH and HDFS 2019-08-13 18:19:52 +07:00
Ruslan Kuprieiev 7c19e9e4bf Merge pull request #2389 from Suor/streaming-clouds
api: stream data in api.open() for S3, GS and OSS
2019-08-13 11:30:41 +03:00
Alexander Schepanovski 641eb57b27 api: stream data in api.open() for S3, GS and OSS
Employ the same sign url and use resumable download approach tested for
Azure.
2019-08-13 14:09:51 +07:00
Ruslan Kuprieiev 3095b24ed4 Merge pull request #2375 from pared/2373
remote: gs/s3: remove batch_exists
2019-08-13 02:56:04 +03:00
Ruslan Kuprieiev 06d347178f remote: base: remove whitespace
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-08-13 02:25:15 +03:00
Ruslan Kuprieiev c308ad8a58 remote: base: don't forget about the progress bar
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-08-13 02:08:29 +03:00
pawel 8233f959c7 remote: ssh: reintroduce batch_exists 2019-08-12 14:10:16 +02:00
pawel f224790aab remote: base: remove unnecessary list casting 2019-08-12 11:01:02 +02:00
pared 394d6ffeeb remote: ssh: connection: remove open_max_sftp_channels 2019-08-12 11:01:02 +02:00
pared 132b571e72 remote: oss: fix _list_cache_args 2019-08-12 11:01:02 +02:00
pared 98de99f5a9 remote: azure: make blob_service cached property 2019-08-12 11:01:02 +02:00
pared 237f3e248b remote: base: modify cache_exists to use exists instead of batch_exists 2019-08-12 11:01:02 +02:00
pared 71abef74f5 remote: azure: implement batch_exists 2019-08-12 10:59:24 +02:00
Ruslan Kuprieiev a063f408a2 Merge pull request #2385 from efiop/azurite
travis: use azurite v3
2019-08-11 05:36:57 +03:00
Ruslan Kuprieiev 2f30bddfab travis: use azurite v3
Trying to fix azure error on our ci:

https://travis-ci.com/iterative/dvc/jobs/224085273

Workaround for #2387

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-08-11 05:04:25 +03:00
Ruslan Kuprieiev 71ab380d03 utils: remove: catch EPERM when chmoding a file
Fix https://github.com/iterative/dvc/pull/2298#issuecomment-520184196
2019-08-11 03:00:08 +03:00
Ruslan Kuprieiev b2f452ef04 Merge pull request #2319 from mroutis/fix-1497
metrics: allow multiple targets for show command
2019-08-10 20:10:31 +03:00
Mr. Outis a17caefd50 integrate @efiop 's suggestions 2019-08-10 11:37:35 -05:00
Mr. Outis 163d872c92 fix tests for windows 2019-08-09 22:46:25 -05:00
Mr. Outis fa04c27580 add tests for recursive operations and file not found 2019-08-09 22:06:32 -05:00
Mr. Outis 0e46edd9bb fail silently but with a more sound error message
* Add a `_missing` key to the return value of `repo.metrics.show` to
include targets not recognized as metrics or not found.
2019-08-09 21:55:19 -05:00
Ruslan Kuprieiev 1b2823b5c5 Merge pull request #2384 from efiop/2361
remote: base: call makedirs in move
2019-08-10 05:30:16 +03:00
Ruslan Kuprieiev baa548eec9 remote: base: call makedirs in move
Remotes like s3/gs/etc don't need to create dirs in advance.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-08-10 04:53:50 +03:00
Ruslan Kuprieiev e9b1e7797e Merge pull request #2383 from shcheklein/update-doc-links
cli: update man links to the new scheme
2019-08-10 04:46:59 +03:00
Ruslan Kuprieiev f5a4227554 Merge pull request #2376 from efiop/2361
travis: speedup install time
2019-08-10 04:44:35 +03:00
Ruslan Kuprieiev 919a49a231 travis: windows: cache chocolatey downloads
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-08-10 04:16:11 +03:00
Ruslan Kuprieiev eb3b3f9f4e travis: windows: skip install stage
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-08-10 04:15:22 +03:00
Ruslan Kuprieiev 3f19036646 travis: osx: speedup install stage
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-08-10 04:15:22 +03:00
Ivan Shcheklein 6ae13b5795 cli: update man links to the new scheme 2019-08-09 17:54:26 -07:00
Ruslan Kuprieiev 60bcd3dc13 Merge pull request #2371 from Suor/streaming
api: make .open() stream data for Azure
2019-08-09 18:42:40 +03:00
Ruslan Kuprieiev deb3372a66 Merge pull request #2298 from efiop/marcelo
dvc: support `group` cache mode
2019-08-09 18:34:05 +03:00