Mr. Outis
9971f7a624
run: Prevent argument duplication with deps/outs
...
Fix #1255
Fix #1168
Close #1259
RFC:
- Add / fix docstrings and privatize methods
- Add `__repr__` method for core objects
- Change the name of methods to make them more readable
2018-12-11 14:54:45 -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
0b01432e6c
tests: fix overwrite test on mac os
2018-12-05 05:36:41 +02:00
Ruslan Kuprieiev
4230b8180b
test: use System.is_{sym,hard}link
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-04 11:21:51 +02:00
Ruslan Kuprieiev
a7c177d757
run: unprotect outs by default
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-04 09:50:30 +02:00
Ruslan Kuprieiev
83ee6e46e0
run: introduce --remove-outs option
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-04 09:15:23 +02:00
Ruslan Kuprieiev
ac82426788
run: introduce --overwrite-dvcfile and --ignore-build-cache
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-04 07:17:16 +02:00
Ruslan Kuprieiev
e81c6f2b34
run: introduce --force option
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-03 05:13:54 +02:00
Ruslan Kuprieiev
298ae356cd
run: make --deterministic default
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-03 04:50:48 +02:00
Ruslan Kuprieiev
ae5ac21bf8
run: deterministic: copare the whole dicts
...
We should check command, as well as any other fields. E.g. `locked`.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-03 01:29:29 +02:00
Ruslan Kuprieiev
1211abf35c
test: add a proper test for dvc run --deterministic
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-02 22:55:33 +02:00
Ruslan Kuprieiev
1878c41c80
test: use quote instead of shlex.quote
2018-12-02 19:55:22 +02:00
Ruslan Kuprieiev
e1f44158c8
test: use pipes.quote on py2
2018-12-02 19:45:43 +02:00
Ruslan Kuprieiev
6d4240dd8a
test: fix shlex import
2018-12-02 18:58:32 +02:00
Ruslan Kuprieiev
e75a2f7dde
test: don't forget to import shlex
2018-12-02 18:44:01 +02:00
username
b3a6d70d91
[WIP] Add dvc run --deterministic option.
...
Tests currently failing.
2018-12-02 00:35:20 -08:00
Ruslan Kuprieiev
fe32002a7f
dvc: handle KeyboardInterrupt
...
Fixes #1389
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-02 07:58:16 +02:00
Ruslan Kuprieiev
ff577d7a87
run: use quotes to wrap arguments with spaces in them
...
Fixes #1372
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-30 10:11:49 +02:00
Mr. Outis
22d38cda9f
run: Check CWD specified as output in any stage ( #1375 )
...
* run: Check CWD specified as output in any stage
Fix #1123
* Fix some typo
Co-Authored-By: mroutis <[email protected] >
* normalize paths and make stage an obligatory argument
* Pass stages() to _check_output_duplication
* Update dvc/project.py
Co-Authored-By: mroutis <[email protected] >
2018-11-29 21:03:10 +02:00
Mr. Outis
c4295fa05c
run: Add abspath to circular dependency check and include outs_no_cache ( #1272 )
...
Close #1235
2018-10-29 11:44:48 -06:00
Ruslan Kuprieiev
ed93e0d0d9
stage: check that cwd is inside the current project
...
Fixes #1253
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-10-24 12:26:28 +03:00
Mr. Outis
239313d67e
run: Check for circular dependencies
...
Close #1235
2018-10-22 17:29:55 -05:00
Ruslan Kuprieiev
571713484b
run: check that -f doesn't contain any subdirs
...
Fixes #1110
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-18 07:46:28 +03:00
Ruslan Kuprieiev
537e7c75a0
stage: check that deps exist before running the command
...
Fixes #1101
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-09-09 22:59:19 +03:00
Ruslan Kuprieiev
fa89ec8789
dvc: check stage filename
...
Fixes #1054
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-08-24 18:45:56 +03:00
Ruslan Kuprieiev
ce5a46d032
test: test output duplication
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-08-14 02:33:25 +03:00
Ruslan Kuprieiev
f5bb3e4501
tests: use shallow=False with filecmp.cmp()
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-08-05 00:52:29 +03:00
Ruslan Kuprieiev
f1a28c3812
dvc: support dvc add for external files
...
Fixes #890
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-07-16 16:34:16 +03:00
Ruslan Kuprieiev
c733b8130b
dvc: add dvc metrics add/show/remove and dvc run -M|--metrics-no-cache
...
Fixes #656
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-06-16 16:01:32 +03:00
Ruslan Kuprieiev
a130a25e39
dvc: refactor data_cloud
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-15 21:11:25 +02:00
Ruslan Kuprieiev
6a6c11ffdb
dvc: remove lock
...
As discussed with @dmpetrov, we don't really see a good usage scenario
for this and thus removing it from dvc.
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-13 01:54:20 +02:00
Ruslan Kuprieiev
487eae3f07
test: improve test coverage
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-10 17:15:42 +02:00
Ruslan Kuprieiev
e4b9718f34
run: add --no-exec option
...
Fixes #385
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-08 13:19:42 +02:00
Ruslan Kuprieiev
14181ede5f
dvc: remove -D option
...
Fixes #370
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-01-04 13:34:31 +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