Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

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
Comments:

If you log on the SourceForge shell server, a "which ruby" will give you a positive answer. As you can't log on the SourceForge CVS server, you can't test if ruby is available. So I tried : I put a loginfo script that does a "which ruby" command and it failed. There is no ruby on the Sourceforge CVS server the last time I tried. Laurent.

Posted by Laurent Etiemble on September 10, 2003 at 11:52 PM MDT #

See SourceForge feature request 740804. Maybe start a petition, or something ;)

Posted by Unknown on September 11, 2003 at 02:48 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed