Commit Graph
128 Commits
Author SHA1 Message Date
Ruslan Kuprieiev c5530a4830 test: test AWS on appveyor
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-14 13:57:26 +02:00
Ruslan Kuprieiev 17d92a441d test: use swap_code function
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-13 15:03:40 +02:00
Ruslan Kuprieiev 8d1832d602 test: add test for modyfing config
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-12 17:58:02 +02:00
Ruslan Kuprieiev 2351fc12d2 dvc: move status/pull/push under cache subcmd
Fixes #449

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-12 13:14:07 +02:00
Ruslan Kuprieiev 7c61c75d23 dvc: split stage and output files
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-06 13:51:11 +02:00
Ruslan Kuprieiev 14ae7811c1 test: add modified dir test
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-03 14:46:13 +02:00
Ruslan Kuprieiev 24f8c4ca9f test: add test for adding same data in and inside dir
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-02 16:53:35 +02:00
Ruslan Kuprieiev e4d9755a7e dvc: cloud RFC add support for directories
Fixes #367

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-22 03:19:29 +02:00
Ruslan Kuprieiev c07be85e0e dvc: use Popen directly instead of Executor
Executor is no longer useful.

Fixes #434

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-19 06:49:53 +02:00
Ruslan Kuprieiev 2b8c8b62f0 repro: don't reproduce twice
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-18 19:49:08 +02:00
Ruslan Kuprieiev 0fcb44b364 dvc: don't add regular files to gitignore
Fixes #430

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-16 04:27:54 +02:00
Ruslan Kuprieiev 39328620f8 test: test gcp only when env var DVC_TEST_GCP=true
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-16 03:21:57 +02:00
Ruslan Kuprieiev a130a25e39 dvc: refactor data_cloud
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-15 21:11:25 +02:00
Ruslan Kuprieiev 6e037a4307 dvc: remove show-workflow logic
As discussed with @dmpetrov, removing this functionality
for the upcoming release.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-15 20:30:53 +02:00
Ruslan Kuprieiev ddf40a9cf9 test: fix on python3
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-15 15:58:52 +02:00
Dmitry 3163b8a3e2 checkout test: add remove file test and gitignore test 2018-01-15 02:26:09 -08:00
Ruslan Kuprieiev a7dbf70995 dvc: remove .gitignore entries
Fixes #378

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-14 22:20:06 +02:00
Ruslan Kuprieiev 266a908169 dvc: fix gitignore bug
Fixes #375

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-14 18:48:48 +02:00
Ruslan Kuprieiev cf7bafad4d dvc: remove brancher and Find
Fixes #383
Fixes #376

We discussed this with @dmpetrov and decided to
remove this ml-specific functionality from the
core product.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-14 18:15:42 +02:00
Ruslan Kuprieiev a3e023c340 state: don't forget to track inode
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-14 01:34:20 +02:00
Ruslan Kuprieiev 6a6c11ffdb dvc: remove lock
As discussed with @dmpetrov, we don't really see a good usage scenario
for this and thus removing it from dvc.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-13 01:54:20 +02:00
Ruslan Kuprieiev 722f6abfc9 test: add test for changed data source
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-12 21:49:45 +02:00
Dmitry 8c4712710c Missing data source error message 2018-01-11 09:45:43 -08:00
Ruslan Kuprieiev 5043726f9d dvc: fix repro bugs
Fixes #400

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-11 13:22:21 +02:00
Ruslan Kuprieiev 3b09290ed8 test: improve coverage and fix bugs
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-10 19:39:41 +02:00
Ruslan Kuprieiev 487eae3f07 test: improve test coverage
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-10 17:15:42 +02:00
Ruslan Kuprieiev 96f9c50de8 cloud: fixup for #404
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-10 14:34:12 +02:00
Ruslan Kuprieiev 2b6d997fd3 dvc: remove ec2 commands
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-10 11:37:16 +02:00
Dmitry fbb3a8e0bb dvc fsck unit-tests and refactoring 2018-01-08 22:47:37 -08:00
Ruslan Kuprieiev e532aba6fa test: use unique aws s3 repo name
I've setup a cleanup rule on s3 to remove old files, so
there is no need them up manualy.

Fixes #374

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-08 15:24:00 +02:00
Ruslan Kuprieiev e4b9718f34 run: add --no-exec option
Fixes #385

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-08 13:19:42 +02:00
Ruslan Kuprieiev 1c89bb50c5 test: add initial tests for LOCAL and AWS data clouds
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-07 22:33:26 +02:00
Ruslan Kuprieiev bce3210a98 logger: rework and add test
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-07 16:58:17 +02:00
Ruslan Kuprieiev 609586eb60 test: add basic tests for cli.py
Fixes #384

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-07 16:11:24 +02:00
Ruslan Kuprieiev 64a1666d78 test: add test for Cache.find_cache()
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-06 18:45:01 +02:00
Ruslan Kuprieiev bc74afb4cf dvc: accept only single target through project.reproduce
Accepting multiple targets doesn't really make sence in both usage
and return values.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-05 12:06:45 +02:00
Ruslan Kuprieiev 9c7b142883 test: add test for phony targets
Fixes #342

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-05 11:39:34 +02:00
Ruslan Kuprieiev 2c108ff410 unit: simplify repro test
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-04 15:26:01 +02:00
Ruslan Kuprieiev 03ce77f8c1 dvc: don't track files that are already tracked by git
Fixes #371

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-04 13:34:31 +02:00
Ruslan Kuprieiev 14181ede5f dvc: remove -D option
Fixes #370

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-04 13:34:31 +02:00
Ruslan Kuprieiev 9c10a643a7 win: enable unit tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-02 13:03:06 +02:00
Ruslan Kuprieiev f47a2c7585 dvc: initial unittests
Initial unittests for new design.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-01 16:52:06 +02:00
Dmitry 62e8b751ba Rename STATE_DIR to STATE_DIR_NAME 2017-11-12 22:41:46 -08:00
Ruslan Kuprieiev 52b47a25b4 test: fix unit tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev afff00048b tests: utils: remove sleep()
No real need to sleep that much in the unit test, as it
really slows down everything.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev 664ec5dfa4 tests: remove gc unit test
After moving to md5 for cache files, gc logic became very straightforward,
and this unit test became irrelevant. We still have functional test for gc
though, so it is not like we're leaving gc untested. Probably worth it to
write simple unit test for it later.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev db12448a6e tests: fix cache tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-17 14:06:43 +03:00
Dmitry 7bcae81153 Build fix 2017-09-18 23:19:47 -07:00
Dmitry bb9de4b691 Define max limit to commits per graph node 2017-09-18 05:09:29 -07:00
Dmitry 2d8a7a6947 Fix show workflow issue: collapsed users commits 2017-09-18 00:41:03 -07:00