git-annex/RemoteDaemon/Transport
Joey Hess f1781d01d8
remotedaemon support for generic P2P transports
RemoteDaemon.Transport.Tor was refactored into this, and most of the
code is reused between them.

getSocketFile does not yet deal with repositories on crippled
filesystems that don't support sockets. Annex.Ssh detects that and
allows the user to set an environment variable, and something similar
could be done here.

And it does not deal with a situation where there is no path to the
socket file that is not too long. In that situation it would crash out
I suppose. Probably though, remotedaemon is ran from the top of the
repo, and in that case the path is just ".git/annex/p2p/<md5>" so nice
and short.

This seems to mostly work. But I don't yet have a working git-annex-p2p-
command to test it with.

And with my not quite working git-annex-p2p-foo test script, running
remotedaemon results in an ever-growing number of zombie processes
that it's not waiting on.
2025-07-31 14:45:32 -04:00
..
Ssh update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
GCrypt.hs start splitting out readonly values from AnnexState 2021-04-02 15:51:44 -04:00
P2PGeneric.hs remotedaemon support for generic P2P transports 2025-07-31 14:45:32 -04:00
Ssh.hs remove support code for ancient git-annex-shell version 2021-10-11 16:07:08 -04:00
Tor.hs remotedaemon support for generic P2P transports 2025-07-31 14:45:32 -04:00