Commit Graph
606 Commits
Author SHA1 Message Date
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
Dmitry 8d6c134780 Extract cache_dir\state_dir as a CongigI class variable 2017-11-13 00:38:44 -08:00
Dmitry 62e8b751ba Rename STATE_DIR to STATE_DIR_NAME 2017-11-12 22:41:46 -08:00
Dmitry 410a05c937 rm repro.py__ 2017-11-12 22:37:35 -08:00
Dmitry 9f21c6a51c dvc checkout witout git checkout. Close #292 2017-11-12 22:36:02 -08:00
George Vyshnya c3ec64a4ae !U: a number of minor codeclimate-reported issues fixed 2017-11-13 01:26:35 +02:00
George Vyshnya 4f4da0bfc4 !U: a number of minor codeclimate-reported css issues fixed 2017-11-13 01:23:32 +02:00
George Vyshnya 9b3d347767 !U: a number of minor codeclimate-reported css issues fixed 2017-11-13 01:11:31 +02:00
George Vyshnya 09cae71bc0 !U: fixed the number of issues below
- The header image color schema now matches the dvc site one (overlay div with shading effect added)
- The font in header title/subtitle now matches the on in the site ("Make your data science projects reproducible")
- Higher-resolution Logo image reused from https://dataversioncontrol.com/logo.png
- The header image does not have margins (indentations) as on the DVC site.
- a bunch of small codeclimat issues fixed
2017-11-13 01:05:26 +02:00
Dmitry Petrov 0cb7ec6179 Merge pull request #294 from dataversioncontrol/dvc_repro_after_merge
dvc-repro after dvc-merge
2017-11-07 00:25:19 -08:00
Dmitry 046d356137 dvc-repro after dvc-merge: Ignore state file changes for data sources. Close #266 2017-11-07 00:22:17 -08:00
Dmitry Petrov 098d98ac4a Merge pull request #289 from dataversioncontrol/empty_file
Get rid of the empty file
2017-11-05 23:18:18 -08:00
Dmitry 849dc2d873 get rid of the empty file 2017-11-05 18:18:51 -08:00
Dmitry Petrov bf44f53656 Merge pull request #288 from dataversioncontrol/dvc_checkout_fix
dvc checkout fix
2017-11-05 17:30:27 -08:00