CCers: http://www.oreillynet.com/ruby/blog/2008/03/cruisecontrol_charts.html That "architectural spike" adds Gnuplot charts of ''rake stats'' outputs to a new view, such as http://localhost:3333/projects/statistics/lemmings New question: How to productize this, as a plugin? A full Rails plugin, with generators to add controllers and views, seems to be overkill! -- Phlip
Chad Woolley
2008-Mar-18 17:21 UTC
[Cruisecontrolrb-users] [ANN] rake stats charts for CC.rb
On Tue, Mar 18, 2008 at 8:20 AM, Phlip <phlip2005 at gmail.com> wrote:> New question: How to productize this, as a plugin? A full Rails plugin, with > generators to add controllers and views, seems to be overkill!Nice. Could it be a ccrb plugin?
Chad Woolley wrote:>> New question: How to productize this, as a plugin? A full Rails plugin, with >> generators to add controllers and views, seems to be overkill!> Nice. Could it be a ccrb plugin?A builder_plugins/ plugin? I (briefly) didn''t see a way to wedge in a new action. The long round-trip, which I alluded to, is a Rails plugin with a generator that deltas a new action into the existing controller. Etc. Nuking a gnat... I could move all the extensions to one file, then ask the user to require ''statistician'' to pull everything in. Then if CC itself had a system to pull in registered plugins, the user could get the feature by moving statistician.rb into the /installed/ folder. And installing gnuplot.rb and Gnuplot. (-; -- Phlip http://assert2.rubyforge.org/