Ruby module for subversion?

Is there a module for ruby that will give access to subversion functions?

I'd like to:

1. Find out if a file is administered under subversion.
2. Find out if a file under subversion has a given property, e.g., svn:executable.
3. Be able to add/delete subversion properties for a file.
4. Add a file to subversion, i.e., administer it and check it in.

Thanks for any help you can give,
Steve Kelem

Is there a module for ruby that will give access to subversion functions?

this project may help:
  http://rscm.rubyforge.org/

Cameron

The latest subversion (1.2.0) comes with subversion bindings for ruby,
which probably can do what you need. I couldn't find docs for it though
:\

HTH
Andre

···

On Tue, 14 Jun 2005, Steve Kelem wrote:

Is there a module for ruby that will give access to subversion functions?

The Ruby bindings found in the SVN source dist do work, although a little tricky
to build and install, and the coverage is not complete, eg svn_client_status is not implemented.

I have posted the very bare start to a similar endevour using Ruby/DL, so far it is more of
an example than useful, although it would be nice to see someone fill it out a bit. It does however implement the status2 call.

See the ruby-talk thread with Subject "Accessing SVN through Ruby/DL"

Steve Kelem wrote:

···

Is there a module for ruby that will give access to subversion functions?

I'd like to:

1. Find out if a file is administered under subversion.
2. Find out if a file under subversion has a given property, e.g., svn:executable.
3. Be able to add/delete subversion properties for a file.
4. Add a file to subversion, i.e., administer it and check it in.

Thanks for any help you can give,
Steve Kelem

The svn ruby bindings is still pretty new, but no, there doesn't seem
to be any (english) docs around, but having worked with the bindings a
bit for a sparetime project of mine they're fairly easy to use once
you get the initial grasp on them and get over the initial headaches
with pools and such..

Looking at the unit tests (the bindings are in the
SVN_SRC/subversion/bindings/swig/ruby dir) and perhaps even take a
peek at my stabs[1] on working with them to get the general idea.

[1]: cocoa.se - This website is for sale! - Cocoa Resources and Information.

···

On 6/13/05, Andre Nathan <andre@digirati.com.br> wrote:

On Tue, 14 Jun 2005, Steve Kelem wrote:
> Is there a module for ruby that will give access to subversion functions?

The latest subversion (1.2.0) comes with subversion bindings for ruby,
which probably can do what you need. I couldn't find docs for it though :\

--
http://johansorensen.com
http://theexciter.com

There's always the command line too, if that fits your needs.

Kyle Heon
kheon@comcast.net