Alexander Schepanovski
9607e5f873
get: refactor, clean up and fix dvc get implementation
...
Things changed:
- both no output and no git file result into PathMissingError now
- fail on missing cache or cache download error loudly
- removed sqlite bypass, since we use nolock now anyway
Refactoring:
- streamlined logic and made it similar to Repo.open() one
- moved exclusive exception classes to dvc.repo.get
2019-12-09 21:02:49 +03:00
Ruslan Kuprieiev
26a9702a4a
Merge pull request #2837 from danihodovic/feat/2515
...
get: copy/download files tracked by Git
2019-12-09 18:57:52 +02:00
Ruslan Kuprieiev
237704ef2b
Merge pull request #2908 from Suor/better-fixtures
...
test: write a usage text for dir_helpers
2019-12-09 18:01:33 +02:00
Ruslan Kuprieiev
8890daf703
Merge pull request #2826 from mroutis/refactor-analytics
...
analytics: refactor into a module
2019-12-09 17:59:51 +02:00
Ruslan Kuprieiev
24fc8beaeb
Update test_ignore.py
2019-12-09 15:27:54 +02:00
Ruslan Kuprieiev
302b016d65
Merge pull request #2913 from Suor/migrate-test-ignore
...
test: migrate test_ignore
2019-12-09 15:25:46 +02:00
Alexander Schepanovski and Mr. Outis
1da133b9ed
test: update dir_helpers usage
...
Co-Authored-By: Mr. Outis <[email protected] >
2019-12-09 11:34:10 +03:00
Alexander Schepanovski and Mr. Outis
a59041aeab
test: update dir_helpers usage
...
Co-Authored-By: Mr. Outis <[email protected] >
2019-12-09 11:33:35 +03:00
Alexander Schepanovski and Mr. Outis
0cd6106189
Update tests/dir_helpers.py
...
Co-Authored-By: Mr. Outis <[email protected] >
2019-12-09 11:24:41 +03:00
Ruslan Kuprieiev
3796c4182b
Merge pull request #2906 from pared/2896_add_2
...
add: test: convert to dir helpers 2
2019-12-08 05:46:17 +02:00
Mr. Outis
5dd6300878
💅 black
2019-12-07 21:19:54 -06:00
Mr. Outis
6e4c3d6acd
tests: require keys on analytics report schema
2019-12-07 21:18:28 -06:00
Mr. Outis
3244f10e7f
💅 add dot to the end of the comment
2019-12-07 21:15:49 -06:00
Mr. Outis
c9f958dd00
analytics: AttributeError -> KeyError
2019-12-07 21:15:38 -06:00
Mr. Outis
146e75be3e
analytics: raise error when collecting a not supported os
2019-12-07 21:15:11 -06:00
Mr. Outis
c50bd17bb4
analytics: collect execution info only when available
2019-12-07 21:14:31 -06:00
Alexander Schepanovski
6c12a2e555
test: fix unicode test_ignore issue under Windows Py2
2019-12-07 17:17:18 +01:00
Ruslan Kuprieiev
36336f389d
dvc: bump to 0.75.0
0.75.0
2019-12-07 14:54:36 +02:00
Alexander Schepanovski
79902988fc
test: fix files set comparisons in dvcignore tests under windows
2019-12-07 13:17:08 +01:00
Alexander Schepanovski
77fcd75b7d
test: use utf-8 in tmp_dir.gen()
2019-12-07 13:16:42 +01:00
Alexander Schepanovski
42096c5bfc
test: migrate test_ignore to new helpers
2019-12-07 11:09:52 +01:00
Alexander Schepanovski
c6c67ace20
test: create empty dirs via tmp_dir.gen()
2019-12-07 10:32:37 +01:00
Ruslan Kuprieiev
82dd1ac7c1
Merge pull request #2815 from xliiv/2807-use-pager
...
dvc/dagascii: Use pager instead of AsciiCanvas._do_draw
2019-12-07 01:16:16 +02:00
Tymoteusz Jankowski
44df59f96c
Fix test_dagascii tests
2019-12-06 23:36:21 +01:00
Mr. Outis
2145daa130
analytics: define private methods
2019-12-06 16:26:10 -06:00
Tymoteusz Jankowski
ffefab152e
Remove make_pager.cmd attribute
2019-12-06 22:17:44 +01:00
Ruslan Kuprieiev
0a7abf13d5
dvc: bump to 0.74.0
0.74.0
2019-12-06 23:15:53 +02:00
Tymoteusz Jankowski
ed4e951f22
Use monkeypatch in test_dagascii.py
2019-12-06 21:58:56 +01:00
Dani Hodovic
29b34bacc2
fixup! fixes
2019-12-06 21:55:54 +01:00
Tymoteusz Jankowski
6cfc831879
Use mocker fixture in test_dagascii.py
2019-12-06 21:54:40 +01:00
Mr. Outis
5a8033415d
tests: use str, builtin_str in schema
2019-12-06 13:54:17 -06:00
Tymoteusz Jankowski
8fb754a4f4
Simplify if in find_pager
2019-12-06 20:42:10 +01:00
Ruslan Kuprieiev
eb200db442
Merge pull request #2909 from iterative/efiop-patch-1
...
remote: base: download: don't walk dir twice
2019-12-06 21:37:19 +02:00
Dani Hodovic
d59bceb71a
fixes
2019-12-06 20:20:25 +01:00
Ruslan Kuprieiev
cf171f7ec3
fixup
2019-12-06 21:09:53 +02:00
Ruslan Kuprieiev
52511714c0
remote: base: download: don't walk dir twice
2019-12-06 20:49:45 +02:00
Mr. Outis
da064e2ede
analytics: remove the report after sending it
2019-12-06 12:28:06 -06:00
Dani Hodovic
811855ade2
fixes
2019-12-06 18:56:19 +01:00
Alexander Schepanovski
5bec700761
test: accept Paths in tmp_dir.gen()
2019-12-06 18:36:17 +01:00
Alexander Schepanovski
659eb04705
test: write a usage text for dir_helpers
2019-12-06 18:34:05 +01:00
Mr. Outis
f704e5468b
tests: stringify tmp_global_config since it doesnt return a pathlike object
2019-12-06 10:20:30 -06:00
pawel
b39ebc8591
add: test: convert to dir helpers
...
test_should_relink_on_repeated_add
test_should_protect_on_repeated_add
2019-12-06 15:35:32 +01:00
Ruslan Kuprieiev
9b6644a97e
Merge pull request #2898 from pared/2896_add_1
...
add: test: convert to dir helpers 1
2019-12-06 16:25:27 +02:00
Ruslan Kuprieiev
8fa26825ee
Merge pull request #2894 from odd-industries/master
...
import-url: support directories
2019-12-06 16:12:04 +02:00
Vera Sativa
896b08c11d
fix: test requirements
2019-12-06 10:55:18 -03:00
Vera Sativa
b2e3fd2dbd
fix: test imports
2019-12-06 10:20:53 -03:00
Vera Sativa
3603da89ec
fix: respect no_progress_bar and remove human else
2019-12-06 10:08:02 -03:00
Vera Sativa
120f087f1c
fix: tqdm reading futures
2019-12-06 10:04:05 -03:00
pawel
551f5af561
add: test: convert to dir helpers
...
test_add_file_in_dir
test_readding_dir_should_not_unprotect_all
test_should_not_checkout_when_adding_cached_copy
2019-12-06 09:07:50 +01:00
Mr. Outis
c82d9dcbc1
compat: bring back unicode literals
2019-12-05 23:18:44 -06:00