git-annex/Remote
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
..
Directory finish fixing removeLink on windows 2020-11-24 13:20:44 -04:00
External Added GETGITREMOTENAME to extenal special remote protocol 2021-01-26 12:42:47 -04:00
Helper don't support dropping from thirdPartyPopulated for now 2020-12-28 16:48:38 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
WebDAV more RawFilePath 2019-12-18 17:10:28 -04:00
Adb.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
BitTorrent.hs add searchPathContents 2021-02-02 19:06:15 -04:00
Borg.hs don't support dropping from thirdPartyPopulated for now 2020-12-28 16:48:38 -04:00
Bup.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Ddar.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Directory.hs fix export overwrite on FAT 2021-01-25 13:31:17 -04:00
External.hs Added GETGITREMOTENAME to extenal special remote protocol 2021-01-26 12:42:47 -04:00
GCrypt.hs avoid crashing when there are remotes using unparseable urls 2021-01-18 14:59:08 -04:00
Git.hs suggest when user may want annex.stalldetection 2021-02-03 15:57:19 -04:00
GitLFS.hs avoid partial functions in Git.Url 2021-01-18 15:07:23 -04:00
Glacier.hs Behavior change: --trust-glacier option no longer overrides trust 2021-01-07 10:37:43 -04:00
Hook.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
HttpAlso.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Rsync.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
S3.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Tahoe.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
Web.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00
WebDAV.hs move untrust forcing from Logs.Trust into Remote 2020-12-28 15:22:10 -04:00