Commit Graph
12 Commits
Author SHA1 Message Date
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 b5623a32bd cli: fix help, 'run', 'repro' and 'sync'
Adding metavar='' is a legacy from previous design and should
be removed to achieve better help msgs.

'run' should have 'command' as a positional and _required_ argument and 'args'
as a remainder.

'repro' had CmdRun triggered when called from cli.

'sync' should have 'targets' as a positional and _required_ argument.

Fixes #136.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-08-03 04:55:07 +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 22088a4d38 Include implicit code dependencies from argv. Close #46 2017-04-27 00:42:38 -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 741ad5435a Windows symlink: rewrite unit test for windows 2017-04-09 14:22:17 -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 c3c2116220 Close #1 - repro cmd and close #2 repro unit tese 2017-04-05 20:41:35 -07:00
Dmitry Petrov dccc15c0d6 Repro cmd first unttest 2017-04-03 03:56:08 -07:00
Dmitry Petrov 84de06ca0a Unittest for run cmd 2017-04-02 22:29:59 -07:00