Ruslan Kuprieiev
baa14f23f3
Merge pull request #1413 from mroutis/fix-1365
...
logger: Prevent adding multiple handlers
2018-12-05 07:38:57 +02:00
Mr. Outis
b3b2c97f4b
logger: Prevent adding multiple handlers
...
Fix #1365
2018-12-04 22:33:06 -06:00
Ruslan Kuprieiev
de76db6f02
dvc: catch cached stages
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-05 05:47:44 +02:00
Ruslan Kuprieiev
0b01432e6c
tests: fix overwrite test on mac os
2018-12-05 05:36:41 +02:00
Ruslan Kuprieiev
9f4dd2db68
Merge pull request #1400 from vernt/deterministic
...
Add dvc run --deterministic option.
2018-12-04 12:39:11 +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
8ad317e906
remote: properly check status for remote outputs
...
Fix #1402
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-04 04:33:22 +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
f04ae2f74f
dvc: optimize imports
...
Fixes #903
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-02 04:54:41 +02:00
Ruslan Kuprieiev
ff40e1a016
analytics: collect cmd early
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-01 23:33:17 +02:00
Ruslan Kuprieiev
22c6ad5ba3
analytics: send user events
...
Fixes #693
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-01 06:02:28 +02:00
Ruslan Kuprieiev
c02fe1313f
config: support 'global' and 'system' configs
...
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-01 02:31:14 +02:00
Ruslan Kuprieiev
75ab3074a1
dvc: dynamically load default cloud
...
Fixes #1390
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-12-01 01:45:18 +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
Ruslan Kuprieiev
98b043310d
stage: properly handle dvc file md5
...
Fixes #1380
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-30 09:21:03 +02:00
Ruslan Kuprieiev
eebfa95c88
dvc: don't report locked callback stages as changed
...
Fixes #1381
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-30 06:54:38 +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
44e67d4cdc
progress: Respect the --quiet option ( #1377 )
...
* progress: Respect the --quiet option
Fix #1308
* Use a dynamic import to prevent circular dependency
* test: add test for quiet mode
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-29 08:10:43 +02:00
Mr. Outis
38d666d77d
import: Output as on optional argument ( #1351 ) ( #1378 )
...
* import: Output as on optional argument
Close #1335
* Use tempfile to prevent circular dependencies
2018-11-28 23:35:37 +02:00
Mr. Outis
c6b8be8f8a
import: Output as on optional argument ( #1351 )
...
* import: Output as on optional argument
Close #1335
* Use tempfile to prevent circular dependencies
2018-11-28 20:00:58 +02:00
Paweł Redzyński
79c5cc0e85
fix and test outdate check ( #1368 )
...
* fix and test outdate check
* split test cases
2018-11-27 09:15:36 +02:00
Mr. Outis
6d54a114ae
local: Don't prompt at removal if file is already cached ( #1367 )
...
* local: Don't prompt at removal if file is already cached
Fix #1366
* [fix] Do `remove` at `save_remove`
* Use `state.update` to compute checksum instead of `save_info`
* PEP8 compilant
2018-11-26 21:25:54 +02:00
Mr. Outis
1e3d752917
remote: HTTP implemented (support only for downloading) ( #1350 )
...
* remote: HTTP implemented (support only for downloading)
* Remove duplicated content in the schema
* Chomp trailing spaces in test_remote
* remote http: Implement pull/fetch
* add some tests
* Update dvc/remote/http.py
Co-Authored-By: mroutis <[email protected] >
* Update dvc/remote/http.py
Co-Authored-By: mroutis <[email protected] >
* correct test
* rehprase error message
* add __init__ for utils
* try to fix windows test
2018-11-24 21:22:05 +02:00
Ruslan Kuprieiev
119579af0f
test: add additional checks
2018-11-18 20:22:36 +02:00
Mr. Outis
2906a31b66
tests: dvc checkout --force
2018-11-17 19:47:50 -06:00
Mr. Outis
d406361bd3
checkout: Prompt when deleting files from working dir
...
Close #1328
2018-11-17 19:36:47 -06:00
Ruslan Kuprieiev
5d29a1b7d0
dvc: properly build DAG for dependency directories
...
Fixes #1338
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-17 20:41:17 +02:00
Ruslan Kuprieiev
43c775fc6f
tests: define DVC_TEST env variable
2018-11-17 03:16:36 +02:00
Ruslan Kuprieiev
c62b1a1c88
test: debug checkout test
2018-11-15 13:55:48 +02:00
Ruslan Kuprieiev
ebed534c7a
Merge pull request #1327 from mroutis/fix-1326
...
checkout: Clean working directory changes of tracked dir
2018-11-14 19:28:27 +02:00
Mr. Outis
b4588671a0
Add a test for it
2018-11-14 11:03:53 -06:00
Ruslan Kuprieiev
8106d6bf09
test: debug test_checkout
2018-11-14 15:03:40 +02:00
Ruslan Kuprieiev
6de91c0b28
gitignore: use unambiguous paths
...
Fixes #1324
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-14 14:43:00 +02:00
Mr. Outis
fc7545b6cf
checkout: Remove selectively on directory files when changed ( #1320 )
...
Fix : #1220
2018-11-13 13:30:19 -06:00
Ruslan Kuprieiev
fb65bb3967
state: add workaround for VACUUM bug on python 3.6 ( #1315 )
...
Fixes #1314
Signed-off-by: Ruslan Kuprieiev <[email protected] >
2018-11-11 23:11:30 +02:00
Ruslan Kuprieiev
20517e44b8
test: save cache backup
2018-11-08 14:26:52 +02:00
Ruslan Kuprieiev
683f2c9a57
tests: debug travis failure
2018-11-07 23:05:58 +02:00
Ruslan Kuprieiev
aa8b52908e
test: sleep before checkout
2018-11-07 21:23:48 +02:00