Ruslan Kuprieiev
6fec8b16cd
RFC: conform to pylint
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2019-01-16 14:12:19 +02:00
Ruslan Kuprieiev
d5dd0fd804
test: don't use sleep
...
Since we now use file size to help detect file changes on filesystems
with bad mtime resolution, we no longer need these explicit sleep()
calls in our tests for mac os.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-17 12:42:35 +02:00
Ruslan Kuprieiev
a67988a80e
test: enable flake8 checks for tests
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-06 06:40:55 +02:00
Ruslan Kuprieiev
fb65bb3967
state: add workaround for VACUUM bug on python 3.6 ( #1315 )
...
Fixes #1314
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-11 23:11:30 +02:00
Ruslan Kuprieiev
0043bd5de3
state: limit number of rows
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-18 03:40:41 +03:00
Ruslan Kuprieiev
59dcdb02ea
state: optimize operations
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-17 10:47:16 +03:00
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