From alexey.verkhovsky at gmail.com Sun Jun 3 02:39:56 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Sun, 3 Jun 2007 00:39:56 -0600 Subject: [Cruisecontrolrb-users] How to check code coverage with rcov running under CC.rb Message-ID: <3945c4270706022339n2b4666e6y79692c3a25dde1c6@mail.gmail.com> http://nullcreations.net/entry/enforcing-spec-coverage-with-cruisecontrol-rcov-and-rspec From epugh at opensourceconnections.com Tue Jun 5 10:25:10 2007 From: epugh at opensourceconnections.com (Eric Pugh) Date: Tue, 5 Jun 2007 10:25:10 -0400 Subject: [Cruisecontrolrb-users] bad docs urls! Message-ID: <84EF63AD-569D-4745-A5DE-C3D1ABE72B66@opensourceconnections.com> Hi all, The cc.rb site at http://cruisecontrolrb.thoughtworks.com/ currently points to localhost for docs and contributing!! http://127.0.0.1:3333/documentation/contributing Cheers, Eric ------------------------------------------------------- Principal OpenSource Connections Site: http://www.opensourceconnections.com Blog: http://blog.opensourceconnections.com Cell: 1-434-466-1467 From sconover at gmail.com Sat Jun 9 00:23:44 2007 From: sconover at gmail.com (Steve Conover) Date: Fri, 8 Jun 2007 21:23:44 -0700 Subject: [Cruisecontrolrb-users] running builds sequentially Message-ID: Hi, I have a couple of shared resource constraints that make me want to run my builds in sequence. I saw an earlier email thread on this where the advice was to just hack it in. Is that still the thing to do or is there a setting somewhere that will make this happen? -Steve From averkhov at thoughtworks.com Sat Jun 9 00:29:25 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Fri, 8 Jun 2007 23:29:25 -0500 Subject: [Cruisecontrolrb-users] running builds sequentially In-Reply-To: Message-ID: Hacking it in is still the thing to do. Alex "Steve Conover" Sent by: cruisecontrolrb-users-bounces at rubyforge.org 06/08/2007 10:23 PM To cruisecontrolrb-users at rubyforge.org cc Subject [Cruisecontrolrb-users] running builds sequentially Hi, I have a couple of shared resource constraints that make me want to run my builds in sequence. I saw an earlier email thread on this where the advice was to just hack it in. Is that still the thing to do or is there a setting somewhere that will make this happen? -Steve _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070608/be9346ae/attachment.html From vcivelek at yahoo.com Tue Jun 12 04:41:04 2007 From: vcivelek at yahoo.com (Volkan Civelek) Date: Tue, 12 Jun 2007 01:41:04 -0700 Subject: [Cruisecontrolrb-users] Cruisecontrol.rb Jabber Problem Message-ID: <1181637664.5238.127.camel@vcivelek-laptop> Hi List, First of all thanks to all contributors of this neat project. Question: I couldn't make Jabber work. with --trace option i see the plugin loads... ( [debug] Loading plugin jabber_notifier ) i also enabled debugging... ( vendor/xmpp4r-0.3/lib/xmpp4r/debuglog.rb:7: @@debug = true ) but still no debug "puts" whatsoever .. before diving thru, any pointers are appreciated. thanks, volkan From thibaut.barrere at gmail.com Tue Jun 12 17:07:42 2007 From: thibaut.barrere at gmail.com (=?ISO-8859-1?Q?Thibaut_Barr=E8re?=) Date: Tue, 12 Jun 2007 23:07:42 +0200 Subject: [Cruisecontrolrb-users] Looking for a cruisecontrol host Message-ID: <4a68b8cf0706121407n11568e0bj4ccd948b8255c0b2@mail.gmail.com> Hi! I'm looking for places to host a cc.rb instance for an open-source project (comatose, a micro cms plugin for rails). By any chance, is there any known place providing free support to run cruisecontrol.rb ? (like we have rubyforge/google code for issue tracking, wiki and forums ?) best, Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070612/b159cda7/attachment.html From sean at densone.com Tue Jun 12 18:10:17 2007 From: sean at densone.com (Sean) Date: Tue, 12 Jun 2007 18:10:17 -0400 Subject: [Cruisecontrolrb-users] cruisecontrol.rb is using my production database.yml Message-ID: <074EB979-537A-4793-AFED-01485080D061@densone.com> I am wondering why cruisecontrol is using my production instead of test in my databse.yml. Is there an option for this? Sean From t.lucas at toolmantim.com Tue Jun 12 19:28:58 2007 From: t.lucas at toolmantim.com (Tim Lucas) Date: Wed, 13 Jun 2007 09:28:58 +1000 Subject: [Cruisecontrolrb-users] Looking for a cruisecontrol host In-Reply-To: <4a68b8cf0706121407n11568e0bj4ccd948b8255c0b2@mail.gmail.com> References: <4a68b8cf0706121407n11568e0bj4ccd948b8255c0b2@mail.gmail.com> Message-ID: <9C55D93E-A71C-4F8F-9D32-30FE9DC9BA55@toolmantim.com> On 13/06/2007, at 7:07 AM, Thibaut Barr?re wrote: > I'm looking for places to host a cc.rb instance for an open-source > project (comatose, a micro cms plugin for rails). > > By any chance, is there any known place providing free support to > run cruisecontrol.rb ? (like we have rubyforge/google code for > issue tracking, wiki and forums ?) This mailing list is it! :) -- tim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070613/64d48d32/attachment.html From lister at pikkle.com Wed Jun 13 02:35:35 2007 From: lister at pikkle.com (dc) Date: Wed, 13 Jun 2007 15:35:35 +0900 Subject: [Cruisecontrolrb-users] failing tests pass Message-ID: <13dbfbaf0706122335i35da0fe5uabfc5f4e1873d085@mail.gmail.com> hi - CC is happily ignoring failing tests, even tho the webpanel reports the errors in the "errors" section. I'm using cc with a rake "cruise" task.. is the output of the task somehow getting ignored? tho this doesnt make sense as the web panel happily recognizes there are errors... finished at 10:51 PM on 12 June 2007 taking 35 seconds Build Changeset Revision 3226 committed by dc on 2007-06-13 05:50:09 failing test for cc M /dev/mangajam/trunk/app/controllers/users_controller.rb Test Failures and Errors Name: test_destroy(UsersControllerTest) Type: Error Message: NoMethodError: undefined method `non_existent' for # /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:456:in `send' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/filters.rb:456:in `call' /usr/local/lib/ruby/gems/1.8/gems/actionpack--- blahblah lots of error messages. Build Log /home/dev1/dev/soma/dev/cruisecontrol/trunk/projects/Mangajam/work dev1$ ruby -e require 'rubygems' rescue nil; require 'rake'; load '/home/dev1/dev/soma/dev/cruisecontrol/trunk/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "test/unit/user_test.rb" "test/unit/transfer_observer_test.rb" "test/unit/account_test.rb" "test/unit/click_observer_test.rb" "test/unit/text_answer_test.rb" "test/unit/poll_test.rb" "test/unit/shamanga_test.rb" "test/unit/info_test.rb" "test/unit/click_test.rb" "test/unit/headline_test.rb" "test/unit/affiliate_test.rb" "test/unit/transfer_test.rb" (in /home/dev1/dev/soma/dev/cruisecontrol/trunk/projects/Mangajam/work) [CruiseControl] Invoking Rake task "cruise" cruising... Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader Started ............. Finished in 0.512729 seconds. 13 tests, 12 assertions, 0 failures, 0 errors /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" "test/functional/infos_controller_test.rb" "test/functional/affiliates_controller_test.rb" "test/functional/tests_controller_test.rb" "test/functional/login_controller_test.rb" "test/functional/clicks_controller_test.rb" "test/functional/friends_controller_test.rb" "test/functional/shamangas_controller_test.rb" "test/functional/regs_controller_test.rb" "test/functional/challenges_controller_test.rb" "test/functional/albums_controller_test.rb" "test/functional/users_controller_test.rb" "test/functional/user_profiles_controller_test.rb" "test/functional/polls_controller_test.rb" Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader Started ...........................................EEEEEEEEEEE ------------------------------------------- David "DC" Collier mailto:dc at pikkle.com +81 (0)80 6521 9559 skype: callto://d3ntaku ------------------------------------------- Pikkle ???? http://www.pikkle.com ------------------------------------------- From t.lucas at toolmantim.com Wed Jun 13 03:07:06 2007 From: t.lucas at toolmantim.com (Tim Lucas) Date: Wed, 13 Jun 2007 17:07:06 +1000 Subject: [Cruisecontrolrb-users] failing tests pass In-Reply-To: <13dbfbaf0706122335i35da0fe5uabfc5f4e1873d085@mail.gmail.com> References: <13dbfbaf0706122335i35da0fe5uabfc5f4e1873d085@mail.gmail.com> Message-ID: On 13/06/2007, at 4:35 PM, dc wrote: > CC is happily ignoring failing tests, even tho the webpanel reports > the errors in the "errors" section. CC uses the exit status to determine if the build was successful or not, not the output. My guess is that your cruise task is returning a success exit status. The easiest way to return an error exit status is by raising an exception inside the cruise task if it should fail. -- tim From jeremystellsmith at gmail.com Wed Jun 13 13:21:58 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Wed, 13 Jun 2007 10:21:58 -0700 Subject: [Cruisecontrolrb-users] failing tests pass In-Reply-To: References: <13dbfbaf0706122335i35da0fe5uabfc5f4e1873d085@mail.gmail.com> Message-ID: also, if you are using Ruby 1.8.6, this is a known bug. To fix it go back to 1.8.5. On 6/13/07, Tim Lucas wrote: > > On 13/06/2007, at 4:35 PM, dc wrote: > > > CC is happily ignoring failing tests, even tho the webpanel reports > > the errors in the "errors" section. > > CC uses the exit status to determine if the build was successful or > not, not the output. My guess is that your cruise task is returning a > success exit status. > > The easiest way to return an error exit status is by raising an > exception inside the cruise task if it should fail. > > -- tim > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070613/3e089a01/attachment-0001.html From averkhov at thoughtworks.com Wed Jun 13 13:31:07 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 13 Jun 2007 12:31:07 -0500 Subject: [Cruisecontrolrb-users] failing tests pass In-Reply-To: <13dbfbaf0706122335i35da0fe5uabfc5f4e1873d085@mail.gmail.com> Message-ID: > CC is happily ignoring failing tests, even tho the webpanel reports > the errors in the "errors" section. This is a known bug in Ruby 1.8.6. I think it has been fixed in the recent patch release. -- Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070613/f9cd1f8a/attachment.html From jseutter at gmail.com Thu Jun 14 15:47:41 2007 From: jseutter at gmail.com (Jerry Seutter) Date: Thu, 14 Jun 2007 13:47:41 -0600 Subject: [Cruisecontrolrb-users] svn co cruisecontrolrb fails - svn: PROPFIND of '/svn/trunk/rails_plugins/redcloth_template': 301 Moved Permanently (http://snafu.diarrhea.ch) Message-ID: <2c8d48d70706141247o63669ed9mca3bb863c7a4418f@mail.gmail.com> It looks like the redcloth_template svn repository has moved. When I try to do a checkout or update, I get: svn up Fetching external item into 'file_sandbox' External at revision 8. Fetching external item into 'plugins/rails_rcov' External at revision 12. Fetching external item into 'plugins/redcloth_template' svn: PROPFIND request failed on '/svn/trunk/rails_plugins/redcloth_template' svn: PROPFIND of '/svn/trunk/rails_plugins/redcloth_template': 301 Moved Permanently (http://snafu.diarrhea.ch) Snooping around, my guess is that it has moved to: http://dev.diarrhea.ch/svn/rails_plugins/trunk/redcloth_template/ but I lack the knowledge to make svn look for it at a different URL. Can someone take a look? Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070614/400862a6/attachment.html From jseutter at gmail.com Thu Jun 14 16:16:43 2007 From: jseutter at gmail.com (Jerry Seutter) Date: Thu, 14 Jun 2007 14:16:43 -0600 Subject: [Cruisecontrolrb-users] svn co cruisecontrolrb fails - svn: PROPFIND of '/svn/trunk/rails_plugins/redcloth_template': 301 Moved Permanently (http://snafu.diarrhea.ch) In-Reply-To: <2c8d48d70706141247o63669ed9mca3bb863c7a4418f@mail.gmail.com> References: <2c8d48d70706141247o63669ed9mca3bb863c7a4418f@mail.gmail.com> Message-ID: <2c8d48d70706141316p222214f1vd2484b7b65c262d@mail.gmail.com> I was able to change it with svn propedit. svn propset remains an enigma to me. Jerry On 6/14/07, Jerry Seutter wrote: > > It looks like the redcloth_template svn repository has moved. When I try > to do a checkout or update, I get: > > svn up > > Fetching external item into 'file_sandbox' > External at revision 8. > > > Fetching external item into 'plugins/rails_rcov' > External at revision 12. > > > Fetching external item into 'plugins/redcloth_template' > svn: PROPFIND request failed on > '/svn/trunk/rails_plugins/redcloth_template' > svn: PROPFIND of '/svn/trunk/rails_plugins/redcloth_template': 301 Moved > Permanently ( http://snafu.diarrhea.ch) > > > Snooping around, my guess is that it has moved to: > > http://dev.diarrhea.ch/svn/rails_plugins/trunk/redcloth_template/ > > but I lack the knowledge to make svn look for it at a different URL. Can > someone take a look? > > Thanks, > > Jerry > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070614/e27ddd38/attachment.html From RRussell at thoughtworks.com Fri Jun 15 10:13:47 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Fri, 15 Jun 2007 09:13:47 -0500 Subject: [Cruisecontrolrb-users] Is CC.rb a resource hog? Message-ID: I've heard this a couple times and wonder if other people have experienced this issue. --Rolf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070615/c4b0b7cd/attachment.html From joshknowles at gmail.com Fri Jun 15 17:19:47 2007 From: joshknowles at gmail.com (Josh Knowles) Date: Fri, 15 Jun 2007 14:19:47 -0700 Subject: [Cruisecontrolrb-users] Best Practices for Testing Multiple Databases Message-ID: On most projects I work on the development database (sqlite3) is usually different then production (mysql5). As I want to make sure I run my specs against both environments I have set up two cc projects, and configuring the two databases accordingly. This works fine but is a bit annoying as I receive duplicate emails/notifications when something non-database related breaks. Has anyone come up with a better solution for managing multiple databases? Ideally I'd like this support built right in, so that if a spec broke on both databases I only received a single notification. If this is of enough interest to others I can look at patching. Josh -- Josh Knowles joshknowles at gmail.com http://joshknowles.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070615/66eebea2/attachment.html From RRussell at thoughtworks.com Fri Jun 15 19:11:11 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Fri, 15 Jun 2007 18:11:11 -0500 Subject: [Cruisecontrolrb-users] Best Practices for Testing Multiple Databases In-Reply-To: Message-ID: If you checkout the head of CC.rb (release 1.2 in progress) you can trigger one build off of another. I believe the syntax is " project.triggered_by :other_project". So if your mysql5 build is triggered by the sqlite3 build, and the sqlite3 build breaks, then the mysql5 build won't even run. Alternately you could combine both builds into one big build that runs them sequentially. --Rolf "Josh Knowles" Sent by: cruisecontrolrb-users-bounces at rubyforge.org 06/15/2007 04:19 PM To cruisecontrolrb-users at rubyforge.org cc Subject [Cruisecontrolrb-users] Best Practices for Testing Multiple Databases On most projects I work on the development database (sqlite3) is usually different then production (mysql5). As I want to make sure I run my specs against both environments I have set up two cc projects, and configuring the two databases accordingly. This works fine but is a bit annoying as I receive duplicate emails/notifications when something non-database related breaks. Has anyone come up with a better solution for managing multiple databases? Ideally I'd like this support built right in, so that if a spec broke on both databases I only received a single notification. If this is of enough interest to others I can look at patching. Josh -- Josh Knowles joshknowles at gmail.com http://joshknowles.com _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070615/6e8b3880/attachment.html From lister at pikkle.com Sun Jun 17 23:53:21 2007 From: lister at pikkle.com (dc) Date: Mon, 18 Jun 2007 12:53:21 +0900 Subject: [Cruisecontrolrb-users] failing tests pass In-Reply-To: References: <13dbfbaf0706122335i35da0fe5uabfc5f4e1873d085@mail.gmail.com> Message-ID: <13dbfbaf0706172053y38cc6a7et261596ced1fcb0ab@mail.gmail.com> hi - thanks for the reply > > CC is happily ignoring failing tests, even tho the webpanel reports > > the errors in the "errors" section. > > This is a known bug in Ruby 1.8.6. I think it has been fixed in the recent > patch release. this is the patch of Ruby or of CC? >> The easiest way to return an error exit status is by raising an >> exception inside the cruise task if it should fail. is this true? since the test is already raising an exception, and I'm not doing anything to catch it, i dont see how catching, then raising again would help matters? thanks, /dc From jeremystellsmith at gmail.com Mon Jun 18 12:15:48 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Mon, 18 Jun 2007 09:15:48 -0700 Subject: [Cruisecontrolrb-users] failing tests pass In-Reply-To: <13dbfbaf0706172053y38cc6a7et261596ced1fcb0ab@mail.gmail.com> References: <13dbfbaf0706122335i35da0fe5uabfc5f4e1873d085@mail.gmail.com> <13dbfbaf0706172053y38cc6a7et261596ced1fcb0ab@mail.gmail.com> Message-ID: it's a patch of ruby On 6/17/07, dc wrote: > > hi - > > thanks for the reply > > > > CC is happily ignoring failing tests, even tho the webpanel reports > > > the errors in the "errors" section. > > > > This is a known bug in Ruby 1.8.6. I think it has been fixed in the > recent > > patch release. > > this is the patch of Ruby or of CC? > > >> The easiest way to return an error exit status is by raising an > >> exception inside the cruise task if it should fail. > > is this true? since the test is already raising an exception, and I'm > not doing anything to catch it, i dont see how catching, then raising > again would help matters? > > thanks, > > /dc > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070618/34eee221/attachment-0001.html From dj at collectiveinsight.net Tue Jun 19 17:18:02 2007 From: dj at collectiveinsight.net (David James) Date: Tue, 19 Jun 2007 16:18:02 -0500 Subject: [Cruisecontrolrb-users] jabber_notifier problem Message-ID: I'm having trouble getting jabber_notifier to work. I read the instructions here: http://cruisecontrolrb.thoughtworks.com/documentation/plugins/ available/jabber_notifier This line is not clear to me: > Copy jabber_notifier_plugin folder to builder_plugins/installed Does this mean... a. copy the whole folder? b. copy the contents of the folder? I've tried it both ways. In both cases I get this error from the `./ cruise start` terminal window (I left open to see log) > [fatal] [2007-06-19 16:54:50] Could not load project configuration: > undefined method `jabber_notifier' for # in ./ > script/../config/../script/../config/../app/models/project.rb: > 100:in `method_missing' Here is a snippet from my project cruise_control.rb file: > Project.configure do |project| > # Send email notifications about broken and fixed builds > project.email_notifier.emails = %w(broken_build at domain.com) > > # Set email 'from' field: > project.email_notifier.from = 'cruise at my-dev-box.com' > > project.jabber_notifier.subscribers = %w(gmail_account_1 at gmail.com) > project.jabber_notifier.account = > 'recipient_gmail_account at gmail.com' > project.jabber_notifier.password = '...' > end I had a working setup previously with email_notifier. I've tested the IM accounts separately using iChat and Adium. Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070619/fa47de62/attachment.html From dj at collectiveinsight.net Tue Jun 19 18:03:05 2007 From: dj at collectiveinsight.net (David James) Date: Tue, 19 Jun 2007 17:03:05 -0500 Subject: [Cruisecontrolrb-users] #cruisecontrolrb on irc.freenode.net Message-ID: The #cruisecontrolrb chat room is now available for your IRC'ing pleasure. -David From talrep at gmail.com Tue Jun 19 18:05:37 2007 From: talrep at gmail.com (Dmitry Verkhovsky) Date: Tue, 19 Jun 2007 18:05:37 -0400 Subject: [Cruisecontrolrb-users] jabber_notifier problem In-Reply-To: References: Message-ID: Hi, You should copy/move the entire jabber_notifier folder. As you start cruise it scans all the folders under builder_plugins/installed and tries to run init.rb from every found dir to enable the plugins. Make sure that init.rb is present under the following path: cruisecontrolrb-1.1.0/builder_plugins/installed/jabber_notifier/ Cheers, D. On 6/19/07, David James wrote: > > I'm having trouble getting jabber_notifier to work. > > I read the instructions here: > http://cruisecontrolrb.thoughtworks.com/documentation/plugins/available/jabber_notifier > > This line is not clear to me: > > Copy jabber_notifier_plugin folder to builder_plugins/installed > > > Does this mean... > a. copy the whole folder? > b. copy the contents of the folder? > > I've tried it both ways. In both cases I get this error from the > `./cruise start` terminal window (I left open to see log) > > [fatal] [2007-06-19 16:54:50] Could not load project configuration: > undefined method `jabber_notifier' for # in > ./script/../config/../script/../config/../app/models/project.rb:100:in > `method_missing' > > > Here is a snippet from my project cruise_control.rb file: > > Project.configure do |project| > # Send email notifications about broken and fixed builds > project.email_notifier.emails = %w(broken_build at domain.com) > > # Set email 'from' field: > project.email_notifier.from = 'cruise at my-dev-box.com' > > project.jabber_notifier.subscribers = %w(gmail_account_1 at gmail.com) > project.jabber_notifier.account = 'recipient_gmail_account at gmail.com' > project.jabber_notifier.password = '...' > end > > > I had a working setup previously with email_notifier. I've tested the IM > accounts separately using iChat and Adium. > > Thanks, > David > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070619/355c23e3/attachment.html From dj at collectiveinsight.net Tue Jun 19 18:39:07 2007 From: dj at collectiveinsight.net (David James) Date: Tue, 19 Jun 2007 17:39:07 -0500 Subject: [Cruisecontrolrb-users] jabber_notifier problem In-Reply-To: References: Message-ID: <0AC480DA-FB90-482B-8ABB-C0726569A871@collectiveinsight.net> Thanks for the clarification. I followed your steps and restarted cruise -- that got rid of my [fatal] error. Yay! However, cc.rb is not yet sending jabber notifications. Nothing shows up in either production.log or ProjectName_builder.log that mentions jabber. Any recommendations on how I can I further debug? Have others had success with using gmail / gtalk accounts? -David On Jun 19, 2007, at 5:05 PM, Dmitry Verkhovsky wrote: > Hi, > > You should copy/move the entire jabber_notifier folder. > As you start cruise it scans all the folders under builder_plugins/ > installed and tries to run init.rb from every found dir to enable > the plugins. > Make sure that init.rb is present under the following path: > cruisecontrolrb-1.1.0/builder_plugins/installed/jabber_notifier/ > > > Cheers, > D. > > On 6/19/07, David James < dj at collectiveinsight.net> wrote: > I'm having trouble getting jabber_notifier to work. > > I read the instructions here: > http://cruisecontrolrb.thoughtworks.com/documentation/plugins/ > available/jabber_notifier > > This line is not clear to me: >> Copy jabber_notifier_plugin folder to builder_plugins/installed > > Does this mean... > a. copy the whole folder? > b. copy the contents of the folder? > > I've tried it both ways. In both cases I get this error from the > `./cruise start` terminal window (I left open to see log) >> [fatal] [2007-06-19 16:54:50] Could not load project >> configuration: undefined method `jabber_notifier' for #> 0xb72bac34> in ./script/../config/../script/../config/../app/ >> models/project.rb:100:in `method_missing' > > Here is a snippet from my project cruise_control.rb file: >> Project.configure do |project| >> # Send email notifications about broken and fixed builds >> project.email_notifier.emails = %w(broken_build at domain.com) >> >> # Set email 'from' field: >> project.email_notifier.from = 'cruise at my-dev-box.com' >> >> project.jabber_notifier.subscribers = %w(gmail_account_1 at gmail.com) >> project.jabber_notifier.account = ' >> recipient_gmail_account at gmail.com' >> project.jabber_notifier.password = '...' >> end > > I had a working setup previously with email_notifier. I've tested > the IM accounts separately using iChat and Adium. > > Thanks, > David > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070619/ce72286f/attachment.html From dj at collectiveinsight.net Tue Jun 19 19:24:58 2007 From: dj at collectiveinsight.net (David James) Date: Tue, 19 Jun 2007 18:24:58 -0500 Subject: [Cruisecontrolrb-users] jabber_notifier problem In-Reply-To: <0AC480DA-FB90-482B-8ABB-C0726569A871@collectiveinsight.net> References: <0AC480DA-FB90-482B-8ABB-C0726569A871@collectiveinsight.net> Message-ID: <38AD7EE8-FD5F-4192-A40D-DCB7C92A31BB@collectiveinsight.net> Ok, it is working as it should. Turns out that the way that email_notifier and jabber_notififer are setup is slightly different. email_notifier : emails if the build is broken (first time and every time) or when the build is fixed jabber_notifier: emails if the build is broken (first time only) or when the build is fixed -David On Jun 19, 2007, at 5:39 PM, David James wrote: > Thanks for the clarification. I followed your steps and restarted > cruise -- that got rid of my [fatal] error. Yay! > > However, cc.rb is not yet sending jabber notifications. Nothing > shows up in either production.log or ProjectName_builder.log that > mentions jabber. > > Any recommendations on how I can I further debug? > > Have others had success with using gmail / gtalk accounts? > > -David > > On Jun 19, 2007, at 5:05 PM, Dmitry Verkhovsky wrote: > >> Hi, >> >> You should copy/move the entire jabber_notifier folder. >> As you start cruise it scans all the folders under builder_plugins/ >> installed and tries to run init.rb from every found dir to enable >> the plugins. >> Make sure that init.rb is present under the following path: >> cruisecontrolrb-1.1.0/builder_plugins/installed/jabber_notifier/ >> >> >> Cheers, >> D. >> >> On 6/19/07, David James < dj at collectiveinsight.net> wrote: >> I'm having trouble getting jabber_notifier to work. >> >> I read the instructions here: >> http://cruisecontrolrb.thoughtworks.com/documentation/plugins/ >> available/jabber_notifier >> >> This line is not clear to me: >>> Copy jabber_notifier_plugin folder to builder_plugins/installed >> >> Does this mean... >> a. copy the whole folder? >> b. copy the contents of the folder? >> >> I've tried it both ways. In both cases I get this error from the >> `./cruise start` terminal window (I left open to see log) >>> [fatal] [2007-06-19 16:54:50] Could not load project >>> configuration: undefined method `jabber_notifier' for #>> 0xb72bac34> in ./script/../config/../script/../config/../app/ >>> models/project.rb:100:in `method_missing' >> >> Here is a snippet from my project cruise_control.rb file: >>> Project.configure do |project| >>> # Send email notifications about broken and fixed builds >>> project.email_notifier.emails = %w(broken_build at domain.com) >>> >>> # Set email 'from' field: >>> project.email_notifier.from = 'cruise at my-dev-box.com' >>> >>> project.jabber_notifier.subscribers = %w >>> (gmail_account_1 at gmail.com) >>> project.jabber_notifier.account = ' >>> recipient_gmail_account at gmail.com' >>> project.jabber_notifier.password = '...' >>> end >> >> I had a working setup previously with email_notifier. I've tested >> the IM accounts separately using iChat and Adium. >> >> Thanks, >> David >> >> _______________________________________________ >> Cruisecontrolrb-users mailing list >> Cruisecontrolrb-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users >> >> > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070619/151fd3f8/attachment-0001.html From alexey.verkhovsky at gmail.com Wed Jun 20 12:17:30 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 20 Jun 2007 10:17:30 -0600 Subject: [Cruisecontrolrb-users] jabber_notifier problem In-Reply-To: References: <0AC480DA-FB90-482B-8ABB-C0726569A871@collectiveinsight.net> <38AD7EE8-FD5F-4192-A40D-DCB7C92A31BB@collectiveinsight.net> <3945c4270706191747h7f89920erf4d232049c438073@mail.gmail.com> Message-ID: <3945c4270706200917y46d1161paa3c2aedf8507299@mail.gmail.com> Below should have been sent to the maillist: On 6/19/07, Alexey Verkhovsky wrote: > On 6/19/07, David James wrote: > > jabber_notifier: emails if the build is broken (first time only) or when the > > build is fixed > > Sounds like a bug. Is there any reason it shouldn't do the same as > email notifier? On 6/20/07, David James wrote: > After looking at the code, it is either a bug or a design choice :) I would > say that it looks more like a design choice -- there doesn't appear to be > any "unintended consequence" of the way it is currently written. I mean, it looks like a surprising (therefore, bad) design choice. -- Alex From alexey.verkhovsky at gmail.com Wed Jun 20 23:45:18 2007 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Wed, 20 Jun 2007 21:45:18 -0600 Subject: [Cruisecontrolrb-users] jabber_notifier problem In-Reply-To: <3945c4270706200917y46d1161paa3c2aedf8507299@mail.gmail.com> References: <0AC480DA-FB90-482B-8ABB-C0726569A871@collectiveinsight.net> <38AD7EE8-FD5F-4192-A40D-DCB7C92A31BB@collectiveinsight.net> <3945c4270706191747h7f89920erf4d232049c438073@mail.gmail.com> <3945c4270706200917y46d1161paa3c2aedf8507299@mail.gmail.com> Message-ID: <3945c4270706202045k4418c66fu70eeece5fee05116@mail.gmail.com> On 6/20/07, Alexey Verkhovsky wrote: > > On 6/19/07, David James wrote: > > > jabber_notifier: emails if the build is broken (first time only) or when the > > > build is fixed OK, I just checked in something to change that. In version 1.2 Jabber notifier will be just as annoying as the email notifier. Also, while we were at that, we added the URL to the message. Now, a patch to do the same thing to Growl notifier would be welcome. I could easily do it myself, except that I have no Mac to test it on, and I don't like to rely solely on unit tests in these matters. -- Alex Verkhovsky From alex.kira at gmail.com Thu Jun 21 09:46:26 2007 From: alex.kira at gmail.com (Alex Kira) Date: Thu, 21 Jun 2007 09:46:26 -0400 Subject: [Cruisecontrolrb-users] CruiseControl with foreign key migrations Message-ID: <5c571b8e0706210646l5736fa59n5c8ebf2588d461b5@mail.gmail.com> Hi Everyone, I am trying to get CruiseControl running using migrations with foreign keys, and I'm having some difficulties. I have a project that builds and passes CC.rb . I can add some manual foreign key creation to the migration scrips, and everything works fine outside of cruisecontrol. (everything works fine running rake from command line, even in the cruisecontrol work directory). However, once I run the build from inside CruiseControl, it fails with this error: [CruiseControl] Invoking Rake task "test" /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb" Mysql::Error: Table 'apples' already exists: CREATE TABLE apples (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `color` varchar(255) DEFAULT NULL, `size` varchar(255) DEFAULT NULL) ENGINE=InnoDB /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log' /usr/lib/ruby/gems/1.8/gems Here is a simple example that this happens with: create_table :apples do |t| t.column :color, :string t.column :size, :string end create_table :oranges do |t| t.column :name, :string t.column :apple_id, :integer end execute "alter table oranges add constraint fk_oranges_apples foreign key (apple_id) references apples(id)" And it results with the error above. This happens even if I add a "drop foreign" key in my down script before dropping the table. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070621/5aa9e123/attachment.html From averkhov at thoughtworks.com Sat Jun 23 20:24:29 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Sat, 23 Jun 2007 19:24:29 -0500 Subject: [Cruisecontrolrb-users] test Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070623/734a0338/attachment.html From paul at 82ask.com Sat Jun 30 11:19:45 2007 From: paul at 82ask.com (Paul Butcher) Date: Sat, 30 Jun 2007 16:19:45 +0100 Subject: [Cruisecontrolrb-users] Using post-commit hooks to trigger builds? Message-ID: We've just set up CruiseControl.rb to build our 6 ongoing Ruby on Rails projects. It's great, but unfortunately the people who host our Subversion repository can't cope with 6 projects polling the server every 10 seconds :-( For the time being, we've reduced the polling interval to 5 minutes, but the obvious long-term fix is to trigger builds from a post-commit hook. Before I write anything, can I confirm that nobody has already done something like this? Thanks! ------------------------------------------------ Paul Butcher CTO 82ASK Mobile: +44 (0) 7740 857648 Main: +44 (0) 1223 309080 Fax: +44(0) 1223 309082 Email: paul at 82ask.com MSN: paul at paulbutcher.com AIM: paulrabutcher Skype: paulrabutcher LinkedIn: http://www.linkedin.com/in/paulbutcher ------------------------------------------------ Re5ult Limited Registered in England No 04909795 VAT registration number GB 849 201 231. Registered office 74 Eden Street Cambridge CB1 1EL This email is confidential. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact us immediately.