Saugat Pachhai
b8aa8ad951
pyupgrade: 3.6+ ( #3805 )
...
* pyupgrade: 3.6+
* tests: pyupgrade 3.6+
2020-05-15 16:48:02 +03:00
Casper da Costa-Luis
2bb7257a06
lint: isort pre-commit & misc improvements ( #3749 )
...
* test: clean flake8 config root clutter
* test: pre-commit: add isort
Compatible with black (see https://github.com/timothycrosley/isort/issues/694 )
* lint: reorder imports
* lint: more complex imports
* lint: fix deepsource
* config: isort: add first party dvc
* tests: restyled: add isort
* temp commit to revert before merge
* Revert "temp commit to revert before merge"
This reverts commit 11db0fd8e95fe891597cbb9bf804480909b19e24.
2020-05-06 23:56:07 +03:00
Ivan Shcheklein and Jorge Orpinel
8aefbac223
gdrive: fix multi-remote workflow, cont. cleanup ( #3686 )
...
* remote, minor: fix parameter method name for consistency
* gdrive: cleanup, fix workflow with multiple gdrive remotes
* config: resolve gdrive cred file parth, typo fix
* grdive: address deepsource warning
* gdrive: fix tests after simplifying auth flow
* gdrive: address PR review, use backticks where appropriate
Co-Authored-By: Jorge Orpinel <[email protected] >
* gdrive: exception text improvements
Co-Authored-By: Jorge Orpinel <[email protected] >
* gdrive: fix exception message
Co-Authored-By: Jorge Orpinel <[email protected] >
* gdrive: fix root not found exception message
Co-Authored-By: Jorge Orpinel <[email protected] >
* gdrive: minor warnings/exceptions text improvement
* gdrive: add tests for the gdrive_user_credentials_file relative path
* gdrive: address review, slightly change text
* gdrive: comments -> docstrings, addressing PR review
Co-authored-by: Jorge Orpinel <[email protected] >
2020-04-29 23:25:56 +03:00
nik123
fefbcc0b4c
refactor: dvc/remotes name unification ( #3684 )
...
Partially fixes #2089
2020-04-26 20:55:00 +03:00
Peter Rowlands (변기호)
dfe184f149
tests: convert remote unit tests to pytest ( #3604 )
...
- update tests/unit/remote tests to use pytest style tests
- use pytest dvc repo fixtures instead of improperly mocked repo's or
None
2020-04-07 10:45:49 +03:00
Ivan Shcheklein
f6077d06c4
gdrive: method signatures cleanup, more safeguards ( #3548 )
2020-03-30 09:49:34 +03:00
Peter Rowlands (변기호)
9b38aa4680
remote: Optimize traverse/no_traverse behavior ( #3501 )
...
* remote: Optimize traverse/no_traverse behavior
- estimate remote file count by fetching a single parent cache dir, then
determine whether or not to use no_traverse method for checking
remainder of cache entries in `cache_exists`
- thread requests when traversing full remote file lists (by fetching
one parent cache dir per thread)
* Use arbitrary prefix length for traverse remote cache queries
- default to 3
- for remotes that only support per-directory query use 2 (gdrive, hdfs)
* Add unit tests for new traverse/no_traverse behavior
* Fix deepsource warning
* Fix review issues
* fix CI
* Fix review issues
* obsolete no_traverse config option
- remove RemoteBASE.DEFAULT_NO_TRAVERSE and replace it with
RemoteBASE.CAN_TRAVERSE (True for all remotes except http)
* review issues - use 'object exists' instead of 'no_traverse'
* fix obsolete no_traverse test issues
* fix SSHMocked func tests
2020-03-25 05:04:20 +02:00
Max Risuhin
3ff804b3b2
gdrive: Google Service account support ( #3269 )
2020-03-11 15:49:33 +02:00
Ruslan Kuprieiev
e848bcb9d6
gdrive: allow configuring no_traverse
2020-01-20 23:49:49 +02:00
Guro Bokum
4918c56ca3
remote: config checksum_jobs
...
Close #2920
2020-01-15 22:23:09 +08:00
Max Risuhin
57111a7788
gdrive: add support for teamDriveId
2020-01-11 07:41:12 -08:00
Max Risuhin
4727cb7893
Improve Google Drive auth failure error reporting
2019-12-28 05:22:37 -08:00
Max Risuhin
4d4a3fc716
Standardize gdrive tests with others remotes
2019-12-15 05:31:52 -08:00