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
Saugat Pachhai
5e2150d509
remote/gs: set max_results to improve performance when checking exists/isdir
2019-11-28 00:07:49 +05:45
Saugat Pachhai
e750496123
remote/gs: support adding directories
2019-11-28 00:07:49 +05:45
Paweł Redzyński
31aed9b27b
NoRemoteInExternalRepoError: dont pass cause of exception
2019-11-27 10:05:16 +01:00
Mr. Outis
e9d56a969e
💅 sort imports
2019-11-26 19:39:31 -06:00
Mr. Outis
2a5cac5570
💅 deepsource
2019-11-26 19:34:49 -06:00
Mr. Outis
f9952046fd
tests: functional and unit tests for analytics
2019-11-26 19:29:20 -06:00
Mr. Outis
6bc24039db
💅 black
2019-11-26 18:33:16 -06:00
Mr. Outis
48b4cbad45
💅 change naming and docstring
2019-11-26 18:32:39 -06:00
Mr. Outis
467b110929
py2: FileNotFoundError -> IOError
2019-11-26 18:32:02 -06:00
Casper da Costa-Luis
36fc2b05ad
partiallundo reorder
2019-11-26 21:59:44 +00:00
Casper da Costa-Luis
78c9e32312
reorder desc & bar
2019-11-26 21:56:25 +00:00
Casper da Costa-Luis
857c01d075
lengthen bars unless nested/threaded
...
Partially fixes #2487
2019-11-26 21:29:24 +00:00
Mr. Outis
5261ed7148
tests: analytics.find_or_create_user_id
2019-11-26 13:40:11 -06:00
Ruslan Kuprieiev
f9d4ef8abd
Update version.py
0.71.0
2019-11-26 20:55:49 +02:00
Ruslan Kuprieiev
5703b17190
Merge pull request #2856 from peper0/master
...
Possible fix for #2850 .
2019-11-26 20:48:07 +02:00
Ruslan Kuprieiev
a1cc2e66e1
Merge pull request #2821 from kaiogu/master
...
remote: fix remote default call with no arguments
2019-11-26 20:37:31 +02:00
Ruslan Kuprieiev
424931f54a
Merge pull request #2855 from skshetry/fix-typo
...
Fix typos
2019-11-26 20:28:44 +02:00
Mr. Outis
34d3004779
:face_palm: fix wrong module
2019-11-26 12:07:18 -06:00
Kaio Giurizatto Utsch
82a535b97e
Change logging to print
...
Python logging recommends using print instead of logging for ordinary
output of command line program.
Also changed the test to reflect this.
2019-11-26 15:02:03 -03:00
Tomasz Łakota
a986c6a09d
Possible fix for #2850 .
2019-11-26 18:25:36 +01:00
Kaio Giurizatto Utsch
95924a34e6
Undo last commit
...
Turns out that the argument was needed after all
2019-11-26 14:19:09 -03:00
Mr. Outis
d958870edf
analytics: exit_code -> return_code
...
shout-out to @efiop for the suggestion
2019-11-26 10:45:21 -06:00
Saugat Pachhai
461a79e1e8
Fix typos
2019-11-26 20:07:20 +05:45
Mr. Outis
610d1ee28e
analytics: go back to daemon implementation
...
Lack of a better way to spawn a detached process on both windows an linux
2019-11-25 22:30:16 -06:00
Mr. Outis
5cb437b5ef
analytics: move to single file
...
shout-out to @Suor
2019-11-25 22:30:05 -06:00
Mr. Outis
2e7a6d3fe5
💅 sort methods
2019-11-25 22:30:05 -06:00
Mr. Outis
64d102caaa
analytics: move user_id module to a method
...
shout-out to @Suor for the suggestion
2019-11-25 22:30:03 -06:00
Mr. Outis
7d3cbd789c
analytics: collect system info under the same module
2019-11-25 21:41:17 -06:00
Mr. Outis
b618d03cfd
analytics: return OS when system info not supported
2019-11-25 21:30:25 -06:00
Kaio Giurizatto Utsch
9611107896
Remove unused argument
2019-11-25 17:51:49 -03:00
Kaio Giurizatto Utsch
c2def64dc7
remote: add test case to show default
2019-11-25 17:35:45 -03:00
Ruslan Kuprieiev
38be142497
Merge pull request #2842 from skshetry/fix-typo
...
Fix typo and grammar
2019-11-24 12:58:03 +02:00
Saugat Pachhai
7a678f3322
dvc: fix grammar in PR template
2019-11-24 15:44:42 +05:45
Saugat Pachhai
2859b53cae
dvc: fix typo in data_cloud.py module docstring
2019-11-24 15:38:54 +05:45
Casper da Costa-Luis
ba12e1c457
test eveything apart from gssapi
2019-11-24 00:20:37 +00:00
Casper da Costa-Luis
5f13e2215d
bash completion
2019-11-23 23:53:52 +00:00
Casper da Costa-Luis
8e58849f0b
suppress update check, add comments
2019-11-23 23:25:42 +00:00