[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

File.exist? svn2rss.rb

Bil Kleb

2/16/2006 10:39:00 AM

Hello,

We're migrating from CVS to Subversion and I am looking
for a Ruby post-commit hook to produce an RSS feed.

I found this November '05 post by Jamis,

http://comox.textdrive.com/pipermail/budgetwise/2005-November/0...

but I can't seem to find any code. (I can't understand
the Python version in SVN's contrib/commit-hooks directory.)

Anyone?

Thanks,
--
Bil
http://fun3d.lar...
2 Answers

Kouhei Sutou

2/16/2006 4:47:00 PM

0

Bil Kleb

2/16/2006 9:22:00 PM

0

Kouhei Sutou wrote:
> Hi,

Hello.

> Bil Kleb <Bil.Kleb@NASA.gov> wrote:
>> We're migrating from CVS to Subversion and I am looking
>> for a Ruby post-commit hook to produce an RSS feed.
>
> tools/hook-scripts/commit-email.rb is what you looking
> for. This script not just sending an e-mail but also
> producing a RSS feed.

I'll have another look at it, but I think it may be
too general purpose for me.

I am looking for a single-purpose, 20-liner (maybe by using
Weirich's Builder?) that I'll be able to understand within
a couple minutes 3 years from now... :)

Regards,
--
Bil
http://fun3d.lar...