[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Subversion wrapper in Ruby

Marcin Raczkowski

4/11/2007 8:27:00 AM


Content-Type: Multipart/Mixed;
boundary="Boundary-00=_hwJHGaM/p7PUXYi"
On Tuesday 03 April 2007 20:26, Daniel Schierbeck wrote:
> I've begun developing a small library that wraps the command-line
> Subversion commands, so that you can call SVN.copy(src, dest, :message
> => 'chunky bacon') etc. These will only cover the methods Subversion
> directly supports.
>
> The reason I'm making this library is actually that I want to have Rake
> tasks that automate tagging, branching, etc. of my repository.
> Currently, the most advanced thing I have is this:
>
> SVN::TagReleaseTask.new do |t|
> t.repository = 'svn://svn.example.org/bacon'
> t.version = '1.2.3'
> end
>
> Calling `rake svn:tag:release' will then issue the following to the
> command line:
>
> svn copy svn://svn.example.org/bacon/trunk
> svn://svn.example.org/bacon/tags/release-1.2.3 --message "tagging
> release 1.2.3"
>
> Do you have any special wishes? As soon as the Rubyforge submission goes
> through I'll make an alpha gem for those wanting to get their hands
> dirty :)
>
>
> Cheers,
> Daniel


well i can only wish you good luck - svn support is much needed - from me i
can paste code that i found on wiki somewhere and modified a little - it
adds/deletes all changed files in directory to SVN.