Commit Graph
3141 Commits
Author SHA1 Message Date
Ivan Shcheklein 6f05e7747f logger: use custom handler to propagare logging exceptions 2019-06-23 13:59:11 -07:00
Ivan Shcheklein c0a06d2ceb pipeline show command: ignore stage if command is not defined 2019-06-23 13:58:42 -07:00
Ruslan Kuprieiev 2a4d6229b1 Merge pull request #2173 from efiop/master
dvc: use remove() instead of shutil.rmtree()
2019-06-23 18:21:49 +03:00
Ruslan Kuprieiev 9bca1c9bff dvc: use remove() instead of shutil.rmtree()
Our `remove()` is able to handle read-only files which we or git
sometimes leave behind.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-23 18:11:30 +03:00
Ruslan Kuprieiev 5b01804706 Merge pull request #2167 from efiop/appveyor-py2
appveyor: test py2 and py3
2019-06-23 13:51:59 +03:00
Ruslan Kuprieiev 918ef646dc appveyor: test py2 and py3
Related to #2166

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-23 13:33:47 +03:00
Ruslan Kuprieiev fbd3700e32 Merge pull request #2168 from efiop/help-fix
dvc: fix help messages for `get` and `import-url`
2019-06-22 01:56:00 +03:00
Ruslan Kuprieiev 16bc30ddd5 dvc: don't forget to use compat str for schema 2019-06-22 00:57:05 +03:00
Ruslan Kuprieiev e890c0558a dvc: fix help messages for get and import-url
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-22 00:50:22 +03:00
Ruslan Kuprieiev 98b5fcb61d appveyor: set PATH after refreshenv 2019-06-21 23:20:41 +03:00
Ruslan Kuprieiev 55186703e1 appveyor: use python 3.6 instead of 3.7
Looks like 3.7 is not available yet.
2019-06-21 23:13:37 +03:00
Ruslan Kuprieiev c7ca83e226 setup.py: install win-unicode-console when running on windows
Fixes #2165
2019-06-21 22:41:37 +03:00
Ruslan Kuprieiev a9620ad169 Merge pull request #2131 from mroutis/optimize-ssh
ssh: increase jobs and parallelize batch_exists
2019-06-21 18:38:49 +03:00
Ruslan Kuprieiev ab07509010 Merge pull request #2164 from efiop/1011
dvc: destroy: don't remove data
2019-06-21 13:35:46 +03:00
Ruslan Kuprieiev 81fd0b3415 dvc: destroy: don't remove data
Fix #1011

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-21 13:13:29 +03:00
Ruslan Kuprieiev 074ea612f6 Merge pull request #2163 from efiop/repo
dvc: address review from #2160
2019-06-21 12:55:32 +03:00
Ruslan Kuprieiev d795cdf1ba dvc: address review from #2160
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-21 12:27:24 +03:00
Ruslan Kuprieiev 95096e5e55 Merge pull request #2160 from efiop/repo
dvc: replace pkg concept with external repo
2019-06-21 10:33:58 +03:00
Ruslan Kuprieiev 1ba8e0171d dvc: replace pkg concept with external repo
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-21 01:16:00 +03:00
Ruslan Kuprieiev 85fd990849 Merge pull request #2153 from vasinkd/SIGINT_support_2
dvc: handle sigint when running a command with `dvc run`
2019-06-20 19:57:24 +03:00
Kirill Vasin 1734e25827 added old signal persistance and fixed tests accordingly 2019-06-20 19:21:53 +03:00
Ruslan Kuprieiev af9afbee7b Merge pull request #2159 from pared/remove_dulwich
ignore: remove dulwich in favour of pathspec
2019-06-20 15:24:02 +03:00
Kirill Vasin 5457c16e76 replace exception catch with signal 2019-06-20 13:39:22 +03:00
pared c9b3bdc927 ignore: remove dulwich in favour of pathspec 2019-06-20 12:15:42 +02:00
Mr. Outis dda8368f20 ssh: increase jobs and parallelize batch_exists
- SSH number of jobs increased from 4 to 8.

- `batch_exists` now opens all the SFTP sessions available to
distribute the work between them. Number of sessions is restricted
by the `MaxSessions` option configurable by the `sshd_config`.

- Fix #2104

With the optimizations mentioned above, we increased the speed by 8x
(using the default `MaxSessions` configuration -- 10).

Shout-outs to @efiop, @shcheklein, and @dmpetrov for suggesting the
optimization techniques.
2019-06-19 17:45:59 -05:00
Ruslan Kuprieiev 58f233ceb0 Merge pull request #2134 from vibhor98/order-options
Fix #2063: Standardise order of command options in help messages
2019-06-19 19:45:54 +03:00
vibhor98 55d3153734 Reorder commands in pull 2019-06-19 21:42:39 +05:30
vibhor98 62ee6b6b9a Made review changes. 2019-06-19 20:55:46 +05:30
Ruslan Kuprieiev 676021d563 Merge pull request #2149 from efiop/1772
pkg: handle install/version errors
2019-06-19 17:27:05 +03:00
Ruslan Kuprieiev 104a37485c Merge pull request #2156 from efiop/http
http: enable progress bar
2019-06-19 14:33:43 +03:00
Ruslan Kuprieiev be255ba4b0 http: enable progress bar
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-19 14:22:52 +03:00
Kirill Vasin ccb8e338e1 added custom KeyboardInterrupt support 2019-06-18 19:11:49 +03:00
Ruslan Kuprieiev 025de9aeb5 Merge pull request #2141 from pared/2079
metrics: show: remove active branch from tags only show call
2019-06-18 19:09:16 +03:00
pawel 362fe1337e brancher: include working tree in every method call 2019-06-18 15:57:47 +02:00
pawel 005a6016aa brancher refactor 2019-06-18 15:28:51 +02:00
pared 38642eb127 metrics: show: remove active branch from tags only show call 2019-06-18 15:28:51 +02:00
Ruslan Kuprieiev d3bdca3f13 tests: use shortuuid for shorter paths
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-18 16:11:39 +03:00
Ruslan Kuprieiev 14dc0c0115 pkg: handle install/version errors
Fixes #1772

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-18 16:09:06 +03:00
Ruslan Kuprieiev c023b8da57 Merge pull request #2128 from pared/2119
pathinfo: extract relative path method to standalone method
2019-06-18 14:07:40 +03:00
prd 0615ff8730 pathinfo: extract relative path method to standalone method 2019-06-18 12:08:19 +02:00
Ruslan Kuprieiev f22d55b0f7 Merge pull request #2143 from efiop/2127
dvc: use realpath-ed paths consistently
2019-06-17 22:45:02 +03:00
Ruslan Kuprieiev 459b7fad29 dvc: use realpath-ed paths consistently
Fixes #2127
2019-06-17 22:20:28 +03:00
Ruslan Kuprieiev 7890c85e1e Merge pull request #2142 from efiop/pkgs-fixup
pkg: introduce `-f|--force` for `pkg install`
2019-06-17 21:36:10 +03:00
Ruslan Kuprieiev 4947069c4f pkg: introduce -f|--force for pkg install
Fixes #1773

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-17 21:06:10 +03:00
Ruslan Kuprieiev 573c84ec66 Merge pull request #2012 from efiop/pkgs
Initial pkg implementation
2019-06-17 20:21:15 +03:00
Ruslan Kuprieiev 914a587123 pkg: implement dvc pkg get command
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-17 18:12:36 +03:00
Ruslan Kuprieiev 5941ace270 dvc: initial 'dvc pkg' implementation
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2019-06-17 18:12:36 +03:00
vibhor98 276e90ee5d Reorder command options. 2019-06-16 17:29:01 +05:30
Ruslan Kuprieiev b02f2b531e Merge pull request #2122 from mroutis/fix-1762-progress-bar
status: show a progress bar while gathering info
2019-06-16 12:48:29 +03:00
Mr. Outis 223f0f6c0f status: show a progress bar while gathering info
Fix #1762
Fix #1825
2019-06-14 16:39:30 -05:00