git-annex/Remote/Helper
Joey Hess 7bdc7350a5
remove git-annex-shell compat code
* Removed support for accessing git remotes that use versions of
  git-annex older than 6.20180312.
* git-annex-shell: Removed several commands that were only needed to
  support git-annex versions older than 6.20180312.
  (lockcontent, recvkey, sendkey, transferinfo, commit)

The P2P protocol was added in that version, and used ever since, so
this code was only needed for interop with older versions.

"git-annex-shell commit" is used by newer git-annex versions, though
unnecessarily so, because the p2pstdio command makes a single commit at
shutdown. Luckily, it was run with stderr and stdout sent to /dev/null,
and non-zero exit status or other exceptions are caught and ignored. So,
that was able to be removed from git-annex-shell too.

git-annex-shell inannex, recvkey, sendkey, and dropkey are still used by
gcrypt special remotes accessed over ssh, so those had to be kept.
It would probably be possible to convert that to using the P2P protocol,
but it would be another multi-year transition.

Some git-annex-shell fields were able to be removed. I hoped to remove
all of them, and the very concept of them, but unfortunately autoinit
is used by git-annex sync, and gcrypt uses remoteuuid.

The main win here is really in Remote.Git, removing piles of hairy fallback
code.

Sponsored-by: Luke Shumaker
2021-10-11 15:36:51 -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 distinguish between incremental verification failing and not being done 2021-08-18 14:38:02 -04:00
Encryptable.hs Avoid more than 1 gpg password prompt at the same time 2021-04-27 16:36:44 -04:00
ExportImport.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Git.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Hooks.hs plumb VerifyConfig into retrieveKeyFile 2021-08-17 12:43:13 -04:00
Http.hs refactor 2021-08-18 13:19:02 -04:00
Messages.hs remove "checking remotename" message 2021-04-27 13:05:27 -04:00
P2P.hs remove git-annex-shell compat code 2021-10-11 15:36:51 -04:00
ReadOnly.hs convert renameExport to throw exception 2020-05-15 15:08:09 -04:00
Special.hs simplify annex.bwlimit handling 2021-09-22 10:52:01 -04:00
Ssh.hs remove git-annex-shell compat code 2021-10-11 15:36:51 -04:00
ThirdPartyPopulated.hs ImportableContentsChunkable 2021-10-08 13:15:22 -04:00