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)
> 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.
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.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Mon Jun 30 10:23:06 2003