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

Re: Native ruby binding

From: Yoshiki Hayashi <yoshiki_at_xemacs.org>
Date: 2001-10-11 13:51:58 CEST

Yoshiki Hayashi <yoshiki@xemacs.org> writes:

> OK. I want to clean up source code before opening it to
> public and it will take a few days. I don't want people to
> see some sloppy code. I hope no one will mind this little
> delay. :-)

There are still some hackish code in it but here's the one I
promised. The content of README files is attached below.

http://www.sodan.org/~penny/tmp/svn-ruby-01.tar.gz

Subversion Ruby binding

This package contains Subversion Ruby binding. Please understand this
is just a temporary distribution. This packages is going to be
included in Subversion distribution. Also note that this package is
still under heavy development. There might be some severe bugs and
there are many features remain unimplemented. It is possible that
this might not be even built on your environment.

If you have questions, bug reports, patches or suggestions, please
send them to dev@subversion.tigris.org where Subversion development is
taking place.

INSTALL

ruby extconf.rb (It might be necessary to hand edit extconf.rb)
make
make install or make site-install

API

I tried to make API similar to Subversion C API as much as possible.
Perhaps this might change in near future if better class hierarchy or
class and method name are proposed. Client API is quite stable but FS
interface and Repos interface are in flux. The latter does not even exist!

Svnmirror

There's only one application of this binding right now. It's called
svnmirror and located in svnmirror directory. It is the tool to
mirror repository. To test it, edit svnmirror-conf.rb and run
svnmirror. The current implementation allows you to copy all
directory structure including properties. However, you cannot mirror
log messages and author. Those are stored as revision properties and
currently Subversion provides no way to retrieve them. When it
becomes possible, svnmirror will be able to mirror logical copy of
repository in pull mode. Note that your copy of revision properties
might become out of date because revision properties are not
versioned. You cannot detect properties' change efficiently without
the assistance of push mode.

TODO

If you want to help this project, see the TODO file. If you find
something interesting, please mail your interest to avoid duplicate of
work.

LICENSE

This package is distributed under the same license as Subversion. It
is available at http://subversion.tigris.org/license-1.html. If newer
versions of this license are posted there (the same URL, but with the
version number incremented: .../license-2.html, .../license-3.html,
and so on), you may use a newer version instead, at your option.

Yoshiki Hayashi <yoshiki@xemacs.org>

-- 
Yoshiki Hayashi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

This is an archived mail posted to the Subversion Dev mailing list.