Wednesday September 10, 2003
Setting up CVS Spam I think Mike turned me on to CVS Spam. CVS Spam is basically some scripts that send you HTML-formatted e-mails of diffs from CVS commits (example). I got motivated today and installed it on Raible Designs' CVS server and the one at my new gig. Works awesome! Here's the steps I had to take (outside of the documentation):
- Download and install (./configure, make, make install) ruby. By default, this goes into /usr/local/bin/ruby.
- Create a symlink in /usr/bin (ln -s /usr/local/bin/ruby) So the .rb files you added in CVSROOT will work. They're pointing to /usr/bin/ruby by default.
- Edit cvsspam.rb, line 850, to be an absolute path to your CVS repository. It's currently getting "CVSROOT" as an environment variable, and I have my $CVSROOT set to my default CVS server (so I can type cvs co project, etc.).
Now the question is, does SourceForge have ruby installed on their servers? Or maybe I should just install it in my home directory and configure some projects (i.e. Roller) to use CVS Spam.
Update: I discovered that with new versions of Ruby, you need to apply a patch to CVS Spam (v0.2.7):
Index: cvsspam.rb =================================================================== RCS file: /var/lib/cvs/cvsspam/cvsspam.rb,v retrieving revision 1.37 diff -u -r1.37 cvsspam.rb --- cvsspam.rb 7 Sep 2003 18:10:50 -0000 1.37 +++ cvsspam.rb 11 Sep 2003 20:41:50 -0000 @@ -878,6 +878,9 @@ $bugzillaURL = nil $jiraURL = nil $ticketURL = nil +$viewcvsURL = nil +$choraURL = nil +$cvswebURL = nil $from_address = nil $subjectPrefix = nil $files_in_subject = false;
Posted in Java at Sep 10 2003, 05:04:25 PM MDT 2 Comments
Search This Site
Recent Entries
- Choosing an Ajax Framework
- R.I.P. Giant FCR3
- Happy Birthday Mom!
- 2008 - A Year in Review
- Portland Tech Meetup Tomorrow Night
- My "almost slept in a snow cave" Adventure with Clint Foster
- My Christmas Travel Adventure
- AppFuse Light converted to Maven modules, upgraded to Tapestry 5 and Stripes 1.5
- Dojo/Comet support in Java Web Frameworks
- Abbie is a Blue Skier!
Posted by Laurent Etiemble on September 10, 2003 at 05:52 PM MDT #
Posted by Unknown on September 11, 2003 at 08:48 AM MDT #