Commit Graph
20 Commits
Author SHA1 Message Date
Dmitry f6a3830de2 Func test fix: default stage file was changed 2017-12-25 00:22:34 -08:00
Ruslan Kuprieiev a779424a36 WIP RFC
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-12-23 09:37:40 +02:00
Ruslan Kuprieiev 8186228043 repro: reproduce stages(Dvcfile by default)
Fixes #341

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-12-11 01:06:53 +02:00
Ruslan Kuprieiev 927d58cfad dvc: introduce stage files instead of state files
These describe single stage of pipeline and are allowed to
be placed anywhere in current or parent directories(up to
project's root) of the data file.

By default, 'dvc run' writes stage file to ./stage.dvc, but
it can be changed by using '-f' option(see functest/test-repro.py).

For now we're traversing project tree to find needed stage files for
specific data files. This is very wasteful and not optimal, but will
do for now, as this patch is aimed at stabilizing design of our repo
files.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-12-07 22:52:18 +02:00
Ruslan Kuprieiev e853fc76aa dvc: get rid of state dir and cache_state in favor of single .dvc
From now on everything is stored in filename + .dvc path, except for local_state.
This allows us to be more explicit and help users see everything they need in relation
to version control of their own data files.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-12-05 20:33:21 +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 0f4d0e8861 functest: fix tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-11-26 13:42:47 +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 c022aa89d5 functest: use small data to test basic functionality
Fixes #283

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-11-02 01:39:39 +02:00
Ruslan Kuprieiev 46b0f4eacc target: fix bugs
Fixes #215

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-09-17 14:47:26 +03:00
Ruslan Kuprieiev 9b5b4874ad tests: use python in repro test
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-09-13 21:17:28 +03:00
Ruslan Kuprieiev 0f45afb3a4 functest: rework test system and introduce new tests
Reworked existing tests and test-system, added a few new
tests(init, reworked repro, import).

Fixes #175

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-08-20 09:32:32 +03:00
Ruslan Kuprieiev e7bf8054da functest: fix existing scripts
A few minor adjustments to make what we currently have work,
while I prepare new func tests.

Fixes #175

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-08-20 04:53:13 +03:00
Dmitry Petrov ab80e3c4a7 Create dvc command and make it work. Close #20 2017-04-11 23:22:37 -07:00
Dmitry Petrov 1222d7d8b8 A single repository or all func tests 2017-03-26 15:18:25 -07:00
Dmitry Petrov ac31c7a352 Modify func tests 2017-03-26 15:13:09 -07:00
Dmitry Petrov 7342880de9 Change code 2017-03-26 15:04:22 -07:00
Dmitry Petrov 0030e81c40 Change code 2017-03-26 15:00:18 -07:00
Dmitry Petrov d22ff6289b Change code 2017-03-26 14:39:34 -07:00
Dmitry Petrov 9f0e4b51f2 Add functional tests 2017-03-20 01:30:53 -07:00