[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ra_pipe / xml / marshalling (was: ssh based access?)

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-04-16 23:50:44 CEST

On Tue, Apr 16, 2002 at 01:51:44PM -0400, Kevin Pilch-Bisson wrote:
> The ra_pipe would actually not be that hard to implement. We already have
> the capability of doing the client side operations into an xml file. All that
> would be needed is a way to read one of those xml files on stdin, and apply it
> over ra_local. Shouldn't actually be much work at all. Basically just a
> set of expat handlers which call the ra_local vtable entries with the
> appropriate info from the xml file.
> For an example of the xml stuff, try doing svn ci --xml-file=foo.xml.
> The only other change can think of would be a way to get the new revnum back
> over the wire to do the post-commit rev-bumping.

Much of the marshalling could even replicate what is being done by ra_dav
and mod_dav_svn. e.g. how we marshal 'svn log' over the wire. Just
substitute a pipe for a socket, and it is basically the same (minus all that
HTTP crap :-)

But yes: our XML stuff is an effective serialization/marshalling format
which is already in the code. It is horribly unmaintained at the moment, but
I suspect that it is going to be "darned close" if somebody cares to
concentrate on it.


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 16 23:51:03 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.