Saugat Pachhai
13e5dbafd0
s3: check for all files in given path
2019-11-30 19:20:32 +05:45
Saugat Pachhai
433d2f8017
test: remove nested contextmanagers, return False on exists()
2019-11-30 19:12:35 +05:45
Ruslan Kuprieiev
30848306e8
Merge pull request #2870 from Suor/test-api-fast-skip
...
test: skip non supported remotes fast in api tests
2019-11-30 15:15:00 +02:00
Saugat Pachhai
8a62e2f92b
gs: check if the path is directory when checking for exists
2019-11-30 18:03:41 +05:45
Saugat Pachhai
42991d3b75
Move more stuff from data_cloud to tests/remotes.py
2019-11-30 10:04:45 +05:45
Saugat Pachhai
63cf117ee9
Move to tests/remotes.py
2019-11-30 08:58:43 +05:45
Saugat Pachhai
4714929b5b
Merge branch 'master' into gs-external-deps
...
* master:
address @efiop's suggestions
s3: add support for top level empty directories
remote: http: calculate length basing on response and not head call
test: remote: http: clear test file name
HTTPError: reformat error message
Update dvc/remote/http.py
remote: http: rename http error, refactor test
remote: http: raise exception when download response with error status code
Support GDrive as remote
setup: don't forget contextlib2
remote: refactor ssh ask password code
remote: protect all remote client/session creation code with locks
test: refactor & remove redundant test fixtures
NoRemoteInExternalRepoError: dont pass cause of exception
perf: optimize cache listing for local, ssh and hdfs
remote: small .save_info()/.get_checksum() cleanup
2019-11-30 08:39:56 +05:45
Saugat Pachhai
caa67c725e
dvc: refactor tests
2019-11-30 08:22:39 +05:45
Casper da Costa-Luis
ae274cbab7
try devmode
2019-11-30 01:46:48 +00:00
Casper da Costa-Luis
f6e92184e3
ready for merge
2019-11-30 01:19:13 +00:00
Casper da Costa-Luis
8fa7d7cfd7
fix git
2019-11-30 01:01:20 +00:00
Casper da Costa-Luis
f60d795709
document connecting plugs before approval
2019-11-30 00:35:41 +00:00
Casper da Costa-Luis
ebe80cd60a
attempt to use layout
2019-11-30 00:28:56 +00:00
Ruslan Kuprieiev
0404a2324e
Merge pull request #2551 from MaxRis/gdrive-support
...
GDrive remote support
2019-11-30 01:21:31 +02:00
Alexander Schepanovski
865ed6f8ea
test: skip non supported remotes fast in api tests
2019-11-29 23:42:26 +01:00
Casper da Costa-Luis
b36a49120b
attempt to fix dvc config --system
2019-11-29 21:49:53 +00:00
Casper da Costa-Luis
d0cb359060
try strict confinement
2019-11-29 21:19:44 +00:00
Casper da Costa-Luis
b713a62be9
potential git discovery for removable media fix
2019-11-29 21:17:03 +00:00
Casper da Costa-Luis
537d51b535
use strict-confinement-compatible git
2019-11-29 21:16:33 +00:00
Casper da Costa-Luis
577ad548b0
move snapcraft to subdir
2019-11-29 19:41:41 +00:00
Ruslan Kuprieiev
94f803e043
Merge pull request #2683 from mroutis/fix-2678
...
s3: ignore empty directories while walking files
2019-11-29 21:00:39 +02:00
Casper da Costa-Luis
c0058a6f66
actually use PKG to determine package type
2019-11-29 18:46:57 +00:00
Casper da Costa-Luis
f616265c95
create dedicated SNAP env var
...
only for update skipping for now, instead of piggybacking off $CI
2019-11-29 18:39:05 +00:00
Mr. Outis
1f9a0f0e0f
address @efiop's suggestions
2019-11-29 12:38:12 -06:00
Mr. Outis
845cd352f7
s3: add support for top level empty directories
2019-11-29 11:46:28 -06:00
Ruslan Kuprieiev
6ad278f54c
Merge pull request #2794 from pared/2510
...
remote: http: raise exception when response with error status code
2019-11-29 16:58:47 +02:00
pawel
03c27192a6
remote: http: calculate length basing on response and not head call
2019-11-29 15:31:04 +01:00
pawel
f7846a5bed
test: remote: http: clear test file name
2019-11-29 15:30:55 +01:00
pawel
c102a781c2
HTTPError: reformat error message
2019-11-29 15:30:55 +01:00
Paweł Redzyński and Alexander Schepanovski
e084b427e3
Update dvc/remote/http.py
...
Co-Authored-By: Alexander Schepanovski <[email protected] >
2019-11-29 15:30:55 +01:00
Paweł Redzyński
7218ff202c
remote: http: rename http error, refactor test
2019-11-29 15:30:55 +01:00
Paweł Redzyński
72abfb0572
remote: http: raise exception when download response with error status code
2019-11-29 15:30:55 +01:00
Max Risuhin
e7227898e4
Support GDrive as remote
2019-11-29 01:21:10 -08:00
Ruslan Kuprieiev
510ff8a9da
Merge pull request #2863 from Suor/locks
...
remote: protect all remote client/session creation code with locks
2019-11-29 11:18:56 +02:00
Saugat Pachhai
ee69ac835d
gs: make it work with empty dir
2019-11-29 07:24:11 +05:45
Ruslan Kuprieiev
593ab17d25
setup: don't forget contextlib2
2019-11-29 02:14:25 +02:00
Mr. Outis
656f986542
💅 correct wording "disenabled" -> "disabled"
2019-11-28 17:47:14 -06:00
Ruslan Kuprieiev
6b4242a904
Merge pull request #2861 from danihodovic/refactor/remove-redundant-vars
...
test: refactor & remove redundant test fixtures
2019-11-29 01:24:27 +02:00
Alexander Schepanovski
8af1aeefb4
remote: refactor ssh ask password code
2019-11-28 21:10:35 +01:00
Alexander Schepanovski
73eac3b6cc
remote: protect all remote client/session creation code with locks
...
With @cached_property last write wins, so all threads will use the same
session. However, several might be created concurrently wasting
resources and even potentially asking something from the user.
This change guarantees only one client instance will be created for a
remote.
2019-11-28 21:05:20 +01:00
Dani Hodovic
78c505f6cb
test: refactor & remove redundant test fixtures
...
https://github.com/iterative/dvc/pull/2837#discussion_r351318487
2019-11-28 19:04:56 +01:00
Ruslan Kuprieiev
838efb293f
Merge pull request #2836 from Suor/lazy-cache-paths
...
perf: optimize cache listing for local, ssh and hdfs
2019-11-28 13:23:46 +02:00
Ruslan Kuprieiev
00744bc794
Merge pull request #2835 from Suor/opt-checkout
...
remote: small .save_info()/.get_checksum() cleanup
2019-11-28 08:55:25 +02:00
Saugat Pachhai
54dd9890dc
gs: return relative path in list_cache_paths
2019-11-28 07:37:14 +05:45
Mr. Outis
e69fffa7c7
py2 compat issues 🤷
2019-11-27 18:39:01 -06:00
Saugat Pachhai
db12416eac
remove extra args
2019-11-28 06:05:30 +05:45
Saugat Pachhai
fe248aa130
dvc: use replace instead of posixpath
2019-11-28 05:47:04 +05:45
Saugat Pachhai
0c08c09e5d
dvc: append slash at the end for dir path_info
2019-11-28 05:45:30 +05:45
Ruslan Kuprieiev
78942ca4da
Merge pull request #2854 from pared/2711_2
...
RemoteNotSpecifiedInExternalRepoError: dont pass cause of exception
2019-11-27 22:30:05 +02:00
Mr. Outis
787ea9cd31
tests: set temporary global config
2019-11-27 12:37:11 -06:00