support P2PAnnex in connectPeer
This is probably enough to support accessing remotes using p2p-annex:: urls. Not tested yet of course since there is not yet support for serving the other side of such a connection, or for setting up such a connection. P2P.Generic has an implementation of the whole interface to the git-annex-p2p-<netname> commands.
This commit is contained in:
parent
a6f8248465
commit
4fb9b7cb67
4 changed files with 78 additions and 9 deletions
|
@ -33,9 +33,9 @@ to convert the P2P network's own equivilant into a unix socket file.
|
|||
To configure `git-annex remotedaemon` to listen on a given P2P network,
|
||||
the user runs `git-annex p2p --enable <netname>`. That also
|
||||
runs `git-annex-p2p-<netname>`, this time with the parameter "address".
|
||||
That should output a single line, the P2P network address that can be used
|
||||
by peers to connect to the repository. It can first do whatever it needs to
|
||||
do to set up the P2P network.
|
||||
That should output one or more lines, the P2P network address (or addresses)
|
||||
that can be used by peers to connect to the repository. It can first do
|
||||
whatever it needs to do to set up the P2P network.
|
||||
|
||||
The program [[git-remote-p2p-annex]] is included in git-annex as a git
|
||||
remote helper program. git will use that program to handle `pull` and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue