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
Ruslan Kuprieiev
aa86eab2cc
Merge pull request #3206 from Suor/tests
...
test: add git_dir
2020-01-21 20:19:35 +02: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
Paweł Redzyński
18446996ab
get: tes_get_from_non_dvc_master: capture git logs at INFO
2020-01-16 10:43:48 +01:00
pawel
c2f5e35f1d
conftest: remove repo_dir
2020-01-16 10:43:48 +01:00
pawel
a4b55a00ec
conftest: remove dvc_repo, erepo, git, git_erepo
2020-01-16 10:43:48 +01:00
Guro Bokum
4918c56ca3
remote: config checksum_jobs
...
Close #2920
2020-01-15 22:23:09 +08:00
Fábio Santos
4ada384fcd
remove trace statement
2020-01-15 12:43:14 +00:00
Fábio Santos
008a531535
support non-DVC repositories
2020-01-15 12:39:15 +00:00
Fábio Santos
289797e7eb
can now get whether an item changed, but not when an item changes from non-DVC to DVC
2020-01-15 11:33:26 +00:00
Fábio Santos
799d902c98
add test that checks that a file can be upgraded from git tracking to DVC tracking
2020-01-14 23:41:48 +00:00
Fábio Santos
1a26d3b60f
Merge remote-tracking branch 'upstream/master' into feature/2959-status-of-imported-files
2020-01-14 23:08:43 +00:00
Ruslan Kuprieiev
7d6ecd1ccb
import: don't forget to set rev_lock for git files
...
Related to #3087
2020-01-15 00:38:55 +02:00
Fábio Santos
cfbdccdbed
update test
2020-01-14 19:49:21 +00:00
Ruslan Kuprieiev
42784816c3
Merge pull request #3149 from skshetry/refactor-remote
...
test: use helper remotes in external repro
2020-01-14 20:27:25 +02:00
Saugat Pachhai
7993600019
test: use helper remotes in external repro
2020-01-14 23:31:44 +05:45
Ruslan Kuprieiev
fe6d51fa77
Merge pull request #3148 from skshetry/refactor-datacloud-clibase
...
test: use helper remotes in child classes of TestDataCloudCLIBase
2020-01-14 19:35:03 +02:00
Ruslan Kuprieiev
b865a48b92
Merge pull request #3146 from pared/2896_fs_repo
...
fs: tests: remove repo_dir
2020-01-14 16:49:23 +02:00
Saugat Pachhai
45b97b14c4
test: use helper remotes in child of TestDataCloudCLIBase
2020-01-14 20:29:29 +05:45
Ruslan Kuprieiev
9c934c8abf
Merge pull request #3147 from pared/2896_ssh_utils
...
ssh: test: unit, utils: test: unit: remove repo_dir
2020-01-14 16:38:08 +02:00
pawel
cb5b5ed334
ssh: test: unit, utils: test: unit: remove repo_dir
2020-01-14 15:32:48 +01:00
pawel
144f10d8cb
fs: tests: remove repo_dir
2020-01-14 15:25:55 +01:00