Ruslan Kuprieiev
f044a6090f
state: use sqlite
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-12 15:52:34 +03:00
Ruslan Kuprieiev
d37828c4e3
state: save collected dir to cache
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-02 20:41:35 +03:00
Ruslan Kuprieiev
0a049c232b
cache: configurable cache dir and cache type
...
From now on we allow specifying standalone cache dirs as well as
specifying linking method(copy, symlink, hardlink, reflink) for it.
If 'cache type' is not specified in the config, dvc will try all of
them starting from reflink all the way down to copy.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-04-28 21:50:49 +03:00
Ruslan Kuprieiev
e9acd5a321
test: add test for state reload consistency
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-03-18 12:45:50 +02:00
Ruslan Kuprieiev
2fe6091ffb
dvc: don't change mode of files
...
Since we can now detect cache corruption, we don't need
to force any permissions on our data files.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-03-14 12:48:16 +02:00
Ruslan Kuprieiev
b728d942c7
state: optimize state storage and computation
...
Reduces 'dvc add' time for 30K files from 25sec to 9sec.
Fixes #546
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-03-13 20:18:03 +02:00
Ruslan Kuprieiev
c9f4a4076c
test: state: sleep 1 sec to simulate realistic behavior
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-03-13 18:57:33 +02:00
Ruslan Kuprieiev
0cd0e6700f
cache: check of cache corruption
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-03-12 00:58:45 +02:00
Ruslan Kuprieiev
a3e023c340
state: don't forget to track inode
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-14 01:34:20 +02:00
Ruslan Kuprieiev
f47a2c7585
dvc: initial unittests
...
Initial unittests for new design.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-01 16:52:06 +02:00