Commit Graph
2098 Commits
Author SHA1 Message Date
Mr. Outis 4d03f69a86 remote: Show progress bar when linking large dirs (#1309)
* remote: Show progress bar when linking large dirs

Close #1222

* Fix pycodestyle

* Use Logger.debug instead of local verbose argument

* Show the progress bar also during checkout
2018-11-10 23:56:50 +02:00
Ruslan Kuprieiev 31585c8d1a Merge pull request #1313 from efiop/master
run: warn if using fish shell
2018-11-10 21:38:09 +02:00
Ruslan Kuprieiev d41498bdea run: warn if using fish shell
Fixes #1307

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-11-10 20:39:28 +02:00
Ruslan Kuprieiev 46831ea00a dvc: bump to 0.20.2 0.20.2 2018-11-08 14:45:44 +02:00
Ruslan Kuprieiev 20517e44b8 test: save cache backup 2018-11-08 14:26:52 +02:00
Ruslan Kuprieiev 1922d1189d Merge pull request #1306 from mroutis/fix-1041
s3: Use default boto3 session
2018-11-08 12:06:00 +02:00
Mr. Outis 4ee615e5b4 Prefer using ENV_VARS before dvc config file 2018-11-07 19:11:18 -06:00
Mr. Outis c06eca5709 s3: Use default boto3 session
Fixes #1041
2018-11-07 18:19:53 -06:00
Ruslan Kuprieiev e6e72febf9 remote: use uuid for tmp name generation 2018-11-08 00:48:41 +02:00
Ruslan Kuprieiev 763839f6d0 state: debug travis 2018-11-08 00:33:02 +02:00
Ruslan Kuprieiev 6b50757aaa state: remove whitespace 2018-11-07 23:46:41 +02:00
Ruslan Kuprieiev d2bc79bec3 state: add debug message 2018-11-07 23:41:10 +02:00
Ruslan Kuprieiev 33d8506db7 state: add debug message 2018-11-07 23:25:41 +02:00
Ruslan Kuprieiev 683f2c9a57 tests: debug travis failure 2018-11-07 23:05:58 +02:00
Ruslan Kuprieiev d09de7e658 reqs: update google-cloud-storage 2018-11-07 22:46:22 +02:00
Ruslan Kuprieiev 181ed5e55c reqs: update google-cloud-storage 2018-11-07 22:46:01 +02:00
Ruslan Kuprieiev aa8b52908e test: sleep before checkout 2018-11-07 21:23:48 +02:00
Ruslan Kuprieiev 7e1b584479 system: add a better message if symlink failed 2018-11-07 21:21:45 +02:00
Ruslan Kuprieiev 3700fbf99d Merge pull request #1303 from ynop/gc-multi-project
gc: support used cache collection for several repositories using the same remote storage
2018-11-07 21:02:33 +02:00
Mr. Outis b6842fb089 updater: Add custom update message depending on package manager (#1287)
* updater: Add custom update message depending on package manager

Close #938
Close #1031

* Reduce cognitive complexity and avoid too many return functions

* Use a dictionary instead of if/else

* Take into account pkg installation with OSX

* updater: add platform detection

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-11-07 19:04:52 +02:00
Ruslan Kuprieiev 2afe950a27 Merge pull request #1302 from efiop/master
dvc: introduce `pipeline list` command
2018-11-07 19:04:30 +02:00
buec 19eeb62e6e cli: add gc option to include additional projects 2018-11-07 18:03:41 +01:00
Ruslan Kuprieiev abfb48e896 dvc: introduce pipeline list command
Fixes #1301

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-11-07 18:39:29 +02:00
buec 111c51f44b gc: add option to collect cache for multiple projects 2018-11-07 17:36:15 +01:00
Ruslan Kuprieiev f304d3548f Merge pull request #1299 from mroutis/add-installation-methods
readme: Add OS-specific installation instructions
2018-11-06 23:00:42 +02:00
Mr. Outis eef34b567b readme: Add OS-specific installation instructions 2018-11-06 14:44:33 -06:00
Ruslan Kuprieiev 49cadb68da test: don't forget to sleep() 0.20.1 2018-11-06 17:39:57 +02:00
Ruslan Kuprieiev 75d6c930ca dvc: bump to 0.20.1 2018-11-06 14:33:52 +02:00
Ruslan Kuprieiev 71ac9572bb Merge pull request #1297 from efiop/master
Remote fixes
2018-11-06 14:33:17 +02:00
Ruslan Kuprieiev 7720c35544 checkout: add --with-deps support
Fixes #1296

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-11-06 14:19:38 +02:00
Ruslan Kuprieiev f00d08d46d remote: properly collect dir cache
Fixes #1293

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-11-06 14:19:38 +02:00
Ruslan Kuprieiev 7398a174a8 azure: add gc support
Fixes #1232

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-11-06 14:19:38 +02:00
Paweł Redzyński 4aab443675 Add separate stream handler for error logging (#1292)
* Add separate stream handler for error logging

* test stdout and stderr

* review refactor, newline after test

* mock instead of unittest.mock

* use filter instead of lambda

* add result checks

* remove Logger pseudo-integration test, add direct test

* tests, refactor, StringIO intercepts stdout and stderr messages

* Check exact error message

Co-Authored-By: pared <[email protected]>

* Check exact non-error message

Co-Authored-By: pared <[email protected]>
2018-11-04 12:41:43 +02:00
Mr. Outis bdf4095297 updater: Add some colors and a frame to the update message (#1273)
Close #1032
2018-10-31 17:52:50 -06:00
Mr. Outis acae1b996f scm: Add dir property to Base class (#1281)
Close #1279
2018-10-30 19:32:08 -06: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
Mr. Outis 7ae97009fa cli: Move mutual exclusion of --quiet and --verbose to the parser level (#1271)
Close #1270
2018-10-28 22:14:59 -06:00
Mr. Outis 7865ddd128 remove: Add confirmation when trying to purge (#1269)
Close #1228
2018-10-28 21:14:32 -06:00
Ruslan Kuprieiev 838d597983 dvc: bump to 0.20.0 0.20.0 2018-10-27 10:32:35 +03:00
Ruslan Kuprieiev 0ee7d5a7f8 Merge pull request #1268 from efiop/master
dvc: introduce protected mode
2018-10-26 16:24:35 +03:00
Ruslan Kuprieiev 8966d6ce47 dvc: introduce protected mode
This is an opt-in mode, that will make data in the workspace
read-only, thus protecting cache from corruption when hardlinks or
symlinks are used. User can use `dvc unprotect file` command, to
replace read-only link to cache with an editable copy. We can use
this for now to decide if we want to go with a `unified workflow`
in the future or if we want to set unprotected `reflink,copy`
by default.

Fixes #799

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-10-26 16:07:11 +03:00
Ruslan Kuprieiev d27fe82053 Merge pull request #1267 from efiop/master
dvc: don't use $SHELL on windows
2018-10-26 14:31:38 +03:00
Ruslan Kuprieiev d108e9b03d dvc: don't use $SHELL on windows
Related to #1238

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-10-26 14:21:05 +03:00
Ruslan Kuprieiev b01245f007 cli: add a note about cwd 2018-10-24 12:53:04 +03:00
Ruslan Kuprieiev a9d21f19ab Merge pull request #1265 from efiop/master
stage: check that cwd is inside the current project
2018-10-24 12:44:42 +03: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
Ruslan Kuprieiev afcc51417c Merge pull request #1264 from mroutis/remove-deprecation-warning
logger: Remove deprecation warning reported by pytest
2018-10-24 11:09:33 +03:00
Mr. Outis 0d42ad0d1e Prevent E501 by splitting long lines 2018-10-24 00:43:42 -05:00
Mr. Outis 0ec77180d4 logger: Remove deprecation warning reported by pytest
dvc/logger.py:113: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
2018-10-24 00:17:58 -05:00
Ruslan Kuprieiev d5470419ce Merge pull request #1261 from suzil/cleanup/fix-readme-typo
dvc: Fix typo in README.rst
2018-10-23 17:14:59 +03:00