Paweł Redzyński
6557fed55d
remote: verify cache exists on dir checksum
2020-01-24 13:37:33 +01:00
Ruslan Kuprieiev
6718622549
Merge pull request #3227 from Suor/git-pull
...
erepo: pull each time
2020-01-24 10:14:43 +02:00
Alexander Schepanovski
7168a9c50a
erepo: pull each time
...
Fixes #3062 .
2020-01-23 23:09:57 +07:00
Ruslan Kuprieiev
4f61932c71
Merge pull request #3224 from pared/fix_import_url_test
...
import-url: test: prevent in-repo testing
2020-01-23 15:59:20 +02:00
Paweł Redzyński
48f8f2402a
import-url: test: prevent in-repo testing
2020-01-23 12:40:21 +01:00
Ruslan Kuprieiev
bbb3a831b5
Merge pull request #3216 from MaxRis/3157
...
Update Google Project credentials to run tests
2020-01-23 13:25:25 +02:00
Ruslan Kuprieiev
1a7eb8fdec
Merge pull request #3222 from skshetry/fallback-external-repo
...
api: fallback to external_repo if not a DVC repository
2020-01-23 13:24:33 +02:00
Ruslan Kuprieiev
a0419173ba
Merge pull request #3088 from efiop/3080
...
dvc: add sanity checks for hard/symlinks
2020-01-23 11:48:19 +02:00
Saugat Pachhai
003b5c392a
api: fallback to external_repo on error
2020-01-23 14:44:38 +05:45
Ruslan Kuprieiev
49039968f7
Merge pull request #3208 from fabiosantoscode/feature/3198-remove-spy-method
...
tests: replace spy() with pytest-mock spy
2020-01-23 10:52:43 +02:00
Jorge Orpinel
69c1aa5bbf
dvc: revert capitalization of logger.exception strings
...
per https://github.com/iterative/dvc/pull/3220#pullrequestreview-347083819
2020-01-23 00:50:24 -06:00
Jorge Orpinel
d06bd6abd8
tests: match recent commits and
...
other misc. language improvements
2020-01-23 00:35:15 -06:00
Jorge Orpinel
ec0c39a28e
term: review capitalization and backquotes around "dvc"
...
rel: https://github.com/iterative/dvc/pull/3156#discussion_r369897073
2020-01-22 20:27:01 -06:00
Max Risuhin
cb38b1a0f1
Update Google Project credentials to run tests
2020-01-22 12:19:21 -08:00
Fábio Santos
fc92266114
address comments
2020-01-22 17:31:46 +00:00
Ruslan Kuprieiev
d863c46859
dvc: add sanity checks for hard/symlinks
...
Fixed #3080
2020-01-22 18:47:37 +02:00
Fábio Santos
e41aa00c20
convert tests to pytest function tests
2020-01-22 14:04:52 +00:00
Paweł Redzyński
482dfaf998
data cloud: refactor verify checksums test
2020-01-22 10:54:07 +01:00
pawel
a148d16a95
data cloud: verify is config option now
2020-01-22 10:54:07 +01:00
pawel
f4e0079ec1
data sync: add command unit test
2020-01-22 10:54:07 +01:00
pawel
b451de5496
remote: tests: refactor verify test
2020-01-22 10:54:07 +01:00
pawel
ef1b06ddf9
test_remote: use mocker.spy instead of spy
2020-01-22 10:54:07 +01:00
pawel
0b1d1f5ce4
data cloud: pull: trust remotes md5 on proper flag
2020-01-22 10:54:07 +01:00
Ruslan Kuprieiev
d942542c84
tests: fix index.remove misuse
2020-01-22 10:53:48 +02:00
Fábio Santos
bdf665a34a
don't use patch.object()
2020-01-21 20:52:48 +00:00
Ruslan Kuprieiev
aa86eab2cc
Merge pull request #3206 from Suor/tests
...
test: add git_dir
2020-01-21 20:19:35 +02:00
Fábio Santos
5dfcda54f9
tests: replace spy() with pytest-mock spy
...
Fixes #3198
2020-01-21 14:47:49 +00:00
Alexander Schepanovski
5af7a9d850
test: add git_dir
2020-01-21 20:56:04 +07:00
Ruslan Kuprieiev
2305549460
erepo: fix DependencyREPO schema
...
URL should be required and rev or rev_lock should be optional.
Related to #3087
2020-01-21 12:58:33 +02:00
Ruslan Kuprieiev
e848bcb9d6
gdrive: allow configuring no_traverse
2020-01-20 23:49:49 +02:00
Ruslan Kuprieiev
0be5046a72
Merge pull request #3197 from Suor/refactor-tmpdir
...
test: refactor tmp_dir/erepo_dir
2020-01-20 16:02:13 +02:00
Alexander Schepanovski
91e024c8fa
test: do not commit copy.py to git
2020-01-20 20:35:10 +07:00
Alexander Schepanovski
1d891a6e77
test: provide make_tmp_dir fixture
2020-01-20 11:57:54 +07:00
Alexander Schepanovski
4117206c67
test: drop repo_template fixture
2020-01-20 11:49:13 +07:00
Alexander Schepanovski
72812b519e
api: fix get_url() non-dvc repo error message
2020-01-19 23:01:53 +07:00
Alexander Schepanovski
ee022eada0
api: adjust get_url requiring dvc repo to the new reality
2020-01-19 21:38:37 +07:00
Alexander Schepanovski
033ef88a4e
external: refactor external_repo() and its users
...
Some things are fixed along the way:
- no cache shared between incompatible funcs
- some incosistent exceptions are now consistent
- import updates for git files now works both for dvc and git repos
- "auto-generated-upstream already exists" fixed
- dvc.api.open()/read() works with git repos now
Fixes #3124 , #2976 . Closes #3172 .
2020-01-19 21:38:06 +07:00
Sujith H
1b7eda2745
Fix import issue without remote config in the target
...
Fix the import issue when target does not have
remote config.
Signed-off-by: Sujith H <[email protected] >
2020-01-19 11:42:05 +05:30
Paweł Redzyński
cf08529362
utils: add tests for resolve out
2020-01-17 09:51:07 +01:00
Ruslan Kuprieiev
bdd1d61803
Merge pull request #3156 from skshetry/get-url-from-cache
...
get: implement --show-url to display only url/path to remote
2020-01-17 10:15:06 +02:00
Saugat Pachhai and Paweł Redzyński
98f6d56e8c
test: refactor, apply suggestion from @pared
...
Co-Authored-By: Paweł Redzyński <[email protected] >
2020-01-16 22:59:58 +05:45
Saugat Pachhai
02a73a0d9b
unit: test: check output of get --show-url command
2020-01-16 22:52:35 +05:45
Saugat Pachhai
50206d44dc
test: fix test related to path on windows
...
On windows, `str(exc_info)` is returning escaped path, eg:
'<ExceptionInfo UrlNotDvcRepoError("URL \'C:\\\\Users\\\\travis\\\\AppData\\\\Local\\\\Temp\\\\pytest-of-travis\\\\pytest-0\\\\popen-gw2\\\\test_get_url_git_only_repo_thr0\' is not a dvc repository.") tblen=2>'
This commit just replaces the double slashes with single one. Bit of a hack, I know.
2020-01-16 21:06:52 +05:45
Ruslan Kuprieiev
d081627501
Merge pull request #3150 from fabiosantoscode/feature/2959-status-of-imported-files
...
status: implement support for imported files
2020-01-16 17:11:31 +02:00
Saugat Pachhai
aa7119a741
get: test get_url raises exception if not a dvc repo
2020-01-16 19:28:14 +05:45
Saugat Pachhai
f130e18e2c
get: use new exception from public api
2020-01-16 19:28:14 +05:45
Saugat Pachhai
eb252e055b
get: split command for getting url and getting files from url functions
2020-01-16 19:28:14 +05:45
Saugat Pachhai
4509f82bc3
get: implement --show-url to display only url/path to remote
2020-01-16 19:28:14 +05:45
Fábio Santos
5883d3dabf
reorder imports
2020-01-16 12:54:05 +00:00
Paweł Redzyński
36c64c66db
test_get_from_non_dvc_master: add comment about git logs
2020-01-16 11:49:03 +01:00