Closed GoogleCodeExporter closed 8 years ago
Very good idea. And likely not too hard to implement either. The current
experimental RPC works ok, but the protocol is messy and it lacks
authentication (which would be alleviated nicely by ssh). It currently uses
sockets, but it should not be too hard to modify it to use stdin/stdout instead.
The first protocol version was very clean and simple using pure jsonrpc.
However, the performance was horrific for a number of reasons. The latest
version is better, but is still slow when sending files upstream.
Original comment by ekb...@gmail.com
on 16 Apr 2012 at 3:09
I have now successfully run some tests by using ssh as a transport mechanism.
Works very well! It will be trivial to allow for other transporters besides
ssh. I've thrown out the old socket code altogether, using stdin/stdout and an
external transport program is much cleaner. If a speedy non-encrypted
connection is desired, one can likely use netcat instead of ssh (starting the
server with xinetd). I'm doing some experiments with that as well, looks good.
Original comment by ekb...@gmail.com
on 30 Apr 2012 at 3:17
As of changeset fafcd0f3b175 it is now possible to connect to a repository over
ssh by using a special URL as repo path. The format is
"boar+ssh://username@server.example.com/path/to/repository". The command
requires that "boarserve.py" is in the default path on the server. Also,
automatic authentication must be set up correctly. Support for alternative ssh
commands, and plink.exe on windows, remains to be implemented.
This feature should be considered experimental until it is included in the next
release. There may be cases of less-than-intuitive error messages when things
go wrong, but otherwise it should be just as safe as using a local repository.
Original comment by ekb...@gmail.com
on 20 May 2012 at 5:47
Original issue reported on code.google.com by
martin.p...@gmail.com
on 15 Apr 2012 at 1:16