git-annex/CmdLine
Joey Hess c81768d425
version the P2P protocol
Unfortunately ReceiveMessage didn't handle unknown messages the way it
was documented to; client sending VERSION would cause the server to
return an ERROR and hang up. Fixed that, but old releases of git-annex
use the P2P protocol for tor and will still have that behavior.

So, version is not negotiated for Remote.P2P connections, only for
Remote.Git connections, which will support VERSION from their first
release. There will need to be a later flag day to change Remote.P2P;
left a commented out line that is the only thing that will need to be
changed then.

Version 1 of the P2P protocol is not implemented yet, but updated
the docs for the DATA change that will be allowed by that version.

This commit was sponsored by Jeff Goeke-Smith on Patreon.
2018-03-12 14:36:35 -04:00
..
GitAnnex add --json-error-messages (not yet implemented) 2018-02-19 14:32:15 -04:00
GitAnnexShell implemented git-annex-shell p2pstdio 2018-03-07 15:38:01 -04:00
Action.hs Fix bug introduced in version 6.20171018 that caused some commands to print out "ok" twice after processing a file. 2017-12-28 17:31:16 -04:00
Batch.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
GitAnnex.hs Added inprogress command for accessing files as they are being downloaded. 2017-12-28 11:46:39 -04:00
GitAnnexShell.hs implemented git-annex-shell p2pstdio 2018-03-07 15:38:01 -04:00
GitRemoteTorAnnex.hs version the P2P protocol 2018-03-12 14:36:35 -04:00
GlobalSetter.hs mapM_ = sequence_ . map 2017-02-27 14:48:07 -04:00
Option.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Seek.hs more lambda-case conversion 2017-12-05 15:00:50 -04:00
Usage.hs initial export command 2017-08-29 15:10:01 -04:00