Commit Graph
26 Commits
Author SHA1 Message Date
Dmitry 0e9402d284 State file constructor param change 2017-09-18 01:50:43 -07:00
Dmitry d77ea9877e First workflow graph 2017-09-02 01:27:39 -07: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 97088d98b1 Target cmd. First commit. 2017-07-25 02:29:49 -07:00
Dmitry Petrov 43e80bec4a Extract DvcLock logic to a separate class 2017-05-15 19:44:56 -07:00
Dmitry Petrov f6ded2fa72 Lock cmd: small changes 2017-04-29 18:01:24 -07:00
Dmitry Petrov 223380d299 New command: lock 2017-04-29 15:12:31 -07:00
Dmitry Petrov 22088a4d38 Include implicit code dependencies from argv. Close #46 2017-04-27 00:42:38 -07:00
Dmitry Petrov db17e2d9a4 Circular dependency. Close #47 2017-04-26 20:05:32 -07:00
Dmitry Petrov b5dd8c1d71 Fix repro command. Close #31 2017-04-19 03:07:04 -07:00
Dmitry Petrov 378b56a303 Add --no-locker param 2017-04-18 09:08:40 -07:00
Dmitry Petrov 376f139f81 Windows symlink: replace echo to python code and fix --shell command line propagation 2017-04-10 12:47:03 -07:00
Dmitry Petrov 741ad5435a Windows symlink: rewrite unit test for windows 2017-04-09 14:22:17 -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 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 84218deccb Finalize ReproCodeDependencyTest 2017-04-03 15:02:49 -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
Dmitry Petrov 73039f00f2 Run cmd refactoring 2017-04-02 19:35:15 -07:00
Dmitry Petrov 0525caf229 Propagate sumbit_id_needed() to all commands 2017-03-26 17:43:27 -07:00
Dmitry Petrov 333ca7c0e5 Git wrapper refactoring 2017-03-25 23:16:49 -07:00
Dmitry Petrov d4e8a6898d Extract commands to a separate module: remove cmd_ prefix in imports 2017-03-25 21:41:35 -07:00
Dmitry Petrov a536424141 Extract commands to a separate module: remove cmd_ file prefix 2017-03-25 21:40:58 -07:00