Commit Graph
536 Commits
Author SHA1 Message Date
Ruslan Kuprieiev afff00048b tests: utils: remove sleep()
No real need to sleep that much in the unit test, as it
really slows down everything.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev 664ec5dfa4 tests: remove gc unit test
After moving to md5 for cache files, gc logic became very straightforward,
and this unit test became irrelevant. We still have functional test for gc
though, so it is not like we're leaving gc untested. Probably worth it to
write simple unit test for it later.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev 72b691b7f1 dvc: add 'dvc checkout'
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev 90641c755a functest: fix merge test
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev bdea4ba2f0 dvc: fix 'dvc merge' command
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev fb377b8506 dvc: add 'dvc checkout'
Fixes #225

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev 9ae4c289eb functest: fix test-init
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev 1d109b41a1 dvc: fix gc
Fixes #271

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev 4ffac507df dvc: remove data dir
From now on, we're no longer tied to fixed data dir, so we can
track individual data items without forcing user to use separate
dir for them. This way we add much more flexibility for dvc, so
users can use their own project structure.

Fixes #68

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Ruslan Kuprieiev a813ebaeb7 dvc: use hardlinks instead of symlinks
Fixes #225
Fixes #273

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02:00
Dmitry 1ef90c882e Repro error with the new md5 logic 2017-10-21 00:32:09 -07:00
Ruslan Kuprieiev 089a526373 Merge pull request #264 from efiop/master
Misc fixes and improvements
2017-10-21 02:56:23 +03:00
Ruslan Kuprieiev 9941a3f92c state: capture exception if unable to parse target metrics
Fixes #265

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-21 01:19:06 +03:00
Ruslan Kuprieiev 561cca120d test: add test for 'dvc merge'
Basic test for 'dvc merge' functionality. We just create two branches,
do some dummy work on big data set, then branch and do some changes on
small data set and then merge second branch into first, calling 'dvc merge'
afterwards to restore big data back.

Fixes #262

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-21 00:04:39 +03:00
Ruslan Kuprieiev 2cf060ca5f merge: checkout state files
Fixes #263
Fixes #260

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-21 00:04:39 +03:00
Ruslan Kuprieiev c6029d1421 repro: use state to obtain data item history
Fixes #258

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-21 00:04:39 +03:00
Ruslan Kuprieiev ef01dd9893 Merge pull request #253 from efiop/246
dvc: add 'merge' command
2017-10-18 15:56:38 +03:00
Ruslan Kuprieiev 6d03d9998b Merge pull request #252 from efiop/checksum
Use md5 checksum instead of commit-ids for cache files
2017-10-17 16:31:45 +03:00
Ruslan Kuprieiev 51cce677ce dvc: add 'merge' command
Fixes #246

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-17 16:15:15 +03:00
Ruslan Kuprieiev db12448a6e tests: fix cache tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-17 14:06:43 +03:00
Ruslan Kuprieiev 8bb51f5efc cache: use checksums instead of commit_id
From now on, we identify our cache files by their md5sum,
so that we can avoid cache collission in branching scenario
and also dedup same data at the same time.

Fixes #250, #251

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-17 14:06:43 +03:00
Dmitry b0e1d3374f Two branches scenario 2017-10-13 01:27:10 -07:00
Dmitry 898c4be0e2 Code improvements 2017-10-09 17:10:59 -07:00
Dmitry 4e98ce38bf Doc polishing: iteration 4, formatting commands list 2017-10-09 04:04:43 -07:00
Dmitry 276e910ba8 config command changes format of empty values. Clouse #245 2017-10-07 18:50:16 -07:00
Dmitry a2ed53b615 Doc polishing: iteration 3, commands 2017-10-07 18:34:35 -07:00
Dmitry 9dac0c136f Doc polishing: iteration 2, intro and cloud config 2017-10-07 18:02:00 -07:00
Dmitry 133d16bc6e Doc polishing: iteration 1 2017-10-06 01:41:45 -07:00
Dmitry 20217457eb EOL 2017-10-05 22:05:10 -07:00
Dmitry 8e640e4683 Build docs in unix 2017-10-05 22:04:56 -07:00
Dmitry 46aaeb525a Status file merge issues. Close #243 2017-10-05 22:02:20 -07:00
Ruslan Kuprieiev b17e7448b9 Merge pull request #242 from efiop/master
Misc cli bug fixes
2017-10-01 04:29:21 +03:00
Ruslan Kuprieiev 7ee58220ea dvc: deprecate 'sync' command
Fixes #237

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-01 04:03:14 +03:00
Ruslan Kuprieiev 22fa9d50f1 python3: cli: add workaround for required subcommand
http://bugs.python.org/issue9253#msg186387

Fixes #239

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-01 04:03:14 +03:00
Dmitry Petrov d15b17125b Merge pull request #236 from gvyshnya/master
Added the initial version of DVC product documentation
2017-09-28 22:06:00 -07:00
George Vyshnya a9f1ca37e9 !U: fixed form-related styles in style.css
- fixed vertical alignment attribute as suggested by codeclimate
2017-09-28 19:26:09 +03:00
George Vyshnya 6067d12325 !U: removed doc.html
- this is an auto-generated asset thus it is not needed in the repo
2017-09-28 19:18:52 +03:00
George Vyshnya 056d29e828 !U: updated styles in style.css
- eliminated overqualified style class definitions as suggested by codeclimate-based code review
2017-09-28 19:17:48 +03:00
George Vyshnya 9055a23601 !U: updated style definitions in style.css
- eliminated overqualified style definitions as suggested by the automated code review from codeclimate
2017-09-28 19:16:49 +03:00
George Vyshnya bda96c314d !U: updated style definitions in style.css
- got rid of '!important' instruction across the entire stylesheet file, per the suggestion of codeclient-based code review
2017-09-28 19:14:09 +03:00
George Vyshnya 03ee5981c0 !U: optimized style definitions in style.css
- fixed a number of issues as suggested by the automated code review by codeclimate service/engine
2017-09-28 19:11:01 +03:00
George Vyshnya 11027f3b94 !U: eliminated use of prettify
- replaced prettify capabilities with some custom styles in style.css to avoid bad score of prettify pieces of code with codeclimate engine
2017-09-28 18:59:59 +03:00
George Vyshnya 056bc60a79 !U: updated cmd.bat
- added the empty line at the end of the file
2017-09-28 18:51:23 +03:00
George Vyshnya 2744bca634 !U - deleted doc.html
- as discussed with Dmitry P.
2017-09-28 18:50:31 +03:00
George Vyshnya c87ea669ce I!: added the initial version of DVC product documentation
The documentation pack comprises the elements below
- doc.rst - the source file with DVC product documentation in the format of RST text markup
- doc.html - the final HTML form of the documentation (ready to redistribute or publish on the site)
- cmd.bat - the command file that uses pandoc to convert doc.rst -> doc.html
- header.html - the HTML file with the code fragment to insert into HEADER tag of doc.html
- footer.html - the HTML file with the code fragment to insert into doc.html after the output produced by pandoc and before </body> tag
- top.html - the HTML file with the code fragment to insert into doc.html just after <body> tag, before the output generated by pandoc
- files in auxiliary folders (js, css, imaged) are used to create the appropriate look and feel of doc.html (they shall be redistributed along with doc.html)
-- Note: css/style.css is the place to edit major styles for DVC product documentation
-
2017-09-28 05:13:42 +03:00
Ruslan Kuprieiev 2929e91bd4 Merge pull request #234 from efiop/master
Revert "run: save target commit in state files"
2017-09-26 18:34:08 +03:00
Ruslan Kuprieiev d269461854 Revert "run: save target commit in state files"
This reverts commit 3ec49f56ef.

Didn't solve the issue, need to research a bit more.
2017-09-25 17:34:42 +03:00
Dmitry 4bece652d1 Typo in comment 2017-09-25 00:45:58 -07:00
Ruslan Kuprieiev dfb5250914 Merge pull request #231 from efiop/master
Misc logging and exceptions
2017-09-24 20:39:43 +03:00
Ruslan Kuprieiev 3424ee142f main: print exception only in verbose mode
Fixes #230

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-09-24 20:00:18 +03:00