aboutsummaryrefslogtreecommitdiff
path: root/Messages/Progress.hs
Commit message (Collapse)AuthorAge
* fix --json-progress --json to be same as --json --json-progressGravatar Joey Hess2018-02-19
| | | | | | | Fix behavior of --json-progress followed by --json, in which the latter option disabled the former. This commit was supported by the NSF-funded DataLad project.
* Display progress meter when uploading a key without size informationGravatar Joey Hess2017-11-14
| | | | | | Getting the size by statting the content file. This commit was supported by the NSF-funded DataLad project.
* adeiu, MissingHGravatar Joey Hess2017-05-16
| | | | | | | | | | | | | | | | Removed dependency on MissingH, instead depending on the split library. After laying groundwork for this since 2015, it was mostly straightforward. Added Utility.Tuple and Utility.Split. Eyeballed System.Path.WildMatch while implementing the same thing. Since MissingH's progress meter display was being used, I re-implemented my own. Bonus: Now progress is displayed for transfers of files of unknown size. This commit was sponsored by Shane-o on Patreon.
* add missing case for unknown size with normal outputGravatar Joey Hess2016-10-05
| | | | This was lost in previous change, causing a crash in that case.
* Make --json-progress output be shown even when the size of a object is not ↵Gravatar Joey Hess2016-09-29
| | | | known.
* make --json-progress work for url downloadsGravatar Joey Hess2016-09-09
|
* make --json-progress update meter when getting from git remote with rsyncGravatar Joey Hess2016-09-09
|
* better locking for json with -JGravatar Joey Hess2016-09-09
| | | | | | | Avoid threads emitting json at the same time and scrambling, which was still possible even with the buffering, just less likely. Converted json IO actions to JSONChunk data too.
* addurl, get: Added --json-progress option, which adds progress objects to ↵Gravatar Joey Hess2016-09-09
| | | | | | | the json output. This doesn't work right when used with -J yet, and there is some really ugly hand-crafting of part of the json output.
* disentangle concurrency and message typeGravatar Joey Hess2016-09-09
| | | | | | | | This makes -Jn work with --json and --quiet, where before setting -Jn disabled those options. Concurrent json output is currently a mess though since threads output chunks over top of one-another.
* still update othermeter when not displaying progress at consoleGravatar Joey Hess2016-09-08
| | | | | See no reason not to do this; the othermeter will be updating a transfer info file or the like.
* Rate limit console progress display updates to 10 per second. Was updating ↵Gravatar Joey Hess2016-09-08
| | | | as frequently as changes were reported, up to hundreds of times per second, which used unncessary bandwidth when running git-annex over ssh etc.
* avoid build warnings when building w/o concurrent-outputGravatar Joey Hess2016-09-06
|
* fix build w/o concurrent-outputGravatar Joey Hess2016-02-15
|
* Work around problem with concurrent-output when in a non-unicode locale by ↵Gravatar Joey Hess2016-02-14
| | | | | | | | | | | | avoiding use of it in such a locale. Instead -J will behave as if it was built without concurrent-output support in this situation. Ie, it will be mostly quiet, except when there's an error. Note that it's not a problem for a filename to contain invalid utf-8 when in a utf-8 locale. That is handled ok by concurrent-output. It's only displaying unicode characters in a non-unicode locale that doesn't work.
* avoid spawning file size polling thread when not in -J modeGravatar Joey Hess2015-11-16
|
* Display progress meter in -J mode when downloading from the web.Gravatar Joey Hess2015-11-16
| | | | | 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.
* Concurrent progress bars are now displayed when using -J with a command that ↵Gravatar Joey Hess2015-11-06
| | | | moves file contents around.
* arrange for regional output manager to run when -J is enabledGravatar Joey Hess2015-11-04
| | | | | | | | | | 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.
* concurrent-output, first passGravatar Joey Hess2015-11-04
| | | | | | 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.
* allow building without ascii-progress, since it is not ready yetGravatar Joey Hess2015-05-12
| | | | No progress bars with -J unless built with ascii-progress.
* reuse stringsGravatar Joey Hess2015-04-14
|
* scale progress bar to terminal sizeGravatar Joey Hess2015-04-14
|
* add filename to progress bar, and display ok/failed at endGravatar Joey Hess2015-04-14
| | | | This needed plumbing an AssociatedFile through retrieveKeyFileCheap.
* use built-in progress meters for git when in parallel modeGravatar Joey Hess2015-04-10
|
* WIP use ascii-progressGravatar Joey Hess2015-04-04
| | | | | | | | 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.
* relay external special remote stderr through progress suppression machinery ↵Gravatar Joey Hess2015-04-04
| | | | | | | | | | (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.
* well along the way to fully quiet --quietGravatar Joey Hess2015-04-04
| | | | | | | 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.
* avoid progress bar for url download with --quietGravatar Joey Hess2015-04-03
|
* dead codeGravatar Joey Hess2015-04-03
|
* reall disable progress displays for --quietGravatar Joey Hess2015-04-03
|
* fix stderr handlingGravatar Joey Hess2015-04-03
|
* WIP on making --quiet silence progress, and infra for concurrent progress barsGravatar Joey Hess2015-04-03