Tymoteusz Jankowski
128f60ef68
Add test_dagascii.py + make find_pager() use DVC_PAGER
2019-12-04 20:51:24 +01:00
Tymoteusz Jankowski
c864ca9384
Move is_exec_found(..) to dvc/dagascii.py
2019-12-04 20:15:49 +01:00
Tymoteusz Jankowski
8977958371
Make pager info box to be a simple warning
2019-12-02 20:36:51 +01:00
Tymoteusz Jankowski
ab3ccf0243
Use os.devnull + do not check if system exists for os module
2019-12-02 20:27:20 +01:00
Tymoteusz Jankowski
f79711d155
Fix code checks
2019-12-01 19:48:56 +01:00
Tymoteusz Jankowski
a6a3cbcffa
Reduce nested ifs in find_pager
2019-12-01 19:45:06 +01:00
Tymoteusz Jankowski
3e163f1934
Rename and move DVC_PAGER_ENV_NAME to env.py file
2019-12-01 19:13:56 +01:00
Tymoteusz Jankowski
cade3b396c
Add is_exec_found to utils and use it in dagascii module
2019-12-01 19:04:04 +01:00
Tymoteusz Jankowski
c17cf2b2f7
dvc/dagascii: Use less instead of AsciiCanvas._do_draw
...
Uses less CLI tool to paging the output in the interactive mode while
doing e.g. `dvc pipeline show ..`.
Fixes #2807
2019-12-01 13:23:09 +01:00
Ruslan Kuprieiev
24d3a87708
Merge pull request #2873 from skshetry/fix-2871
...
s3: Check for all files in given path to match
2019-12-01 13:24:50 +02:00
Saugat Pachhai
37fcced4ad
s3: raise exception if not 404 status code
2019-12-01 16:28:31 +05:45
Saugat Pachhai
4821aa2efa
s3: catch specific exception when head_object()
2019-12-01 14:47:56 +05:45
Saugat Pachhai
da0d9e8599
s3: implement isfile()
2019-12-01 10:58:53 +05:45
Ruslan Kuprieiev
f09517ad09
travis: windows: use python 3.7.5
2019-11-30 20:11:11 +02:00
Saugat Pachhai
2e1f3114cd
dvc: write tests
2019-11-30 19:47:30 +05:45
Saugat Pachhai
13e5dbafd0
s3: check for all files in given path
2019-11-30 19:20:32 +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
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
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
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
Ruslan Kuprieiev
593ab17d25
setup: don't forget contextlib2
2019-11-29 02:14:25 +02: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
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
Paweł Redzyński
31aed9b27b
NoRemoteInExternalRepoError: dont pass cause of exception
2019-11-27 10:05:16 +01: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
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
Saugat Pachhai
461a79e1e8
Fix typos
2019-11-26 20:07:20 +05:45
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