git-annex/CmdLine
Joey Hess dd39e9e255
suggest when user may want annex.stalldetection
When annex.stalldetection is not enabled, and a likely stall is detected,
display a suggestion to enable it.

Note that the progress meter display is not taken down when displaying
the message, so it will display like this:

	0%    8 B                 0 B/s
	  Transfer seems to have stalled. To handle stalling transfers, configure annex.stalldetection
	0%    10 B                0 B/s

Although of course if it's really stalled, it will never update
again after the message. Taking down the progress meter and starting
a new one doesn't seem too necessary given how unusual this is,
also this does help show the state it was at when it stalled.

Use of uninterruptibleCancel here is ok, the thread it's canceling
only does STM transactions and sleeps. The annex thread that gets
forked off is separate to avoid it being canceled, so that it
can be joined back at the end.

A module cycle required moving from dupState the precaching of the
remote list. Doing it at startConcurrency should cover all the cases
where the remote list is used in concurrent actions.

This commit was sponsored by Kevin Mueller on Patreon.
2021-02-03 15:57:19 -04:00
..
GitAnnex Behavior change: --trust-glacier option no longer overrides trust 2021-01-07 10:37:43 -04:00
GitAnnexShell finished this stage of the RawFilePath conversion 2020-11-04 14:20:37 -04:00
Action.hs suggest when user may want annex.stalldetection 2021-02-03 15:57:19 -04:00
Batch.hs add key to FileInfo 2020-12-14 17:42:02 -04:00
GitAnnex.hs addon commands 2021-02-02 16:32:49 -04:00
GitAnnexShell.hs addon commands 2021-02-02 16:32:49 -04:00
GitRemoteTorAnnex.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GlobalSetter.hs addon commands 2021-02-02 16:32:49 -04:00
Option.hs rename changeGitConfig to overrideGitConfig and avoid unncessary calls 2020-02-27 01:11:53 -04:00
Seek.hs fix --time-limit 2021-01-04 15:57:11 -04:00
Usage.hs improve synopsis 2020-12-17 12:51:49 -04:00