Commit Graph
9569 Commits
Author SHA1 Message Date
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
Dmitry 5e38fa7078 Renaming: dvc find 2017-11-16 01:16:20 -08:00
Dmitry 86a933ea71 dvc find command 2017-11-16 01:11:07 -08:00
Dmitry Petrov 76a6757fa1 Merge pull request #297 from dataversioncontrol/dvc_checkout_witout_git_checkout
Include dvc commit to the tutorial
2017-11-14 09:19:34 -08:00
Dmitry 6955d56ca1 Include dvc commit to the tutorial 2017-11-14 09:16:53 -08:00
Dmitry Petrov fabae6d1ce Merge pull request #295 from dataversioncontrol/dvc_checkout_witout_git_checkout
Dvc checkout without git checkout and STATE_DIR refactoring
2017-11-13 02:23:46 -08:00
Dmitry b4bf6ffbd7 No commit history issue 2017-11-13 01:51:48 -08:00
Dmitry 524901d4ad Bug fixing 2017-11-13 00:51:54 -08:00