Dmitry
2a980f6e57
Fix func tests: get rid of python3 lazy evaluation
2017-11-27 00:33:40 -08:00
Dmitry
4b3827255d
Get rid of code duplication
2017-11-26 22:57:39 -08:00
Dmitry
86ad3cb360
It is okay if output file does not exist
2017-11-26 22:50:09 -08:00
Dmitry
b022fa62fe
Do not checkout files without cache_state
2017-11-26 22:47:47 -08:00
Dmitry
40660b5120
Refactoring: extract CommandFile class
2017-11-26 21:49:06 -08:00
Dmitry
50f736d9d9
dvc run: regular file output. Close #314
2017-11-26 21:40:55 -08:00
Dmitry
e5fe6b3732
Ignore .coverage file
2017-11-26 18:09:01 -08:00
Ruslan Kuprieiev
5d8d6d2f55
Merge pull request #307 from efiop/master
...
Func tests and RFC
2017-11-27 03:17:43 +02:00
Ruslan Kuprieiev
99965d2cee
functest: add partial repro test
...
Fixes #259
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-27 02:58:37 +02:00
Ruslan Kuprieiev
f035926891
functest: add simple gc test
...
Fixes #274
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-27 00:41:02 +02:00
Ruslan Kuprieiev
3ed37fd0f8
data: check that data is not in .dvc
...
Fixes #270
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-27 00:04:41 +02:00
Ruslan Kuprieiev
f1ae4ad56c
Merge pull request #306 from efiop/master
...
Major misc changes(Cmdfile, repro, run, local_state etc)
2017-11-26 20:27:43 +02:00
Ruslan Kuprieiev
32822d50bd
data_item: generalize state files
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 16:10:37 +02:00
Ruslan Kuprieiev
7c320bbff3
pull/push: generalize CmdDataBase class
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 16:10:37 +02:00
Ruslan Kuprieiev
d9e06c07b0
state: use yaml for everything
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 15:36:07 +02:00
Ruslan Kuprieiev
8b23a45a21
RFC: redo reproduce_deps
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 15:36:07 +02:00
Ruslan Kuprieiev
ad873497cd
RFC: redo repro's init
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:59:39 +02:00
Ruslan Kuprieiev
da1c834608
RFC: move is_repro_required into separate function
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:54:49 +02:00
Ruslan Kuprieiev
d706ad280c
merge: just throw exception when can't load *state file
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:47:48 +02:00
Ruslan Kuprieiev
84cbdd8566
Revert "Generalize CmdDataBase class"
...
This reverts commit e753d7fc79 .
It is totally broken.
2017-11-26 13:42:47 +02:00
Ruslan Kuprieiev
be159e7798
dvc: fix misc dvc stuff
...
Please don't merge pull requests that don't pass our checks.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:42:47 +02:00
Ruslan Kuprieiev
10c9449d32
travis: temporarily disable unittests
...
We're in the process of stabilizing dvc and for now fixing unittests
requires too much time that will be wasted next time big change comes,
so lets disable it for now. We will fix it and enable it when preparing
next release.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:42:47 +02:00
Ruslan Kuprieiev
0f4d0e8861
functest: fix tests
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:42:47 +02:00
Ruslan Kuprieiev
5acdfcde51
run: use REMAINDER for command
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:42:47 +02:00
Ruslan Kuprieiev
170a6e0d3e
merge: use command file
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:42:47 +02:00
Ruslan Kuprieiev
e70ebb1e3d
functest: use new 'dvc run' semantics in tutorial
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:42:47 +02:00
Ruslan Kuprieiev
7620e14c82
repro: state: rework state format and repro internals
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:42:46 +02:00
Ruslan Kuprieiev
3083604a9c
dvc: remove 'import' and replace it with 'add'
...
Allows us to unify state files and drop another level of
abstraction.
Fixes #304
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
c5648a33ec
merge: don't forget to checkout cache_state file
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
096c842063
repro: drop 'changed files'
...
No longer needed, as we check for md5 match anyway.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
195a2d80c8
data_item: drop cachedproperty on 'cache'
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
1fb81447f7
run: add cmdfile
...
Fixes #299
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
3016a8a8a8
use PARAM_MD5 from StateFile
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
a180be7d66
dvc: use md5 for all deps
...
Fixes #267
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
3a37dcfec3
RFC: reorginize imports
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
fe2005752b
state: add cache state
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Ruslan Kuprieiev
86ef0f7a12
state: add local_state
...
First two parameters are data and cache timestamps, that are saved
when dvc modifies them and are used to cheaply detect if something
has changed. These .local_state files are ignored by git.
Fixes #279
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2017-11-26 13:38:23 +02:00
Dmitry
172556ff03
Read target metric file, not state file
2017-11-26 03:20:38 -08:00
Dmitry Petrov
7d2c5b8c0c
Merge pull request #255 from gvyshnya/master
...
Added beautification to product documentation
2017-11-19 23:42:55 -08:00
George Vyshnya
407b462b58
!U: tweaked styles in style.css
...
- text "Make your data science ..." in the header now aligns with "Data Version Control" text.
2017-11-19 23:54:22 +02:00
Dmitry Petrov
2d77053dfe
Merge pull request #303 from dataversioncontrol/exec_in_branch
...
Exec in branch
2017-11-19 04:54:10 -08:00
Dmitry
d64390e9d0
Handle errors when switching branches
2017-11-19 04:53:14 -08:00
Dmitry
5bd7819a53
Exctract Traverse class to command.common
2017-11-19 04:26:58 -08:00
Dmitry
e753d7fc79
Generalize CmdDataBase class
2017-11-19 04:22:30 -08:00
Dmitry
db625e8213
Use DvcLock from CmdBase class only
2017-11-19 04:14:12 -08:00
Dmitry
47e72559f2
Extract small classes to files
2017-11-19 03:47:41 -08:00
Dmitry
1349589ec7
Move CmdBase class to common dir
2017-11-19 03:12:37 -08:00
Dmitry
847a5e2716
Add branch and new-branch options
2017-11-19 02:41:59 -08:00
Dmitry
f624110686
Error message if not args specified
2017-11-18 17:23:53 -08:00
Dmitry Petrov
c4d01aa595
Merge pull request #300 from dataversioncontrol/dvc_find
...
Dvc find
2017-11-16 01:18:15 -08:00