git-annex/Remote
Joey Hess 4f42292b13
improve url download failure display
* When downloading urls fail, explain which urls failed for which
  reasons.
* web: Avoid displaying a warning when downloading one url failed
  but another url later succeeded.

Some other uses of downloadUrl use urls that are effectively internal use,
and should not all be displayed to the user on failure. Eg, Remote.Git
tries different urls where content could be located depending on how the
remote repo is set up. Exposing those urls to the user would lead to wild
goose chases. So had to parameterize it to control whether it displays urls
or not.

A side effect of this change is that when there are some youtube urls
and some regular urls, it will try regular urls first, even if the
youtube urls are listed first. This seems like an improvement if
anything, but in any case there's no defined order of urls that it's
supposed to use.

Sponsored-by: Dartmouth College's Datalad project
2021-09-01 15:33:38 -04:00
..
Directory incremental hashing for fileRetriever 2021-08-13 15:43:29 -04:00
External Added GETGITREMOTENAME to extenal special remote protocol 2021-01-26 12:42:47 -04:00
Helper distinguish between incremental verification failing and not being done 2021-08-18 14:38:02 -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 fix exporting when the file is in the top of the repo 2021-03-16 14:17:29 -04:00
Adb.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
BitTorrent.hs incremental verification for web special remote 2021-08-18 15:02:22 -04:00
Borg.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
Bup.hs incremental verify for byteRetriever special remotes 2021-08-11 14:20:38 -04:00
Ddar.hs incremental verify for byteRetriever special remotes 2021-08-11 14:20:38 -04:00
Directory.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
External.hs improve url download failure display 2021-09-01 15:33:38 -04:00
GCrypt.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
Git.hs improve url download failure display 2021-09-01 15:33:38 -04:00
GitLFS.hs incremental verification for gitlfs and httpalso 2021-08-18 15:17:10 -04:00
Glacier.hs incremental verify for byteRetriever special remotes 2021-08-11 14:20:38 -04:00
Hook.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
HttpAlso.hs incremental verification for gitlfs and httpalso 2021-08-18 15:17:10 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Rsync.hs incremental verify for directory special remote 2021-08-16 16:51:33 -04:00
S3.hs improve url download failure display 2021-09-01 15:33:38 -04:00
Tahoe.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Web.hs improve url download failure display 2021-09-01 15:33:38 -04:00
WebDAV.hs distinguish between incremental verification failing and not being done 2021-08-18 14:38:02 -04:00