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

Re: Light weight client question.

From: Ross Mark <rossm_at_controllingedge.com.au>
Date: 2003-06-30 10:22:06 CEST

Greg Stein wrote:

>You could build a lightweight client that used the RA interface. Since
>you're going for size, I'll assume that you'd code it up in C. If you have a
>bit more space, I'd suggest figuring out how to upgrade the Python RA
>bindings (several people are interested in direct RA bindings for Python).
>
>But let's assume C.
>
>The libraries you would need are:
>
> libsvn_ra (altho you could prolly omit this)
> libsvn_ra_dav
> libsvn_delta
> libsvn_subr
> neon
> apr
> apr-util (including expat)
>
>You'd probably want to toss zlib in there, too.
>
>
Size is a huge issue for us in both disk space and memory. We only have
12 Mb's of system memory with no swap space. Nearly all our applications
and tools have been compiled against uClibc to minimise space.
 I'll have a look at what it would take to use the above libraries
however I do wonder if the runtime may be a little large for our system.

Ben Collins-Sussman gave me an excellent direction to look in as our terminals would only ever want the HEAD revision, a simple wget will get a fair bit of the data.

>
>IMO, that would really be your only avenue. I'm not sure (at this point)
>that we can really deal with the text-base being absent. So patches along
>that direction aren't going to be all that easy, nor would there be a lot of
>confidence that they don't mess up some edge case. I'm also not sure that
>we'd like to see some #ifdef magic in the code to avoid sections, to enable
>a checkout-only type of client.
>
>
I think what I am looking at is such a specialised case that it would be
better suited as a stand alone app. While it would be nice to make use
of the existing code base I would agree that #ifdef's would make life a
misery for any future support.

>Cheers,
>-g
>
>
Thanks for your input and thanks to Ben and cmpilato for theirs. I
received exactly the kind of feedback I was after.

 I just wish subversion had been around years ago as I think it will
make an excellent base for an upgrade system. With the help of some
cgi's I believe I should be able to customise the downloads so each
terminal can get it's own specific release. As they say "all terminal
should be equal but some will be more equal than others". I did a
similar system years ago based on SUP (Software Upgrade Protocol) that
allowed the download list to depend on client that was requesting.

Anyway thanks greatly for the prompt replies.

Cheers

Ross

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 30 10:23:06 2003

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.