Xeno Campanoli
5/20/2009 7:47:00 PM
Did anyone ever get comfortable with any interface to Subversion from Ruby? I'm
seeing a lot of stuff lying around, and I wonder how good it is. My interest
has to do with secure authentication:
When I pass an svn --username me --password mine cat http://h/repo/mfile
it of course ends up on the process list. If I could use a ruby interface that
can allow me to run everything with individual authentication and keeps it all
off the process list and other public areas, I would be better off. This is not
a real big deal otherwise, but if I can do it for auth, it would be worth
migrating.
Brian Candler wrote:
> Juan Zanos wrote:
>> Invoking the command line is reasonable depending on how much
>> efficiency you need.
>
> And as usual - benchmark before making any premature decisions about
> performance.
>
> svn itself is not fast, especially when accessing a remote repository,
> so the overhead of invoking an external program is likely to be small in
> the overall scheme of things.
>
> That is, unless you're thinking of writing "svnhub" and having millions
> of users checking into your repositories :-)
>