Ruslan Kuprieiev
af0d5eeeca
test: use ulimit
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-07 16:24:09 +02:00
Ruslan Kuprieiev
aa396d1b42
add/remove: catch and report errors
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-07 16:11:24 +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
Dmitry
225c8a3813
fsck refactoring: extract FileFsck class. Add --all option.
2018-01-07 04:37:59 -08:00
Ruslan Kuprieiev
ad93ece928
Merge pull request #386 from efiop/master
...
dvc: cleanup artifacts from #382
2018-01-07 11:11:08 +02:00
Dmitry
0b46fc25fb
Bugfix: checkout - handle files with missing caches
2018-01-07 00:54:09 -08:00
Dmitry
0a2660513e
Bugfix: gc - nice output formatting
2018-01-07 00:52:41 -08:00
Ruslan Kuprieiev
1bbfa5ca35
dvc: cleanup artifacts from #382
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-07 10:49:38 +02:00
Dmitry Petrov
8d6de6b8ec
Merge pull request #382 from dataversioncontrol/dvc_fsck
...
Dvc fsck
2018-01-06 20:46:33 -08:00
Dmitry
e0dac32575
Refactoring: reduce LOC in a file by getting rid of Direction class
2018-01-06 20:17:17 -08:00
Dmitry
fce38bce7b
Refactoring: reduce method length and use unicode string
2018-01-06 20:15:32 -08:00
Dmitry
828970a0c4
Bugfix: "no cache file" message
2018-01-06 19:06:08 -08:00
Dmitry
24b9d5a337
Remove --all again
2018-01-06 18:54:37 -08:00
Dmitry
06627e8b85
Custome merge with #379
2018-01-06 18:47:50 -08:00
Dmitry
de533f0437
Remove --all option - empty param list instead
2018-01-06 15:47:57 -08:00
Dmitry
018302e208
New command: dvc fsck. Close #381 .
2018-01-06 19:32:17 +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
Dmitry
d232a15e8e
Refactoring: move find_cache() to Cache class
2018-01-06 18:41:38 +02:00
Ruslan Kuprieiev
cec2d99e0f
Merge pull request #379 from dataversioncontrol/after_redisign_misc_3
...
After redesign misc 3
2018-01-06 18:11:43 +02:00
Dmitry
789b2e0b5b
Bugfix: do not touch cache file if it does not exist
2018-01-06 14:29:11 +02:00
Dmitry
ab3abbe87a
New command: dvc fsck. Close #381 .
2018-01-06 04:17:55 -08:00
Dmitry
c79a7cd2df
Convert mtime to int
2018-01-06 04:16:22 -08:00
Dmitry
d2790f9306
Refactoring: move find_cache() to Cache class
2018-01-06 04:15:23 -08:00
Dmitry
bc8edde311
dvc repro: report status and command
2018-01-05 13:58:49 +02:00
Ruslan Kuprieiev
f310060abd
Merge pull request #380 from efiop/master
...
Phony target and repro API RFC
2018-01-05 13:39:43 +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
964922f530
Merge pull request #373 from efiop/master
...
Misc improvements
2018-01-04 16:06:22 +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
9bec404efa
yaml: use safe_load and safe_dump
...
We don't need to support python objects in our dvc files,
so we should only use safe_ functionality to avoid possible
bugs when entries in dvc files are represented as py objects.
Fixes #372
2018-01-04 13:34:31 +02:00
Ruslan Kuprieiev
b4658c23ce
test: lock versions of requirements
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-04 13:34:31 +02:00
Ruslan Kuprieiev
359eaa9157
Merge pull request #366 from efiop/master
...
win: fix windows build and enable unit tests
2018-01-02 15:54:09 +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
41b05c7673
Merge pull request #365 from efiop/master
...
dvc: initial unittests
2018-01-01 17:14:57 +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
0d7862e7f8
Merge pull request #363 from efiop/master
...
dvc: find dvc root
2017-12-28 14:05:03 +02:00
Ruslan Kuprieiev
232ae661a5
dvc: find dvc root
...
For now we were able to work only in root dvc directory.
This patch emulates git behaviour by walking up the tree
to find repository root.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-12-28 13:10:13 +02:00
Ruslan Kuprieiev
fbdb447d76
Merge pull request #362 from efiop/master
...
repro: don't forget to update stage files after reproduction
2017-12-27 06:29:11 +02:00
Ruslan Kuprieiev
6b1659798b
repro: don't forget to update stage files after reproduction
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-12-27 05:31:38 +02:00
Dmitry Petrov
4c6d823c34
Merge pull request #361 from dataversioncontrol/after_design_change_fixes
...
After design change fixes
2017-12-25 09:50:57 -08:00
Dmitry
b9219404c2
Tutorial branch update - intermediate version
2017-12-25 03:09:52 -08:00
Dmitry
b2de95ebb2
Bugfix: dvc repro - check if files exist before actions
2017-12-25 01:42:42 -08:00
Dmitry
8b433c609b
Func test fix
2017-12-25 01:28:30 -08:00
Dmitry
f6a3830de2
Func test fix: default stage file was changed
2017-12-25 00:22:34 -08:00
Dmitry
884087d68b
.gitignore file fix and getting rid of empty line
2017-12-25 00:16:02 -08:00
Dmitry
7a300131ce
Small bugfix: args_outs --> args_outs[0]
2017-12-24 23:31:54 -08:00
Dmitry
c760e53750
Duble space before class declaration
2017-12-24 23:29:07 -08:00
Dmitry
01a37388d8
Bugfix: dvc init
2017-12-24 23:28:11 -08:00