Joey Hess
3449c0e8ec
avoid spawning file size polling thread when not in -J mode
2015-11-16 21:21:58 -04:00
Joey Hess
e97fce35a6
Display progress meter in -J mode when downloading from the web.
...
Including in addurl, and get --from web, but also in S3 and External
special remotes when a web url is known for content in those remotes.
2015-11-16 21:00:54 -04:00
Joey Hess
416c7656a1
Concurrent progress bars are now displayed when using -J with a command that moves file contents around.
2015-11-06 13:44:57 -04:00
Joey Hess
c0c595345c
arrange for regional output manager to run when -J is enabled
...
Commands that want to use it have to run their seek action inside
allowConcurrentOutput. Which seems reasonable; perhaps some future command
will want to support the -J flag but not use regions.
The region state moved from Annex to MessageState. This makes sense
organizationally, and note that some uses of onLocal use a different Annex
state, but pass the MessageState into it, which is what is needed.
2015-11-04 16:22:43 -04:00
Joey Hess
4fd03ccd7b
concurrent-output, first pass
...
Output without -Jn should be unchanged from before. With -Jn,
concurrent-output is used for messages, but regions are not used yet, so
it's a mess.
2015-11-04 13:45:34 -04:00
Joey Hess
505d540360
allow building without ascii-progress, since it is not ready yet
...
No progress bars with -J unless built with ascii-progress.
2015-05-12 13:54:16 -04:00
Joey Hess
5e9f0a3493
reuse strings
2015-04-14 16:46:06 -04:00
Joey Hess
a5d89633c3
scale progress bar to terminal size
2015-04-14 16:39:30 -04:00
Joey Hess
a2902cdaaf
add filename to progress bar, and display ok/failed at end
...
This needed plumbing an AssociatedFile through retrieveKeyFileCheap.
2015-04-14 16:35:10 -04:00
Joey Hess
f8e700ed06
use built-in progress meters for git when in parallel mode
2015-04-10 15:15:21 -04:00
Joey Hess
a06f9ff329
WIP use ascii-progress
...
A bit flickery due to
https://github.com/yamadapc/haskell-ascii-progress/issues/12
And, won't handle large files until ascii-progress is changed to use
Integers.
2015-04-04 15:58:38 -04:00
Joey Hess
30aa902174
relay external special remote stderr through progress suppression machinery (eep!)
...
It sounds worse than it is. ;)
Some external special remotes may run commands that display progress on
stderr. If git-annex is run with --quiet, this should filter out such
displays while letting the errors through.
2015-04-04 14:54:03 -04:00
Joey Hess
2343f99c85
well along the way to fully quiet --quiet
...
Came up with a generic way to filter out progress messages while keeping
errors, for commands that use stderr for both.
--json mode will disable command outputs too.
2015-04-04 14:34:03 -04:00
Joey Hess
ff2eeaf054
avoid progress bar for url download with --quiet
2015-04-03 20:38:56 -04:00
Joey Hess
6d79378346
dead code
2015-04-03 20:10:32 -04:00
Joey Hess
d7f66a90af
reall disable progress displays for --quiet
2015-04-03 20:08:25 -04:00
Joey Hess
45e97191c3
fix stderr handling
2015-04-03 19:48:56 -04:00
Joey Hess
20fb91a7ad
WIP on making --quiet silence progress, and infra for concurrent progress bars
2015-04-03 16:48:30 -04:00