git-annex/Remote/Helper
Joey Hess f8836306fa
remove "checking remotename" message
This fixes fsck of a remote that uses chunking displaying
(checking remotename) (checking remotename)" for every chunk.

Also, some remotes displayed the message, and others did not, with no
consistency. It was originally displayed only when accessing remotes
that were expensive or might involve a password prompt, I think, but
nothing in the API said when to do it so it became an inconsistent mess.

Originally I thought fsck should always display it. But it only displays
in fsck --from remote, so the user knows the remote is being accessed,
so there is no reason to tell them it's accessing it over and over.

It was also possible for git-annex move to sometimes display it twice,
due to checking if content is present twice. But, the user of move
specifies --from/--to, so it does not need to display when it's
accessing the remote, as the user expects it to access the remote.

git-annex get might display it, but only if the remote also supports
hasKeyCheap, which is really only local git remotes, which didn't
display it always; and in any case nothing displayed it before hasKeyCheap,
which is checked first, so I don't think this needs to display it ever.

mirror is like move. And that's all the main places it would have been
displayed.

This commit was sponsored by Jochen Bartl on Patreon.
2021-04-27 13:05:27 -04:00
..
Chunked incremental checksum on download from ssh or p2p 2021-02-09 17:03:27 -04:00
AWS.hs include credPairRemoteFields in RemoteConfigParsers 2020-01-15 10:57:45 -04:00
Chunked.hs refactor 2021-02-16 16:03:28 -04:00
Encryptable.hs initremote: Prevent enabling encryption with exporttree=yes/importtree=yes 2020-12-15 12:08:08 -04:00
ExportImport.hs avoid getting creds from environment during autoenable 2021-03-17 09:41:12 -04:00
Git.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Hooks.hs propagate signals to the transferrer process group 2020-12-11 15:32:00 -04:00
Http.hs convert getFileSize to RawFilePath 2020-11-05 11:32:57 -04:00
Messages.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
P2P.hs chance case of "transfer failed" to match "Transfer stalled" 2021-03-06 17:47:05 -04:00
ReadOnly.hs convert renameExport to throw exception 2020-05-15 15:08:09 -04:00
Special.hs make remoteKeyToRemoteName safer 2021-04-23 13:29:21 -04:00
Ssh.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
ThirdPartyPopulated.hs borg: Support importing files that are hard linked in the borg backup 2021-03-26 13:29:34 -04:00