monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Re: Anybody working on SSH (aka stdin/stdout) support f


From: Christof Petig
Subject: [Monotone-devel] Re: Anybody working on SSH (aka stdin/stdout) support for netsync
Date: Fri, 14 May 2004 10:08:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux ppc; de-AT; rv:1.6) Gecko/20040414 Debian/1.6-5

graydon hoare schrieb:
Christof Petig wrote:

Hello,

is anybody working (or planning to work) on pipe/stdin/stdout support for netsync? I would love to have it working soon.


I am not currently working on it, but I'd love to see an implementation. I can imagine two approaches: either teach Netxx how to wrap file descriptors (quasi-sockets); or abstract netsync.cc to accept either Netxx or file descriptor versions.

either should be plausible, and would be most welcome.

I'm currently meditating on how to tell monotone's netsync that it should read from stdin.

Any better ideas than my favorite:

monotone --ssh [--key ""] pull address@hidden:port]/db_path collection ...
monotone --ssh serve collection ...

This would tell monotone to use a ssh connection to a remote server and start the monotone --ssh serve command there.

Problems: I don't like my remote db-address syntax too much.
The serve's --ssh option indicates stdin/stdout and is not really related to ssh (other than that it is called by the ssh access method).

    Christof

PS: This translates to
ssh -p port -l user machine.net monotone --ssh --db /db_path serve collection ...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]