Commit Graph
29 Commits
Author SHA1 Message Date
Ruslan Kuprieiev 286002f9cb test: add '--force' test for repro
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-03-17 11:42:05 +02:00
Ruslan Kuprieiev 2fe6091ffb dvc: don't change mode of files
Since we can now detect cache corruption, we don't need
to force any permissions on our data files.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-03-14 12:48:16 +02:00
Ruslan Kuprieiev f96f1f7ee3 tests: add test for reproducing directories
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-03-01 09:15:13 +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 2b8c8b62f0 repro: don't reproduce twice
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-18 19:49:08 +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 722f6abfc9 test: add test for changed data source
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-12 21:49:45 +02: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 487eae3f07 test: improve test coverage
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-10 17:15:42 +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 14181ede5f dvc: remove -D option
Fixes #370

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-04 13:34:31 +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
Ruslan Kuprieiev ee34fdfa31 RFC: move cmdline parsing to cli.py and settings RFC
This will make the structure of dvc more linear
making it easier to read. Plus, these changes
are needed in preparation for libdvc, as they
move all cmdline parsing to one common place.

This patch also refactors our settings system
also make it more linear and remove abstraction
levels that are not needed and only cause confusion.
There is a lot more to be done in preparation for
dvc lib and RFC overall, but this a first step
in that long journey.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-07-31 01:39:32 +03:00
Dmitry Petrov 71566b1a24 Rename CmdDataRemove class 2017-06-19 18:32:30 -07:00
Dmitry Petrov 0e3278641c Small tests headers fixes 2017-06-19 18:21:58 -07:00
Dmitry Petrov f6ded2fa72 Lock cmd: small changes 2017-04-29 18:01:24 -07:00
Dmitry Petrov a7f8989575 Unit tests 2017-04-28 15:03:33 -07:00
Dmitry Petrov 92553358e6 Windows symlink: more small fixes 2017-04-10 14:32:26 -07:00
Dmitry Petrov 376f139f81 Windows symlink: replace echo to python code and fix --shell command line propagation 2017-04-10 12:47:03 -07:00
Dmitry Petrov 741ad5435a Windows symlink: rewrite unit test for windows 2017-04-09 14:22:17 -07:00
Dmitry Petrov a6ceb02f97 WindowsSymlinkOverride class 2017-04-07 18:22:22 -07:00
Dmitry Petrov 449517c511 Windows symlink 2017-04-07 17:44:25 -07:00
Dmitry Petrov 5f3c53603f Refactoring: extract Settings from BaseCmd; move path_factory to Settings 2017-04-05 23:08:40 -07:00
Dmitry Petrov c3c2116220 Close #1 - repro cmd and close #2 repro unit tese 2017-04-05 20:41:35 -07:00
Dmitry Petrov 84218deccb Finalize ReproCodeDependencyTest 2017-04-03 15:02:49 -07:00
Dmitry Petrov dccc15c0d6 Repro cmd first unttest 2017-04-03 03:56:08 -07:00
Dmitry Petrov 2f8c2e9397 Fix: change dir back 2017-04-03 00:02:12 -07:00