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
Dmitry
1987693f34
Refactoring: extract method stage_file_basename()
2017-12-24 22:40:08 -08:00
Dmitry
4a1363de76
Refactoring: use lambda in untracked_hardlinks_files()
2017-12-24 22:22:15 -08:00
Dmitry
68ba2c34df
Duble space before class declaration
2017-12-24 22:09:04 -08:00
Dmitry
d29c94f001
dvc checkout: remove untracked files
2017-12-24 22:08:44 -08:00
Dmitry
3473dc6ed5
Bugfix: not ignoring data files
2017-12-24 21:13:06 -08:00
Dmitry
863e0e4b14
Use output filename as a default stage file name but do not change dir
2017-12-24 18:31:15 -08:00
Ruslan Kuprieiev
33ccb61d45
Merge pull request #356 from efiop/master
...
Internal and external design changes
2017-12-23 10:00:47 +02:00
Ruslan Kuprieiev
a779424a36
WIP RFC
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-12-23 09:37:40 +02:00
Ruslan Kuprieiev
214e30e15c
travis: use group to specify previous image
...
Travis recently updated trusty image which broke our builds, this commit fixes that by manually specifying older image group.
2017-12-20 04:56:35 +02:00