1086 Commits
Author SHA1 Message Date
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 1ed42237c1 dvc: bump to 0.22.0 2018-12-05 03:18:46 +02:00
Ruslan Kuprieiev 5452605eac gs: don't return md5 in bytes format 2018-12-05 02:44:59 +02:00
Ruslan Kuprieiev 30991d98bc gs: fix encoding issue on py3 2018-12-05 02:21:12 +02:00
Ruslan Kuprieiev 0674f5d37a gs: use md5_hash instead of etag for external deps/outs
Fixes #1409
Related #1402

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-05 01:20:49 +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 ee16d2f1d7 system: fix typo
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-04 12:00:01 +02:00
Ruslan Kuprieiev 2da24b38a7 windows: don't follow symlink
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-04 11:49:58 +02:00
Ruslan Kuprieiev 2d9ec1005b unprotect: only process symlinks and hardlinks
Fixes #1373

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-04 10:57:53 +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 f35cf3cf99 cli: fix typo in dvc run description
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-04 07:20:17 +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 7434a5fde9 cli: remove unneeded parentheses
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-03 01:38:54 +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 40724bffd6 stage: fix spacing 2018-12-02 18:10:03 +02:00
Ruslan Kuprieiev a2b2958237 stage: fix spacing 2018-12-02 18:09:34 +02:00
Ruslan Kuprieiev 8dbb674c3c project: run: don't forget to import Stage 2018-12-02 18:08:52 +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 5a16095ead analytics: decrease timeout 2018-12-02 02:58:54 +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 a0ba0ef19a dvc: bump to 0.21.3 2018-12-01 01:48:35 +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
Ruslan Kuprieiev 4fdd869d91 lock: fix error msg 2018-11-30 06:49:20 +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
Ruslan Kuprieiev 93cd9ced90 dvc: bump to 0.21.2 2018-11-28 23:39:21 +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
Ruslan Kuprieiev 720fda0772 dvc: bump to 0.21.1 2018-11-27 09:42:49 +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
Ruslan Kuprieiev eac86b5b4f dvc: bump to ,0.21.0 2018-11-26 22:02:34 +02:00
Ruslan Kuprieiev 8967d82cce dvc: bump to 0.20.9 2018-11-26 21:45:18 +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 f3f5837e20 Merge pull request #1352 from mroutis/fix-1316
metrics add: Raise exception when path does not exist
2018-11-24 20:08:19 +02:00
Mr. Outis 43e7fec5d3 skip verification if file doesn not exist 2018-11-24 11:57:19 -06:00
Ruslan Kuprieiev 03c111f5d5 dvc: bump to 0.20.8 2018-11-24 13:53:02 +02:00