Commit Graph
13 Commits
Author SHA1 Message Date
Ruslan Kuprieiev e02a33f934 logger: shortcut logger in quiet and normal modes
In scenarios with millions of files, late shorcutting of
debug msgs results in massive overhead. In order to avoid
that, just shortcut logger messages ASAP if verbose mode
is not enabled.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-12-11 12:07:28 +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 16fef9bb87 logger: clear progress bar before printing
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-10-17 07:50:28 +03:00
Ruslan Kuprieiev 682737e4a2 ssh: add 'password' and 'ask_password' options
Fixes #1124

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-09-19 05:50:06 +03:00
Ruslan Kuprieiev a9114d57a5 dvc: print info when computing md5 of a large file
Fixes #958

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-08-01 15:39:05 +03:00
Ruslan Kuprieiev 7e4f39d8eb dvc: show filenames in push/pull output
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-07-26 16:50:25 +03:00
Ruslan Kuprieiev 0e9774a3f8 RFC: follow flake8 rules
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-07-25 17:28:58 +03:00
Ruslan Kuprieiev 9f8f9ab550 progress: don't print new line
Fixes #444

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-04-15 11:52:59 +03:00
Ruslan Kuprieiev 5a7bee4508 dvc: fix progress bar
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-03-10 18:41:09 +02:00
Ruslan Kuprieiev ed11055c19 progress: reserve more space in a progress bar
Signed-off-by: Ruslan Kuprieiev <[email protected]>
2018-03-04 11:02:40 +02:00
Dmitry Petrov 059fcc028d Zero size file bugfix 2017-06-25 00:33:03 -04:00
Ruslan Kuprieiev 11d1fb502a progress: use global variable 'progress'
There is no point in having more than just one
global progress bar.

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-06-21 03:37:42 +03:00
Ruslan Kuprieiev e9a9e32357 progress: add progress bar to 'import'
This one is a bit like the one you see in yum/dnf.
It has one single line updating current progress
for different targets and once they are finished
prints them as standalone line. So it looks smth
like this:

  $ dvc import https://foo.bar/one.data \
               https://foo.bar/two.data \
               https://foo.bar/three.data
  (1/3): [########################################] 100% one.data
  (2/3): [#########################               ] 60% three.data

Signed-off-by: Ruslan Kuprieiev <[email protected]>
2017-06-19 04:30:32 +03:00