Commit Graph
36 Commits
Author SHA1 Message Date
Ruslan Kuprieiev ba8d83e9b1 dvc: refactor dvc project class
1) split Project's methods into separate files;
2) rename Project into Repo(similar to gitpython's Repo)

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-13 03:31:23 +02:00
Ruslan Kuprieiev 4896f08ddf dvc: comply with both flake8 and black
flake8 provides some additional features like unused vars check, etc, so
it makes total sense to use it as well.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-04 00:10:36 +02:00
Ruslan Kuprieiev 1cc2e0edcb tests: don't forget to import GitCommandNotFound
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-03 23:56:43 +02:00
Ruslan Kuprieiev 611ab96fd1 tests: fix formatting
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-03 21:07:44 +02:00
Ruslan Kuprieiev eaca7dc80c travis: osx: handle EAGAIN error
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-02-03 15:52:21 +02:00
Ruslan Kuprieiev 4069e34130 dvc: use black instead of flake8
Fixes #1546

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-01-30 03:48:36 +02:00
pared 62967759d3 test: change test base bar content 2019-01-14 19:10:39 +01:00
Mr. Outis 4c420d5f4d logger [rfc]: Use a module instead of a class
- Remove deprecation warnings
- Format error output and remove duplicated info

Close #1086
2018-12-23 21:06:39 -06: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 31fed211f6 test: use suffixes and prefixes in tmpdir names
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-10-14 00:37:02 +03:00
Jeep Kiddee bbd5096de7 scm: support git submodule
Fixes #1093
2018-09-21 02:17:28 +07:00
Ruslan Kuprieiev 0b29f8748f test: use contents without \n
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-06-24 18:21:20 +03:00
Ruslan Kuprieiev 71752f68a8 hdfs: fix drivers and tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-06-24 17:23:47 +03:00
Ruslan Kuprieiev 54a6532360 cache: create cache dirs only when needed
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-03-08 19:45:58 +02:00
Ruslan Kuprieiev a58f3b8184 test: enable gcp tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-15 20:47:45 +02:00
Ruslan Kuprieiev d54f803eb6 system: remove unused code
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-02-14 18:22:33 +02:00
Ruslan Kuprieiev e4d9755a7e dvc: cloud RFC add support for directories
Fixes #367

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-22 03:19:29 +02:00
Ruslan Kuprieiev 9c10a643a7 win: enable unit tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-01-02 13:03:06 +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
Dmitry 62e8b751ba Rename STATE_DIR to STATE_DIR_NAME 2017-11-12 22:41:46 -08:00
Ruslan Kuprieiev 52b47a25b4 test: fix unit tests
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-10-30 05:05:28 +02: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 68186b08fc dvc: move config/cache/state/target to .dvc
This is a more natural way to store dvc-related files and dirs
and follows git-logic much better.

Fixes #200

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-09-16 16:48:46 +03:00
Ruslan Kuprieiev ee34fdfa31 RFC: move cmdline parsing to cli.py and settings RFC
This will make the structure of dvc more linear
making it easier to read. Plus, these changes
are needed in preparation for libdvc, as they
move all cmdline parsing to one common place.

This patch also refactors our settings system
also make it more linear and remove abstraction
levels that are not needed and only cause confusion.
There is a lot more to be done in preparation for
dvc lib and RFC overall, but this a first step
in that long journey.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-07-31 01:39:32 +03:00
Dmitry Petrov e69b873357 Fix CmdRemove tests 2017-04-24 16:24:45 -07:00
Dmitry Petrov 4578b6aeb4 Windows symlink: extract all system depended code to System static class 2017-04-10 21:04:40 -07:00
Dmitry Petrov f539fa8c60 Windows symlink: wrap tempfile.mkdtemp() to long path func 2017-04-10 12:20:06 -07:00
Dmitry Petrov 7a12395cd1 Existing data file cache path fix; Executor shell fix. 2017-04-09 01:06:27 -07:00
Dmitry Petrov b706f60959 Windows symlink: exec cmd as shell option; small os.path.join() test fix 2017-04-08 17:57:16 -07:00
Dmitry Petrov 4ce1e43041 Revert "Windows symlink: extract rmfile() to utils"
This reverts commit 9b52063279.
2017-04-08 17:44:03 -07:00
Dmitry Petrov 9b52063279 Windows symlink: extract rmfile() to utils 2017-04-08 17:14:44 -07:00
Dmitry Petrov f42e4840e8 Windows symlink: rmtree() and small fixes 2017-04-07 21:26:39 -07:00
Dmitry Petrov 5f3c53603f Refactoring: extract Settings from BaseCmd; move path_factory to Settings 2017-04-05 23:08:40 -07:00
Dmitry Petrov 7990422eb4 Data item class renaming 2017-03-25 21:19:01 -07:00
Dmitry Petrov eaff7102bc Data item file renaming 2017-03-25 20:26:26 -07:00
Dmitry Petrov c011bafe80 Remove cmd refactoring and unit tests 2017-03-25 17:22:12 -07:00