Rails plugin - svn_messages (updated)
I created a rails plugin to help me keep clients up to date on the status of projects. This post is an update to the original svn_messages plugin.
The plugin now uses capistrano 2 (Multistage). I use it in 2 instances – whenever I deploy a site, and whenever I send a weekly status report. For a deployment, this is what I type at the command line:
cap staging svn:deployment_report
This gives me the following output:
Deployment to staging (Revision 34) I deployed the latest. It includes: * Started adding user registration system. (domelia) * Now translating validation errors and their attribute names. (bjones) * Reorganized views a bit. (domelia) * Now sending activation email when user signs up. (fsmith) * Added support for "remember me" when logging in. (domelia)I could have also typed:
cap production svn:deployment_report
For a weekly status report, I type the following:
cap svn:messages r=70 u=domelia
70 is the oldest subversion revision I care about. domelia is me. I specify this because I only care about the svn commits that I personally made. This gives me the following output:
* Started adding user registration system. * Reorganized views a bit. * Added support for "remember me" when logging in.
I like the plugin because I can keep clients up to date and spend very little time doing it.
To install:
svn export https://terralien.devguard.com/svn/projects/plugins/svn_messages vendor/plugins/svn_messagesbefore "deploy:update_code", "svn:deployment_report"


Duff OMelia said,
January 15th, 2008 at 07:49 AM
Thanks to Matthew Bass for the suggestion to hide the author if the ‘u=’ option is specified.