The Source for Java Technology Collaboration
User: Password:



Tom Ball

Tom Ball's Blog

CVSspam: Very Cool CVS Notification Tool

Posted by tball on October 25, 2005 at 12:31 PM | Comments (6)

One feature I rely on for shared development is for the source control system to email a notification of any changes. CVS supports this notification and it is easy to implement: just add an email command line to the repository's CVSROOT/loginfo file (or separate ones for each project, if desired). The problem I have with these commit messages is that while they describe what projects and files have changed, you either get a verbose diff message or have to use a separate tool to see what changed. Consequently, after enough of these messages fill up my inbox I tend to just scan them quickly without reviewing the changes.

We recently upgraded an internal CVS repository to use CVSspam to format CVS commit notification messages, and what a difference it makes! CVSspam generates HTML-formatted commit messages that use colors, fonts, and a nice design to allow me to do a much more thorough review of the message in the same time that I did for just a quick-scan of the old format. Here's a simple example (snapshot from my email client):

CVSspam screenshot

It's obvious what file changed and where. What this example doesn't demonstrate is how easy it is to review a large set of changes, since each changed file is listed at the top and linked to its section. The column listing for how many lines were changed in each file is also a helpful scanning aid; I often just focus on the file with the most changes, as it is usually the one that can benefit the most from a code-review. Here is a big example report from the CVSspam site -- notice how the report found TODO and FIXME comments in the source files and made links to them.

The bottom line is that with CVSspam, informal code-reviewing just got easier.


Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Sweet, nice tool tip... by the way wend can we expect to see an alpha/beta version of Jackpot in NetBeans (January)?

    Posted by: danielmd on October 26, 2005 at 04:22 AM

  • In Eclipse IDE you can configure synchronize view o scan changes every so often and also group them by commit comment/user and it would bring a comparison editor on a double click.

    But for notifications I prefer the report sent by CruiseControl, because it would say not only what files were changed by whom (I believe it also has integration with CVSview), but also what tests are failed because of these changes.

    Posted by: euxx on October 26, 2005 at 04:34 AM

  • nice tool....

    recently I received a free license to use FishEye in my java.net projects - it is very similar to CVSspam.
    best regards, Felipe Gaúcho

    Posted by: felipegaucho on October 26, 2005 at 05:03 AM

  • I finally cleared a big roadblock keeping Jackpot from releasing, and hope to have a very early access release in two-three weeks, and a full release this spring. As soon as something is available I'll announce it here. Thanks for your patience!

    Posted by: tball on October 26, 2005 at 01:29 PM

  • @euxx: I'm no fan of Eclipse (in fact, I despise it with a passion), but even I will admit that Eclipse has very good integration with CVS.

    Posted by: rickcarson on October 26, 2005 at 07:17 PM

  • The tight CVS integration in Eclipse is probably because the developers use CVS to hack on it so it's been on the recieving end of the best sort of dogfood advantages for years now.

    I wish I could find a tool like CVSspam for Perforce...

    Posted by: quikchange on October 27, 2005 at 07:36 AM





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds