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
Dmitry
8b489f7663
Merge changes
2017-09-16 23:13:16 -07:00
Dmitry
563ad0f513
Final changes and unit-tests fixes
2017-09-16 22:11:32 -07:00
Ruslan Kuprieiev
3286af59ef
target: remove 'target' command
...
Fixes #209
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-09-17 02:41:50 +03:00
Ruslan Kuprieiev
68186b08fc
dvc: move config/cache/state/target to .dvc
...
This is a more natural way to store dvc-related files and dirs
and follows git-logic much better.
Fixes #200
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-09-16 16:48:46 +03:00
Ruslan Kuprieiev
52cf1efd8b
tests: fix test_workflow
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-09-13 21:17:28 +03:00
Dmitry
95f39de424
Keep only human commits
2017-09-13 00:58:49 -07:00
Dmitry
ee5eeea541
Show branch tips
2017-09-03 20:11:31 -07:00
Dmitry
a86e08d830
Refactoring: extract Commits to a separate file
2017-09-03 19:10:00 -07:00
Dmitry
a1a68c00c9
Show target metric on the graph
2017-09-03 18:47:56 -07:00
Dmitry
73339568d0
REfactoring: extract _remove_or_collapse()
2017-09-03 16:19:29 -07:00
Dmitry
e32690dd71
Collapse repro command in the workflow
2017-09-03 14:45:01 -07:00
Dmitry Petrov
4befe3f7c6
Manual merge
2017-08-23 00:48:27 -07:00
Ruslan Kuprieiev
93326c99ad
tests: utils: don't forget to init env
2017-08-07 02:26:26 +03:00
Ruslan Kuprieiev
c7df4bd0ba
tests: add test for utils.py
...
Some sanity tests to make sure something like #132
doesn't happen anymore.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-08-07 01:36:26 +03:00
Dmitry Petrov
5c062aadaf
Extract AWS credentials from data_cloud.py
2017-08-04 19:30:04 -07:00
Ruslan Kuprieiev
b5623a32bd
cli: fix help, 'run', 'repro' and 'sync'
...
Adding metavar='' is a legacy from previous design and should
be removed to achieve better help msgs.
'run' should have 'command' as a positional and _required_ argument and 'args'
as a remainder.
'repro' had CmdRun triggered when called from cli.
'sync' should have 'targets' as a positional and _required_ argument.
Fixes #136 .
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-08-03 04:55:07 +03: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
884d4e6d83
Imports clean up
2017-07-25 05:03:48 -07:00
Dmitry Petrov
b08f4ee41c
Unit tests
2017-07-25 05:02:25 -07:00
Dmitry Petrov
3f962deb25
Fix: NamedTemporaryFile(mode=w)
2017-06-19 21:59:26 -07:00
Dmitry Petrov
ed923db203
Import cmd unit-tests
2017-06-19 21:31:31 -07:00
Dmitry Petrov
71566b1a24
Rename CmdDataRemove class
2017-06-19 18:32:30 -07:00
Dmitry Petrov
05dfaa3d48
Rename file test_cmd_data_remove
2017-06-19 18:29:44 -07:00
Dmitry Petrov
0e3278641c
Small tests headers fixes
2017-06-19 18:21:58 -07:00