Commit Graph
9 Commits
Author SHA1 Message Date
Ruslan Kuprieiev 88397ef430 dvc: use Remote concept in existing code
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-06-04 22:28:14 +03:00
Ruslan Kuprieiev c819ac9292 dvc: add cache dir to gitignore only if it is not external
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-05-21 17:00:37 +03:00
Ruslan Kuprieiev c7fec74516 dvc: store list of links to cleanup later
Fixes #685

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-05-13 21:02:54 +03:00
Ruslan Kuprieiev 21fc712edf cache: remove unused code
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-04-28 21:50:49 +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 8db50b88e2 test: add test for bad dir cache files
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-03-14 20:11:37 +02:00
Ruslan Kuprieiev 539ac41b70 dvc: use two-level hash for cache
Fixes #488

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-03-02 02:51:20 +02:00
Ruslan Kuprieiev 64a1666d78 test: add test for Cache.find_cache()
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-06 18:45:01 +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