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]>
* 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]>
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]>