On 28 avr. 09, at 15:37, Brian Candler wrote: > Andrey R-andrey wrote: >> My boss ask me about a ruby library that can provide checking-out, >> updating and management code-bases from SVN's repositories. Wich >> is the >> better way to get access and manipulate code-bases from SVN's >> repositories using ruby? > > Invoking the command-line svn client from ruby is a reasonable > approach. > Have a look at the source for Capistrano, which does that. > > I'm also pretty sure there's a native ruby binding (or at least a SWIG > binding) as part of libsvn. Google "svn ruby binding" or "libsvn ruby > binding" > > That gives you a very low level guts interface, and last time I looked > it wasn't very well documented, but there are examples out there if > you > search for them. > > -- > Posted via http://www.ruby-forum.com/. > Invoking the command line is reasonable depending on how much efficiency you need. In most instances the time to call the command line function is going to be trivial. That isn't always the case. The Github folks found that it was too slow. So they ended up re- implementing git with Ruby. My guess is that in your case it doesn't matter. But I don't know enough about your project to say for sure.