From jeremystellsmith at gmail.com Fri Mar 2 15:59:17 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Fri, 2 Mar 2007 12:59:17 -0800 Subject: [Cruisecontrolrb-developers] Cruise is now more configurable Message-ID: Some of this stuff worked in theory before, but now it actually works :) You can configure certain things at the site level. First, copy [cruise]/config/site_config_example.rb to [cruise]/config/site_config.rb. 1) You can now place your [projects] directory outside of your [cruise] directory. This is helpful if say your editor is too lame to ignore directories in your project. in site_config.rb, put : Configuration.projects_directory = "/Users/jeremy/cruise_projects" 2) To set the default page for the site to something other than the list of projects, put this in site_config.rb : Configuration.default_page = {:controller => 'documentation', :action => 'get', :path => ['index.html']} ActionController::Routing::Routes.reload We're doing this for http://cruisecontrolrb.thoughtworks.com/, but if you need to do this, you can do it as well. Just replace the contents of the hash with what you want to put there. Jeremy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070302/9b933bf2/attachment.html From rolfrussell at yahoo.com Sat Mar 3 17:58:34 2007 From: rolfrussell at yahoo.com (Rolf Russell) Date: Sat, 3 Mar 2007 14:58:34 -0800 (PST) Subject: [Cruisecontrolrb-developers] Fw: Google Alert - cruisecontrol.rb Message-ID: <20070303225834.5409.qmail@web32801.mail.mud.yahoo.com> More alerts every day. Check out the first one. Someone is using cc.rb to build windows installers on linux with NSIS (Nullsoft Scriptable Install System) which has its own scripting language. How's that for evidence how easy it is to use cc.rb for languages other than ruby? I added an internationalization bug to jira based on the second blog entry. --Rolf ----- Forwarded Message ---- From: Google Alerts To: rolfrussell at yahoo.com Sent: Saturday, March 3, 2007 4:39:35 PM Subject: Google Alert - cruisecontrol.rb Google Blogs Alert for: cruisecontrol.rb Native NSIS installer builds under Linux -a HOWTO By cch1 My build system is now completely hands off (tied into subversion via CruiseControl.rb). All I do is check in a new revision, and a couple of minutes later I have a new installer that is automatically put into the ftp repository. ... Chris Cruft - http://cho.hapgoods.com/wordpress Continous Integration for Ruby with Cruise Control By Administrator But the thoughworker end this pain with cruisecontrol.rb. cruisecontrol.rb comes as a rails application, after you unpacked the download you just type cruise add projektname --url svn-url to add you project to the CI process and than ... FreakLikeMe - http://www.freaklikeme.de/blog Converting into LOG CruiseControl.rb: http://cruisecontrolrb.thoughtworks.com/documentation/index.html or other build projects. They support email, report gathering of xUnit style reports and custom build artifacts (ie a log file that you might want to ... OpenQA Forums : Thread List -... - http://forums.openqa.org New Continuous Integration server - CruiseControl.rb By Tadatoshi(Tadatoshi) CruiseControl.rb. It's very nice. And it's based on Ruby on Rails. Reading its code is a fun, too. I heard that the version 1 would be released soon. Tadatoshi's Blog - http://tadatoshi.blogspot.com/index.html Google Web Alert for: cruisecontrol.rb CruiseControl.rb CruiseControl.rb is a continuous integration tool. ... Here is a public CruiseControl.rb instance building itself and some other open-source projects. ... CruiseControl.rb Build history. 54.2 (23 Feb) ? 54.1 (23 Feb) ? 54 (23 Feb) ? 53 (23 Feb) FAILED ? 52.7 (23 Feb) FAILED ? 52.6 (23 Feb) FAILED ? 52.5 (23 Feb) FAILED ... crusers : CRUSERS Links for CruiseControl.rb. Dear fellow crusers, Many thanks to all who ... Here are some links related to the CruiseControl.rb project: * Martin Fowler's ... This as-it-happens Google Alert is brought to you by Google. Remove this alert. Create another alert. Manage your alerts. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070303/98831c2c/attachment-0001.html From robert.postill at googlemail.com Sun Mar 4 02:24:23 2007 From: robert.postill at googlemail.com (Robert Postill) Date: Sun, 4 Mar 2007 18:24:23 +1100 Subject: [Cruisecontrolrb-developers] Patch for subversion.rb Message-ID: Hi, I downloaded cruisecontrol last week and started using it. Thanks very much for a cool project. Unfortunately my initial tinkerings proved a little difficult as I use a file based svn repository which has spaces in the name. The initial download choked as the shell command misunderstood the spaces. So a little bit of fiddling later and I created the attached (very minor) patch (file and diff output). Also is there a plan to put the code into a subversion repository? Thanks Robert -------------- next part -------------- A non-text attachment was scrubbed... Name: subversion.rb Type: application/octet-stream Size: 2752 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070304/3c03613c/attachment.obj -------------- next part -------------- --- subversion.rb 2007-03-04 17:34:57.000000000 +1100 +++ subversion.rb.new 2007-03-04 17:34:00.000000000 +1100 @@ -17,10 +17,10 @@ def checkout(target_directory, revision = nil) @url or raise 'URL not specified' - cmd = "svn --non-interactive co #{@url} #{target_directory}" - cmd << " --username #{@username}" if username - cmd << " --password #{@password}" if password - cmd << " --revision #{revision_number(revision)}" if revision + cmd = %Q{svn --non-interactive co "#{@url}" "#{target_directory}"} + cmd << %Q{ --username "#{@username}"} if username + cmd << %Q{ --password "#{@password}"} if password + cmd << %Q{ --revision "#{revision_number(revision)}"} if revision # need to read from command output, because otherwise tests break execute(cmd) { |io| io.readlines } From Robert.Postill at sensis.com.au Sun Mar 4 16:58:54 2007 From: Robert.Postill at sensis.com.au (Postill, Robert) Date: Mon, 5 Mar 2007 08:58:54 +1100 Subject: [Cruisecontrolrb-developers] (no subject) Message-ID: Hi, I downloaded cruisecontrol last week and started using it. Thanks very much for a cool project. Unfortunately my initial tinkerings proved a little difficult as I use a file based svn repository which has spaces in the name. The initial download of the repository choked as the shellcommand misunderstood the spaces. So a little bit of fiddling later and I created the attached (very minor) patch (file and diff output). Also is there a plan to put the source code into a subversion repository? Thanks Robert Sensis. Australia's leading information resource. Making complex lives simpler by helping you find, buy and sell. www.about.sensis.com.au www.sensis.com.au www.yellow.com.au www.whitepages.com.au www.citysearch.com.au www.whereis.com.au www.gostay.com.au www.smallbusiness.sensis.com.au www.justlisted.com.au www.linkme.com.au www.telstra.com.au www.tradingpost.com.au www.universalpublishers.com.au www.invizage.com.au Sensis cares for the environment - think before you print. This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged. Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email. If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 8653 5000] -------------- next part -------------- A non-text attachment was scrubbed... Name: subversion.rb Type: application/octet-stream Size: 2753 bytes Desc: subversion.rb Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070305/b48e5da8/attachment.obj -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diff.txt Url: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070305/b48e5da8/attachment.txt From averkhov at thoughtworks.com Mon Mar 5 17:04:23 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Mon, 5 Mar 2007 16:04:23 -0600 Subject: [Cruisecontrolrb-developers] Patch for subversion.rb In-Reply-To: Message-ID: Thanks for the heads-up. Your patch actually breaks unit tests on my computer, so we cannot apply it directly. I think, the right solution is to provide escape_and_quote() method to CommandLine clients and make them responsible for calling it on appropriate parts of the shell command they want executed. So, I recorded this as a bug in JIRA: http://jira.public.thoughtworks.org/browse/CCRB-8, we'll get to it after 1.0 release. Meantime, you'll have to either move that repository or live with a patched version. By the way, try replacing spaces with %20 (URI escape sequence for a space character). This may be a workaround, too. Alex "Robert Postill" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/04/2007 01:24 AM To cruisecontrolrb-developers at rubyforge.org cc Subject [Cruisecontrolrb-developers] Patch for subversion.rb Hi, I downloaded cruisecontrol last week and started using it. Thanks very much for a cool project. Unfortunately my initial tinkerings proved a little difficult as I use a file based svn repository which has spaces in the name. The initial download choked as the shell command misunderstood the spaces. So a little bit of fiddling later and I created the attached (very minor) patch (file and diff output). Also is there a plan to put the code into a subversion repository? Thanks Robert _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070305/9083d0cb/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: subversion.rb Type: application/octet-stream Size: 2753 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070305/9083d0cb/attachment.obj -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: diff.txt Url: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070305/9083d0cb/attachment.txt From RRussell at thoughtworks.com Tue Mar 6 17:18:28 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Tue, 6 Mar 2007 16:18:28 -0600 Subject: [Cruisecontrolrb-developers] Fw: CruiseControl RB's screencasts link broken Message-ID: __________________ Rolf Russell Innovation Facilitator ThoughtWorks Inc +1 312 925 0608 ----- Forwarded by Rolf Russell/UK/ThoughtWorks on 03/06/2007 04:18 PM ----- Barrow Kwan 03/06/2007 04:01 PM To Rolf Russell cc Subject CruiseControl RB's screencasts link broken http://cruisecontrolrb.thoughtworks.com/documentation/screencasts.html Barrow Kwan ThoughtWorks Inc 410 Townsend St, 4th Floor San Francisco, CA 94107 USA (415)869-3103 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070306/0412a236/attachment-0001.html From averkhov at thoughtworks.com Wed Mar 7 01:12:21 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 7 Mar 2007 00:12:21 -0600 Subject: [Cruisecontrolrb-developers] Patch for subversion.rb In-Reply-To: Message-ID: Unit tests are all packaged with the app. Just run rake on it. Alex "Postill, Robert" 03/06/2007 04:41 PM To "Alexey Verkhovsky" cc Subject RE: [Cruisecontrolrb-developers] Patch for subversion.rb Alex, Thanks for your response. Is it possible to get a copy of the unit tests so I can have a stab at getting a patch together? That way you can concentrate on your v1 target and I can do something that I know won?t require major rework after the v1 release. Regards Robert From: cruisecontrolrb-developers-bounces at rubyforge.org [mailto:cruisecontrolrb-developers-bounces at rubyforge.org] On Behalf Of Alexey Verkhovsky Sent: Tuesday, 6 March 2007 9:04 AM To: cruisecontrolrb-developers at rubyforge.org Subject: Re: [Cruisecontrolrb-developers] Patch for subversion.rb Thanks for the heads-up. Your patch actually breaks unit tests on my computer, so we cannot apply it directly. I think, the right solution is to provide escape_and_quote() method to CommandLine clients and make them responsible for calling it on appropriate parts of the shell command they want executed. So, I recorded this as a bug in JIRA: http://jira.public.thoughtworks.org/browse/CCRB-8, we'll get to it after 1.0 release. Meantime, you'll have to either move that repository or live with a patched version. By the way, try replacing spaces with %20 (URI escape sequence for a space character). This may be a workaround, too. Alex "Robert Postill" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/04/2007 01:24 AM To cruisecontrolrb-developers at rubyforge.org cc Subject [Cruisecontrolrb-developers] Patch for subversion.rb Hi, I downloaded cruisecontrol last week and started using it. Thanks very much for a cool project. Unfortunately my initial tinkerings proved a little difficult as I use a file based svn repository which has spaces in the name. The initial download choked as the shell command misunderstood the spaces. So a little bit of fiddling later and I created the attached (very minor) patch (file and diff output). Also is there a plan to put the code into a subversion repository? Thanks Robert _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers Sensis. Australia's leading information resource. Making complex lives simpler by helping you find, buy and sell. www.about.sensis.com.au www.sensis.com.au www.yellow.com.au www.whitepages.com.au www.citysearch.com.au www.whereis.com.au www.gostay.com.au www.smallbusiness.sensis.com.au www.justlisted.com.au www.linkme.com.au www.telstra.com.au www.tradingpost.com.au www.universalpublishers.com.au www.invizage.com.au Sensis cares for the environment - think before you print. This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged. Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email. If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 8653 5000] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070307/4e8f98f1/attachment.html From LHuang at thoughtworks.com Wed Mar 7 03:28:50 2007 From: LHuang at thoughtworks.com (Liang Huang) Date: Wed, 7 Mar 2007 02:28:50 -0600 Subject: [Cruisecontrolrb-developers] functional tests of cc.rb Message-ID: An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070307/83058f02/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: ccrb_test.xls Type: application/msexcel Size: 100864 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070307/83058f02/attachment-0001.bin From talrep at gmail.com Wed Mar 7 08:36:27 2007 From: talrep at gmail.com (Dmitry Verkhovsky) Date: Wed, 7 Mar 2007 15:36:27 +0200 Subject: [Cruisecontrolrb-developers] Patch for subversion.rb In-Reply-To: References: Message-ID: Hi, > Also is there a plan to put the code into a subversion repository? The code is in rubyforge SVN repository (http://rubyforge.org/scm/?group_id=2918). Project summary page claims it to have 0 updates and 0 adds, but everything is there. Regards, Dmitry On 3/4/07, Robert Postill wrote: > Hi, > I downloaded cruisecontrol last week and started using it. Thanks > very much for a cool project. Unfortunately my initial tinkerings > proved a little difficult as I use a file based svn repository which > has spaces in the name. The initial download choked as the shell > command misunderstood the spaces. So a little bit of fiddling later > and I created the attached (very minor) patch (file and diff output). > > Also is there a plan to put the code into a subversion repository? > > Thanks > Robert > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > > From jeremystellsmith at gmail.com Wed Mar 7 21:51:14 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Wed, 7 Mar 2007 18:51:14 -0800 Subject: [Cruisecontrolrb-developers] creating a gem for cc.rb Message-ID: (I'm cc'ing the ccrb-dev list) I've done a bit of thinking about this task. My thoughts : In addition to alex's points. There is the problem of where to put things that don't get overwritten on an install. I think probably there should be a "~/cruisecontrol" directory, and inside should live the "projects" directory, as well as "plugins" Install should be : sudo gem install cruisecontrol cruise add "MyProject" -u http://my.box.com/svn/myproject/trunk cruise start and we need to be sure that we can handle gem update cruisecontrol or it's not worth it. However, my guess is, if we do it right, we can make it much less painful to install and stay up to date using gems. we also need to figure out : how do we update plugins that we maintain and that are versioned with cruise? maybe there are 2 plugin directories and the user one superseeds ours. we may need a new mechanism for "installing" a plugin. maybe there should be a plugins.rb file inside of the ~/cruisecontrol/plugins directory that looks like Project.config do |project| project.use_plugin :logger project.use_plugin :email_notifier # project.use_plugin :jabber ... end Good luck, Jeremy Alexey Verkhovsky/Canada/ThoughtWorks wrote on 03/06/2007 09:50:32 PM: > Yeah. There is a problem there. Dashboard and builder need to have > write permissions for certain directories. Namely, log, projects, tmp > and public (the latter is for cached pages, which we don't have now, > but we totally should). And I may be missing some. > > When you do gem install, you must do it as root, and all those > directories are owned by root with 755 mask. > But when you run the app, it must not be running with root privileges. > This is the problem. It doesn't have any easy solutions that I'm aware > of, especially the ./public. I'd say, you should look for a solution, > but time-box it to a day max. The real value of this story is > marginal, and the associated cost may be fairly high. > > Alex > > Sidu Ponnappa Kariappa Chonira/India/ThoughtWorks > 03/06/2007 11:47 AM > > To > > Alexey Verkhovsky/Canada/ThoughtWorks at ThoughtWorks > > cc > > Subject > > Creating a gem for cc.rb > > Hi Alexey, > > Sorry for the long silence. I was hoping I could pick up the 'gem > install' task. I took a look at it and there already is a task in > package.rake - what I could see needed doing was: > - create an executable which allows for the cc.rb server to be > launched as well as allows adding new projects > > Is this OK? Is there anything else I should know? (this is the first > time I am tackling Rake and Gems) > > Cheers, > Sidu. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070307/aa58f66c/attachment.html From RRussell at thoughtworks.com Thu Mar 8 09:58:44 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Thu, 8 Mar 2007 08:58:44 -0600 Subject: [Cruisecontrolrb-developers] creating a gem for cc.rb In-Reply-To: Message-ID: Mongrel uses GemPlugins. It might be overkill for us, but what do you guys think? http://mongrel.rubyforge.org/gem_plugin_rdoc/index.html "Jeremy Stell-Smith" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/07/2007 08:51 PM To cruisecontrolrb-developers at rubyforge.org, schonira at thoughtworks.com cc Subject [Cruisecontrolrb-developers] creating a gem for cc.rb (I'm cc'ing the ccrb-dev list) I've done a bit of thinking about this task. My thoughts : In addition to alex's points. There is the problem of where to put things that don't get overwritten on an install. I think probably there should be a "~/cruisecontrol" directory, and inside should live the "projects" directory, as well as "plugins" Install should be : sudo gem install cruisecontrol cruise add "MyProject" -u http://my.box.com/svn/myproject/trunk cruise start and we need to be sure that we can handle gem update cruisecontrol or it's not worth it. However, my guess is, if we do it right, we can make it much less painful to install and stay up to date using gems. we also need to figure out : how do we update plugins that we maintain and that are versioned with cruise? maybe there are 2 plugin directories and the user one superseeds ours. we may need a new mechanism for "installing" a plugin. maybe there should be a plugins.rb file inside of the ~/cruisecontrol/plugins directory that looks like Project.config do |project| project.use_plugin :logger project.use_plugin :email_notifier # project.use_plugin :jabber ... end Good luck, Jeremy Alexey Verkhovsky/Canada/ThoughtWorks wrote on 03/06/2007 09:50:32 PM: > Yeah. There is a problem there. Dashboard and builder need to have > write permissions for certain directories. Namely, log, projects, tmp > and public (the latter is for cached pages, which we don't have now, > but we totally should). And I may be missing some. > > When you do gem install, you must do it as root, and all those > directories are owned by root with 755 mask. > But when you run the app, it must not be running with root privileges. > This is the problem. It doesn't have any easy solutions that I'm aware > of, especially the ./public. I'd say, you should look for a solution, > but time-box it to a day max. The real value of this story is > marginal, and the associated cost may be fairly high. > > Alex > > Sidu Ponnappa Kariappa Chonira/India/ThoughtWorks > 03/06/2007 11:47 AM > > To > > Alexey Verkhovsky/Canada/ThoughtWorks at ThoughtWorks > > cc > > Subject > > Creating a gem for cc.rb > > Hi Alexey, > > Sorry for the long silence. I was hoping I could pick up the 'gem > install' task. I took a look at it and there already is a task in > package.rake - what I could see needed doing was: > - create an executable which allows for the cc.rb server to be > launched as well as allows adding new projects > > Is this OK? Is there anything else I should know? (this is the first > time I am tackling Rake and Gems) > > Cheers, > Sidu. _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070308/22f5c20f/attachment.html From averkhov at thoughtworks.com Thu Mar 8 13:07:52 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 8 Mar 2007 12:07:52 -0600 Subject: [Cruisecontrolrb-developers] creating a gem for cc.rb In-Reply-To: Message-ID: And maybe (just maybe) all this is too much hassle to be worth it. Which will be a repeat of my experience with gem packaging Instiki. Alex "Jeremy Stell-Smith" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/07/2007 07:51 PM To cruisecontrolrb-developers at rubyforge.org, schonira at thoughtworks.com cc Subject [Cruisecontrolrb-developers] creating a gem for cc.rb (I'm cc'ing the ccrb-dev list) I've done a bit of thinking about this task. My thoughts : In addition to alex's points. There is the problem of where to put things that don't get overwritten on an install. I think probably there should be a "~/cruisecontrol" directory, and inside should live the "projects" directory, as well as "plugins" Install should be : sudo gem install cruisecontrol cruise add "MyProject" -u http://my.box.com/svn/myproject/trunk cruise start and we need to be sure that we can handle gem update cruisecontrol or it's not worth it. However, my guess is, if we do it right, we can make it much less painful to install and stay up to date using gems. we also need to figure out : how do we update plugins that we maintain and that are versioned with cruise? maybe there are 2 plugin directories and the user one superseeds ours. we may need a new mechanism for "installing" a plugin. maybe there should be a plugins.rb file inside of the ~/cruisecontrol/plugins directory that looks like Project.config do |project| project.use_plugin :logger project.use_plugin :email_notifier # project.use_plugin :jabber ... end Good luck, Jeremy Alexey Verkhovsky/Canada/ThoughtWorks wrote on 03/06/2007 09:50:32 PM: > Yeah. There is a problem there. Dashboard and builder need to have > write permissions for certain directories. Namely, log, projects, tmp > and public (the latter is for cached pages, which we don't have now, > but we totally should). And I may be missing some. > > When you do gem install, you must do it as root, and all those > directories are owned by root with 755 mask. > But when you run the app, it must not be running with root privileges. > This is the problem. It doesn't have any easy solutions that I'm aware > of, especially the ./public. I'd say, you should look for a solution, > but time-box it to a day max. The real value of this story is > marginal, and the associated cost may be fairly high. > > Alex > > Sidu Ponnappa Kariappa Chonira/India/ThoughtWorks > 03/06/2007 11:47 AM > > To > > Alexey Verkhovsky/Canada/ThoughtWorks at ThoughtWorks > > cc > > Subject > > Creating a gem for cc.rb > > Hi Alexey, > > Sorry for the long silence. I was hoping I could pick up the 'gem > install' task. I took a look at it and there already is a task in > package.rake - what I could see needed doing was: > - create an executable which allows for the cc.rb server to be > launched as well as allows adding new projects > > Is this OK? Is there anything else I should know? (this is the first > time I am tackling Rake and Gems) > > Cheers, > Sidu. _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070308/070ed7ef/attachment-0001.html From averkhov at thoughtworks.com Sat Mar 10 00:22:53 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Fri, 9 Mar 2007 23:22:53 -0600 Subject: [Cruisecontrolrb-developers] TW = Rails' build monkey Message-ID: Hi all, We had an email conversation with Jeremy Kemper (aka bitsweat) yesterday, and decided that ThoughtWorks should do something about Rails' continuous integration. The idea is to set up a rig that would test new commits against multiple database/OS combinations. It'll take some time to implement the whole thing. Just to get the ball rolling I've set up a build for ActiveRecord with MySQL here: http://cruisecontrolrb.thoughtworks.com/projects Obviously, we are doing it with CC.rb :) Best regards, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070309/ebaf45a4/attachment.html From averkhov at thoughtworks.com Sun Mar 11 11:12:39 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Sun, 11 Mar 2007 10:12:39 -0500 Subject: [Cruisecontrolrb-developers] Subversion can talk in XML Message-ID: I say: whoa! Alex c:\projects\ccrb>svn log -r 330:HEAD --xml alexeyv 2007-03-10T03:27:25.427002Z Turning HTTP sessions off. We dont need no frigging sessions! alexeyv 2007-03-10T21:44:17.934222Z Fixing RSS feed link alexeyv 2007-03-11T04:04:10.908457Z Cache documentation pages, no reason to rerender them all the time alexeyv 2007-03-11T04:23:20.426332Z cruise_config.rb.example alexeyv 2007-03-11T04:29:46.680673Z Fixed an accidental correctness bug related to Time -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070311/7ac7aea4/attachment.html From averkhov at thoughtworks.com Mon Mar 12 01:41:24 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Mon, 12 Mar 2007 00:41:24 -0500 Subject: [Cruisecontrolrb-developers] Release 1.0 In-Reply-To: Message-ID: Hi, all I've tagged, packaged and uploaded version 1.0 files to RubyForge. Let's hype it up tomorrow. :) Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070312/dd3a65b7/attachment.html From RRussell at thoughtworks.com Mon Mar 12 11:11:26 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Mon, 12 Mar 2007 10:11:26 -0500 Subject: [Cruisecontrolrb-developers] Release 1.0 In-Reply-To: Message-ID: Whooohooo! Hype away - I'll email Paul Julius to put it on the CC.java site. Let's get as many blogs and articles as we can. --Rolf Alexey Verkhovsky Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/12/2007 12:41 AM To cruisecontrolrb-developers at rubyforge.org cc Subject [Cruisecontrolrb-developers] Release 1.0 Hi, all I've tagged, packaged and uploaded version 1.0 files to RubyForge. Let's hype it up tomorrow. :) Alex_______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070312/bdb5355e/attachment.html From RRussell at thoughtworks.com Mon Mar 12 11:30:48 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Mon, 12 Mar 2007 10:30:48 -0500 Subject: [Cruisecontrolrb-developers] Fw: jbehave failed build Message-ID: What do you guys think? ----- Forwarded by Rolf Russell/UK/ThoughtWorks on 03/12/2007 10:29 AM ----- Elizabeth Keogh/UK/ThoughtWorks 03/12/2007 06:11 AM To Rolf Russell/UK/ThoughtWorks at ThoughtWorks cc dev at jbehave.codehaus.org Subject Re: jbehave failed build Hi Rolf, >From the logs, it looks as though JBehave is having trouble running Swing. The build works just fine on my machine! This is interesting though: [run behaviours] 1) WindowGrabber should add new windows to and remove new windows from mini map: [run behaviours] java.lang.InternalError: Can't connect to window server - not enough permissions. [run behaviours] at java.lang.ClassLoader$NativeLibrary.load(Native Method) [run behaviours] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) [run behaviours] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) [run behaviours] at java.lang.Runtime.loadLibrary0(Runtime.java:822) Has something changed on the server on your side? These behaviours were running without failing the build before... It should be possible to run these in headless mode (will throw a PendingException but won't fail the build). It's not working at the moment, though, so it's on my list. Thank you for letting us know! Cheers, Liz. -- Elizabeth Keogh liz at thoughtworks.com http://www.livejournal.com/users/sirenian Rolf Russell/UK/ThoughtWorks wrote on 10/03/2007 21:49:35: > http://cruisecontrolrb.thoughtworks.com/builds/JBehave/701 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070312/a4609e5d/attachment.html From averkhov at thoughtworks.com Tue Mar 13 00:49:40 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Mon, 12 Mar 2007 23:49:40 -0500 Subject: [Cruisecontrolrb-developers] Announced CC.rb 1.0 to the world Message-ID: Hi all, Announcements to Ruby-talk, Rails-talk and an assortment of smaller groups that I happen to be a member of are all out. Shudders... Now we shall just watch the downloads count at http://rubyforge.org/frs/?group_id=2918. At the time of this writing it stands at 325. If and when it reaches 10,000, we can all rest on the laurels. Meantime, all of you with blogs who are reading this, come on, give us some link loving :) Best regards, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070312/75696dae/attachment.html From averkhov at thoughtworks.com Tue Mar 13 00:57:01 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Mon, 12 Mar 2007 23:57:01 -0500 Subject: [Cruisecontrolrb-developers] Fw: jbehave failed build In-Reply-To: Message-ID: I, for one, can say nothing smart until I know what is it that does not have "enough permissions"? Which native library throws the exception,and what is it trying to connect to? By the way, the latest build had this to say instead: BUILD FAILED ./build.xml:107: The type doesn't support the "clonevm" attribute Alex Rolf Russell Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/12/2007 09:30 AM To cruisecontrolrb-developers at rubyforge.org cc Subject [Cruisecontrolrb-developers] Fw: jbehave failed build What do you guys think? ----- Forwarded by Rolf Russell/UK/ThoughtWorks on 03/12/2007 10:29 AM ----- Elizabeth Keogh/UK/ThoughtWorks 03/12/2007 06:11 AM To Rolf Russell/UK/ThoughtWorks at ThoughtWorks cc dev at jbehave.codehaus.org Subject Re: jbehave failed buildLink Hi Rolf, >From the logs, it looks as though JBehave is having trouble running Swing. The build works just fine on my machine! This is interesting though: [run behaviours] 1) WindowGrabber should add new windows to and remove new windows from mini map: [run behaviours] java.lang.InternalError: Can't connect to window server - not enough permissions. [run behaviours] at java.lang.ClassLoader$NativeLibrary.load(Native Method) [run behaviours] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) [run behaviours] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) [run behaviours] at java.lang.Runtime.loadLibrary0(Runtime.java:822) Has something changed on the server on your side? These behaviours were running without failing the build before... It should be possible to run these in headless mode (will throw a PendingException but won't fail the build). It's not working at the moment, though, so it's on my list. Thank you for letting us know! Cheers, Liz. -- Elizabeth Keogh liz at thoughtworks.com http://www.livejournal.com/users/sirenian Rolf Russell/UK/ThoughtWorks wrote on 10/03/2007 21:49:35: > http://cruisecontrolrb.thoughtworks.com/builds/JBehave/701 _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070312/535599a8/attachment-0001.html From tdjordan at gmail.com Tue Mar 13 09:48:18 2007 From: tdjordan at gmail.com (Tom Jordan) Date: Tue, 13 Mar 2007 08:48:18 -0500 Subject: [Cruisecontrolrb-developers] Announced CC.rb 1.0 to the world In-Reply-To: References: Message-ID: <4ebb98050703130648u3ba5a1a5l9f9a50da7dea345d@mail.gmail.com> Just wanted to let you know that we have a talk scheduled for tomorrow night at the Milwaukee Ruby Users Group. If any of you are in town, please stop by so we can thank you in person. thanks, Tom. On 3/12/07, Alexey Verkhovsky wrote: > Hi all, > > Announcements to Ruby-talk, Rails-talk and an assortment of smaller groups > that I happen to be a member of are all out. Shudders... > > Now we shall just watch the downloads count at > http://rubyforge.org/frs/?group_id=2918. At the time of this writing it > stands at 325. If and when it reaches 10,000, we can all rest on the > laurels. > Meantime, all of you with blogs who are reading this, come on, give us > some link loving :) > > Best regards, > Alex > -- "Nothing will ever be attempted, if all possible objections must first be overcome." - Samuel Johnson "Luck is what happens when preparation meets opportunity." - Seneca From RRussell at thoughtworks.com Tue Mar 13 09:51:04 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Tue, 13 Mar 2007 08:51:04 -0500 Subject: [Cruisecontrolrb-developers] Announced CC.rb 1.0 to the world In-Reply-To: <4ebb98050703130648u3ba5a1a5l9f9a50da7dea345d@mail.gmail.com> Message-ID: Thanks Tom. I'm probably the closest (in Chicago), but traveling this week. Hope everyone enjoys it. --Rolf "Tom Jordan" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/13/2007 08:48 AM To "Alexey Verkhovsky" , cruisecontrolrb-developers at rubyforge.org cc Subject Re: [Cruisecontrolrb-developers] Announced CC.rb 1.0 to the world Just wanted to let you know that we have a talk scheduled for tomorrow night at the Milwaukee Ruby Users Group. If any of you are in town, please stop by so we can thank you in person. thanks, Tom. On 3/12/07, Alexey Verkhovsky wrote: > Hi all, > > Announcements to Ruby-talk, Rails-talk and an assortment of smaller groups > that I happen to be a member of are all out. Shudders... > > Now we shall just watch the downloads count at > http://rubyforge.org/frs/?group_id=2918. At the time of this writing it > stands at 325. If and when it reaches 10,000, we can all rest on the > laurels. > Meantime, all of you with blogs who are reading this, come on, give us > some link loving :) > > Best regards, > Alex > -- "Nothing will ever be attempted, if all possible objections must first be overcome." - Samuel Johnson "Luck is what happens when preparation meets opportunity." - Seneca _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070313/f57a5cde/attachment.html From dtsato at gmail.com Tue Mar 13 16:12:30 2007 From: dtsato at gmail.com (Danilo Sato) Date: Tue, 13 Mar 2007 17:12:30 -0300 Subject: [Cruisecontrolrb-developers] Patch candidate to fix CCRB-6/CCRB-7 Message-ID: <6f8cf88a0703131312mea54d94l7c916ee3950f4aca@mail.gmail.com> Hi, I also had the same localization problem (pt_BR) as reported in CCRB-6/CCRB-7 and temporarily fixed it by setting my LANGUAGE environment variable to en_US. This is my attempt to fix that, leveraging the XML output of "svn info --xml". The idea was to use the XML output to construct the same hash that was returned by the old YAML-like output. I also included some unit tests. Feel free to comment on the patch and suggest improvements. My patch was based on the 1.0 code, retrieved from the rubyforge repository. Thanks, -- Danilo Sato MSc. student in Computer Science - University of S?o Paulo - Brazil www.dtsato.com -------------- next part -------------- A non-text attachment was scrubbed... Name: patch_to_fix_localization_problem.diff Type: application/octet-stream Size: 13338 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070313/052a7bf3/attachment.obj From averkhov at thoughtworks.com Tue Mar 13 22:21:06 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Tue, 13 Mar 2007 21:21:06 -0500 Subject: [Cruisecontrolrb-developers] Patch candidate to fix CCRB-6/CCRB-7 In-Reply-To: <6f8cf88a0703131312mea54d94l7c916ee3950f4aca@mail.gmail.com> Message-ID: Hi, and thanks for your contribution! Talking to Subversion in XML sounds like a good idea, anyway, but understanding the original localization problem would be useful, too. So, can you please explain what the problem actually looks like, and what's the root cause? Alex "Danilo Sato" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/13/2007 02:12 PM To cruisecontrolrb-developers at rubyforge.org cc Subject [Cruisecontrolrb-developers] Patch candidate to fix CCRB-6/CCRB-7 Hi, I also had the same localization problem (pt_BR) as reported in CCRB-6/CCRB-7 and temporarily fixed it by setting my LANGUAGE environment variable to en_US. This is my attempt to fix that, leveraging the XML output of "svn info --xml". The idea was to use the XML output to construct the same hash that was returned by the old YAML-like output. I also included some unit tests. Feel free to comment on the patch and suggest improvements. My patch was based on the 1.0 code, retrieved from the rubyforge repository. Thanks, -- Danilo Sato MSc. student in Computer Science - University of S?o Paulo - Brazil www.dtsato.com _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070313/dc0adc9c/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: patch_to_fix_localization_problem.diff Type: application/octet-stream Size: 13338 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070313/dc0adc9c/attachment-0001.obj From dtsato at gmail.com Tue Mar 13 22:34:16 2007 From: dtsato at gmail.com (Danilo Sato) Date: Tue, 13 Mar 2007 23:34:16 -0300 Subject: [Cruisecontrolrb-developers] Patch candidate to fix CCRB-6/CCRB-7 In-Reply-To: References: <6f8cf88a0703131312mea54d94l7c916ee3950f4aca@mail.gmail.com> Message-ID: <6f8cf88a0703131934p2418d4f7o4d9d666588874bd9@mail.gmail.com> Hi! Sure, here is the cause: I'm using Ubuntu and my svn client is localized to Brazillian Portuguese (pt_BR). The regular output of an "svn info" would be: dtsato:~/Desktop/cruisecontrolrb-1.0.0$ svn --non-interactive info file:///var/lib/svn/project/trunk Caminho: trunk URL: file:///var/lib/svn/project/trunk Raiz do Reposit?rio: file:///var/lib/svn UUID do reposit?rio: 662885bf-7d2a-0410-9c2d-86b99db5ecd6 Revis?o: 7 Tipo de N?: diret?rio Autor da ?ltima Mudan?a: dtsato Revis?o da ?ltima Mudan?a: 4 Data da ?ltima Mudan?a: 2007-02-27 21:33:59 -0300 (Ter, 27 Fev 2007) This was causing the following error when building my project: [info] [2007-03-05 16:31:52] Builder for project 'project' started [error] undefined method `number' for nil:NilClass [error] ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:14:in `new_revisions_detected' [error] ./script/../config/../app/models/project.rb:222:in `notify' [error] ./script/../config/../app/models/project.rb:220:in `notify' [error] ./script/../config/../app/models/project.rb:136:in `build_if_necessary' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/builder:75 [error] ./cruise:13:in `builder' [error] ./cruise:65 I noticed that the new_revisions() method on project.rb calls latest_revision() on subversion.rb, which performs the "svn info" call and lookup for the "Last Changed Rev" string (since my output was in portuguese, the key "Last Changed Rev" was not found). To fix that I had to update my locale settings (export LANGUAGE=en_US): dtsato:~/Desktop/cruisecontrolrb-1.0.0$ export LANGUAGE=en_US && svn --non-interactive info file:///var/lib/svn/project/trunk Path: trunk URL: file:///var/lib/svn/project/trunk Repository Root: file:///var/lib/svn Repository UUID: 662885bf-7d2a-0410-9c2d-86b99db5ecd6 Revision: 7 Node Kind: directory Last Changed Author: dtsato Last Changed Rev: 4 Last Changed Date: 2007-02-27 21:33:59 -0300 (Tue, 27 Feb 2007) Altough it worked, it didn't sound the best way to go. The regular XML output of "svn info" is always the same regardless of my locale settings. Here's the output in my system (with pt_BR locale): dtsato:~/Desktop/cruisecontrolrb-1.0.0$ svn --xml --non-interactive info file:///var/lib/svn/project/trunk file:///var/lib/svn/project/trunk file:///var/lib/svn 662885bf-7d2a-0410-9c2d-86b99db5ecd6 dtsato 2007-02-28T00:33:59.989089Z Hope this helps. Thanks, -- Danilo Sato MSc. student in Computer Science - University of S?o Paulo - Brazil www.dtsato.com On 3/13/07, Alexey Verkhovsky wrote: > > Hi, and thanks for your contribution! > > Talking to Subversion in XML sounds like a good idea, anyway, but understanding the original localization problem would be useful, too. > So, can you please explain what the problem actually looks like, and what's the root cause? > > Alex > > > > > "Danilo Sato" > Sent by: cruisecontrolrb-developers-bounces at rubyforge.org > > 03/13/2007 02:12 PM > > To cruisecontrolrb-developers at rubyforge.org > > cc > > > Subject [Cruisecontrolrb-developers] Patch candidate to fix CCRB-6/CCRB-7 > > > > > > > > > Hi, > > I also had the same localization problem (pt_BR) as reported in > CCRB-6/CCRB-7 and temporarily fixed it by setting my LANGUAGE > environment variable to en_US. This is my attempt to fix that, > leveraging the XML output of "svn info --xml". The idea was to use the > XML output to construct the same hash that was returned by the old > YAML-like output. I also included some unit tests. Feel free to > comment on the patch and suggest improvements. My patch was based on > the 1.0 code, retrieved from the rubyforge repository. > > Thanks, > -- > Danilo Sato > MSc. student in Computer Science - University of S?o Paulo - Brazil > www.dtsato.com > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > --_alternative 000CEB088725729E_-- > From gigix1980 at gmail.com Wed Mar 14 01:05:38 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Wed, 14 Mar 2007 13:05:38 +0800 Subject: [Cruisecontrolrb-developers] Fw: jbehave failed build In-Reply-To: References: Message-ID: <20fd9dc50703132205l3d0e46fdj34212abedce06fcc@mail.gmail.com> Done. I downloaded Ant 1.7, symbol linked it to /usr/bin, edited /etc/profile to set $ANT_OPTS to -Djava.awt.headless=true By the way, it seems that I'm not a project member in JIRA yet. On 3/13/07, Alexey Verkhovsky wrote: > > > I, for one, can say nothing smart until I know what is it that does not > have "enough permissions"? > Which native library throws the exception,and what is it trying to connect > to? > > By the way, the latest build had this to say instead: > BUILD FAILED *./build.xml:107*: > The type doesn't support the "clonevm" attribute > > Alex > > > > *Rolf Russell * > Sent by: cruisecontrolrb-developers-bounces at rubyforge.org > > 03/12/2007 09:30 AM > To > cruisecontrolrb-developers at rubyforge.org cc > > Subject > [Cruisecontrolrb-developers] Fw: jbehave failed build > > > > > > > > What do you guys think? > > > ----- Forwarded by Rolf Russell/UK/ThoughtWorks on 03/12/2007 10:29 AM > ----- *Elizabeth Keogh/UK/ThoughtWorks* > > 03/12/2007 06:11 AM > > To > Rolf Russell/UK/ThoughtWorks at ThoughtWorks cc > dev at jbehave.codehaus.org Subject > Re: jbehave failed build*Link* > > > > > > > > Hi Rolf, > > >From the logs, it looks as though JBehave is having trouble running > Swing. The build works just fine on my machine! This is interesting though: > > [run behaviours] 1) WindowGrabber should add new windows to and remove new > windows from mini map: > [run behaviours] java.lang.InternalError: Can't connect to window server - > not enough permissions. > [run behaviours] at java.lang.ClassLoader$NativeLibrary.load(Native > Method) > [run behaviours] at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) > > [run behaviours] at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668) > > [run behaviours] at java.lang.Runtime.loadLibrary0(Runtime.java:822) > > Has something changed on the server on your side? These behaviours were > running without failing the build before... > > It should be possible to run these in headless mode (will throw a > PendingException but won't fail the build). It's not working at the moment, > though, so it's on my list. Thank you for letting us know! > > Cheers, > Liz. > > -- > Elizabeth Keogh > liz at thoughtworks.com > http://www.livejournal.com/users/sirenian > > > Rolf Russell/UK/ThoughtWorks wrote on 10/03/2007 21:49:35: > > > > http://cruisecontrolrb.thoughtworks.com/builds/JBehave/701_______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > -- Jeff Xiong Software Journeyman -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/6d084a64/attachment.html From mi-ccrb at underpantsgnome.com Wed Mar 14 02:10:23 2007 From: mi-ccrb at underpantsgnome.com (Michael Moen) Date: Tue, 13 Mar 2007 23:10:23 -0700 Subject: [Cruisecontrolrb-developers] [PLUGIN] RcovNotifier, feedback? Message-ID: <2D15DC0D-B56F-4114-ADEC-1283C388B878@underpantsgnome.com> Here is an initial cut at a plugin for CruiseControl.rb, I haven't had a chance to dig into how to handle testing something like this, I just stumbled onto CC.rb today (I guess I've been under a rock). Any feedback is greatly appreciated. In a Nut shell: RcovNotifier allows you to analyze your coverage after a successful test run, provided you are using rcov, and send notifications based on the following: coverage is below min_threshold, publicly shame the dev that didn't write tests coverage is above max_threshold, useful for adjusting your min_threshold get a heads up every N builds, really just a sanity check Thanks, Michael- -------------- next part -------------- A non-text attachment was scrubbed... Name: rcov_notifier.rb Type: text/x-ruby-script Size: 3381 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070313/e96b8d49/attachment.bin From albert.ramstedt at gmail.com Wed Mar 14 06:20:41 2007 From: albert.ramstedt at gmail.com (Albert Ramstedt) Date: Wed, 14 Mar 2007 11:20:41 +0100 Subject: [Cruisecontrolrb-developers] patches? Message-ID: <8d31fd050703140320u7c415c51o8182ff54777465a5@mail.gmail.com> Okay, I read the docs on how to submit patches, but since I saw ppl submitting patches here.. is that the preferred way? Anyway, here is a patch that adds an option for "from" field in the email notifier. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/8b288590/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: email_from_field.patch Type: text/x-patch Size: 2870 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/8b288590/attachment-0001.bin From ketanpadegaonkar at gmail.com Wed Mar 14 06:44:50 2007 From: ketanpadegaonkar at gmail.com (Ketan Padegaonkar) Date: Wed, 14 Mar 2007 16:14:50 +0530 Subject: [Cruisecontrolrb-developers] CC.rb tray control or eclipse based dashboard ? Message-ID: Hi, I'm am/was an Eclipse plugin developer until sometime back before joining TW. I was just wondering if anyone's made a cctray equivalent for CC.rb ? Does CC.rb share the same protocol as that of CC or CCNet ? I'd be interested in providing a Java/SWT based tray application for cc.rb, and an eclipse plugin that serves as a dashboard for cc.rb. Could someone point me to the right place ? I'm still a newbie to learning ruby, so I would be able to read through some stuff that someone points out. -- Ketan Padegaonkar I blog... Therefore I am... http://ketan.padegaonkar.name From albert.ramstedt at gmail.com Wed Mar 14 06:57:12 2007 From: albert.ramstedt at gmail.com (Albert Ramstedt) Date: Wed, 14 Mar 2007 11:57:12 +0100 Subject: [Cruisecontrolrb-developers] [PATCH] monotone support for cruisecontrol - comments? In-Reply-To: <8d31fd050703140355x2c7ed6b2w3ad441a0cd3eb2a5@mail.gmail.com> References: <8d31fd050703140355x2c7ed6b2w3ad441a0cd3eb2a5@mail.gmail.com> Message-ID: <8d31fd050703140357w3acf1f0cv515ed646da0b6b96@mail.gmail.com> This adds rudimentary support for [monotone](http://venge.net/monotone) Not that tested, but I have set it up, and it seems to work. Any comments? A couple of issues I ran into with monotone was: * Being a distributed scm, it has to have access to a local database, and not an url * It can have multiple heads * It does not have integer as revisions (thus sorting becomes an annoyance) First one is easy, but the other ones really need changes in related code outside of the scm-particular classes. Also, one have to configure in the cruise_config.rb to handle another scm to make this work. Perhaps not optimal, since the initial setup includes that information. Perhaps some yml-file for scm? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/af3ad8c4/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: monotone_support.patch Type: text/x-patch Size: 24525 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/af3ad8c4/attachment-0001.bin From ketanpadegaonkar at gmail.com Wed Mar 14 07:31:21 2007 From: ketanpadegaonkar at gmail.com (Ketan Padegaonkar) Date: Wed, 14 Mar 2007 17:01:21 +0530 Subject: [Cruisecontrolrb-developers] CC.rb tray control or eclipse based dashboard ? In-Reply-To: References: Message-ID: Hi again, I just realized that CC.rb does work with cctray (http://cruisecontrolrb.thoughtworks.com/documentation/docs.html). So one of my questions is answered :) I've looked at http://dashboard.sourceforge.net/ and that does not seem to work with CC. So I'm still available to make a cctray in eclipse/SWT so that linux users can use it as well :) -- Ketan Padegaonkar I blog... Therefore I am... http://ketan.padegaonkar.name On 3/14/07, Ketan Padegaonkar wrote: > Hi, > > I'm am/was an Eclipse plugin developer until sometime back before > joining TW. I was just wondering if anyone's made a cctray equivalent > for CC.rb ? Does CC.rb share the same protocol as that of CC or CCNet > ? > > I'd be interested in providing a Java/SWT based tray application for > cc.rb, and an eclipse plugin that serves as a dashboard for cc.rb. > > Could someone point me to the right place ? I'm still a newbie to > learning ruby, so I would be able to read through some stuff that > someone points out. > > -- > Ketan Padegaonkar > I blog... Therefore I am... http://ketan.padegaonkar.name > From RRussell at thoughtworks.com Wed Mar 14 10:32:21 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Wed, 14 Mar 2007 09:32:21 -0500 Subject: [Cruisecontrolrb-developers] CC.rb tray control or eclipse based dashboard ? In-Reply-To: Message-ID: Yup, you can use CCTray. Instructions are at http://cruisecontrolrb.thoughtworks.com/documentation/manual.html "Ketan Padegaonkar" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/14/2007 05:44 AM To cruisecontrolrb-developers at rubyforge.org, cruisecontrolrb-users at rubyforge.org cc Subject [Cruisecontrolrb-developers] CC.rb tray control or eclipse based dashboard ? Hi, I'm am/was an Eclipse plugin developer until sometime back before joining TW. I was just wondering if anyone's made a cctray equivalent for CC.rb ? Does CC.rb share the same protocol as that of CC or CCNet ? I'd be interested in providing a Java/SWT based tray application for cc.rb, and an eclipse plugin that serves as a dashboard for cc.rb. Could someone point me to the right place ? I'm still a newbie to learning ruby, so I would be able to read through some stuff that someone points out. -- Ketan Padegaonkar I blog... Therefore I am... http://ketan.padegaonkar.name _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/bdda3335/attachment.html From tdjordan at gmail.com Wed Mar 14 12:51:19 2007 From: tdjordan at gmail.com (Tom Jordan) Date: Wed, 14 Mar 2007 11:51:19 -0500 Subject: [Cruisecontrolrb-developers] CC.rb tray control or eclipse based dashboard ? In-Reply-To: References: Message-ID: <4ebb98050703140951u5fb059a3p9b0b34900d91eed5@mail.gmail.com> I was able to view the http://cruisecontrolrb.thoughtworks.com/ links by using that link in the http transport of cctray. However, it appears that cctray doesn't support force builds for projects monitored via HTTP. Is a way around this? Thanks, -- Tom. On 3/14/07, Rolf Russell wrote: > > > Yup, you can use CCTray. Instructions are at > http://cruisecontrolrb.thoughtworks.com/documentation/manual.html > > > > -- "Nothing will ever be attempted, if all possible objections must first be overcome." - Samuel Johnson "Luck is what happens when preparation meets opportunity." - Seneca -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/d7ce9dcf/attachment.html From averkhov at thoughtworks.com Wed Mar 14 12:57:15 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 14 Mar 2007 10:57:15 -0600 Subject: [Cruisecontrolrb-developers] [Cruisecontrolrb-users] CC.rb tray control or eclipse based dashboard ? In-Reply-To: <4ebb98050703140951u5fb059a3p9b0b34900d91eed5@mail.gmail.com> Message-ID: cruisecontrolrb-users-bounces at rubyforge.org wrote on 03/14/2007 10:51:19 AM: > I was able to view the http://cruisecontrolrb.thoughtworks.com/ > links by using that link in the http transport of cctray. > > However, it appears that cctray doesn't support force builds for > projects monitored via HTTP. > Is a way around this? Hmm... not that we know of. Write a nice letter to Owen Rogers? Submit a patch to CCTray? We can easily provide a "build now" service in whatever form CCTray.NET needs it to be. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/58d366fd/attachment.html From averkhov at thoughtworks.com Wed Mar 14 13:00:06 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 14 Mar 2007 12:00:06 -0500 Subject: [Cruisecontrolrb-developers] CC.rb tray control or eclipse based dashboard ? In-Reply-To: Message-ID: If you tell us what protocol existing dashboards and plugins use, we can try to mimic that in CC.rb. There is a plethora of CC plugins for different IDEs, I'd rather seamlessly interop with those. Alex cruisecontrolrb-developers-bounces at rubyforge.org wrote on 03/14/2007 05:31:21 AM: > Hi again, > > I just realized that CC.rb does work with cctray > (http://cruisecontrolrb.thoughtworks.com/documentation/docs.html). So > one of my questions is answered :) > > I've looked at http://dashboard.sourceforge.net/ and that does not > seem to work with CC. So I'm still available to make a cctray in > eclipse/SWT so that linux users can use it as well :) > > -- > Ketan Padegaonkar > I blog... Therefore I am... http://ketan.padegaonkar.name > > > On 3/14/07, Ketan Padegaonkar wrote: > > Hi, > > > > I'm am/was an Eclipse plugin developer until sometime back before > > joining TW. I was just wondering if anyone's made a cctray equivalent > > for CC.rb ? Does CC.rb share the same protocol as that of CC or CCNet > > ? > > > > I'd be interested in providing a Java/SWT based tray application for > > cc.rb, and an eclipse plugin that serves as a dashboard for cc.rb. > > > > Could someone point me to the right place ? I'm still a newbie to > > learning ruby, so I would be able to read through some stuff that > > someone points out. > > > > -- > > Ketan Padegaonkar > > I blog... Therefore I am... http://ketan.padegaonkar.name > > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/2b4304fc/attachment.html From averkhov at thoughtworks.com Wed Mar 14 13:07:01 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 14 Mar 2007 12:07:01 -0500 Subject: [Cruisecontrolrb-developers] patches? In-Reply-To: <8d31fd050703140320u7c415c51o8182ff54777465a5@mail.gmail.com> Message-ID: cruisecontrolrb-developers-bounces at rubyforge.org wrote on 03/14/2007 04:20:41 AM: > Okay, I read the docs on how to submit patches, but since I saw ppl > submitting patches here.. is that the preferred way? Not really. JIRA is the preferred way. It makes sure that we don't forget it. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/d959c936/attachment.html From tdjordan at gmail.com Wed Mar 14 13:40:51 2007 From: tdjordan at gmail.com (Tom Jordan) Date: Wed, 14 Mar 2007 12:40:51 -0500 Subject: [Cruisecontrolrb-developers] [Cruisecontrolrb-users] CC.rb tray control or eclipse based dashboard ? In-Reply-To: References: <4ebb98050703140951u5fb059a3p9b0b34900d91eed5@mail.gmail.com> Message-ID: <4ebb98050703141040n393602d0kbf4028784eb9b53@mail.gmail.com> I'll look into it. It looks like we should be able to attempt a HTTP POST [2] easily enough. And call it in the ForceBuild [1] method. My question would be what would be needed in the payload of the POST operation? * project-name = x * project-op = "build now" ref: [1] http://ccnet.svn.sourceforge.net/viewvc/ccnet/trunk/project/CCTrayLib/Monitoring/HttpCruiseProjectManager.cs?view=markup [2] http://ccnet.svn.sourceforge.net/viewvc/ccnet/trunk/project/CCTrayLib/Monitoring/WebRetriever.cs?view=markup Tom. On 3/14/07, Alexey Verkhovsky wrote: > > cruisecontrolrb-users-bounces at rubyforge.org wrote on > 03/14/2007 10:51:19 AM: > > I was able to view the > http://cruisecontrolrb.thoughtworks.com/ > > links by using that link in the http transport of cctray. > > > > However, it appears that cctray doesn't support force builds for > > projects monitored via HTTP. > > Is a way around this? > > Hmm... not that we know of. Write a nice letter to Owen Rogers? Submit a > patch to CCTray? We can easily provide a "build now" service in whatever > form CCTray.NET needs it to be. > > Alex > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > -- "Nothing will ever be attempted, if all possible objections must first be overcome." - Samuel Johnson "Luck is what happens when preparation meets opportunity." - Seneca From daniel.manges at gmail.com Wed Mar 14 13:41:46 2007 From: daniel.manges at gmail.com (Daniel Manges) Date: Wed, 14 Mar 2007 13:41:46 -0400 Subject: [Cruisecontrolrb-developers] Growl Plugin Message-ID: Has anybody written a growl plugin yet? Just wanted to check before I write it.. Thanks, Dan Manges -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/a84d0ea8/attachment-0001.html From averkhov at thoughtworks.com Wed Mar 14 14:00:39 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 14 Mar 2007 13:00:39 -0500 Subject: [Cruisecontrolrb-developers] Growl Plugin In-Reply-To: Message-ID: cruisecontrolrb-developers-bounces at rubyforge.org wrote on 03/14/2007 11:41:46 AM: > Has anybody written a growl plugin yet? Just wanted to check before I write it.. AFAIK, somebody did, but never submitted it. :) Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/318861fd/attachment.html From talrep at gmail.com Wed Mar 14 16:41:34 2007 From: talrep at gmail.com (Dmitry Verkhovsky) Date: Wed, 14 Mar 2007 22:41:34 +0200 Subject: [Cruisecontrolrb-developers] Growl Plugin In-Reply-To: References: Message-ID: Hi, You may have growl notifications via an rss feed reader that supports growl. Just add another feed like this http://localhost:3333/projects.rss D. On 3/14/07, Daniel Manges wrote: > > Has anybody written a growl plugin yet? Just wanted to check before I > write it.. > > Thanks, > Dan Manges > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/425314c4/attachment.html From mi-ccrb at underpantsgnome.com Wed Mar 14 20:11:00 2007 From: mi-ccrb at underpantsgnome.com (Michael Moen) Date: Wed, 14 Mar 2007 17:11:00 -0700 Subject: [Cruisecontrolrb-developers] [PATCH] Allow setting mail from address Message-ID: <9850489E-991E-449A-B237-39C9865FF3BD@underpantsgnome.com> Here's a patch to allow setting the From: address through Configuration.mail_from Don't know if anybody else has any interest in this. -------------- next part -------------- A non-text attachment was scrubbed... Name: config_mail_from.diff Type: application/octet-stream Size: 2366 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070314/56b85846/attachment.obj From gigix1980 at gmail.com Thu Mar 15 05:06:23 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Thu, 15 Mar 2007 17:06:23 +0800 Subject: [Cruisecontrolrb-developers] Ruby1.8.6: strange problem Message-ID: <20fd9dc50703150206k2b0c5741le30702c8c4435cc4@mail.gmail.com> after this: system "ruby1.8.6 fail_test.rb" $CHILD_STATUS.exitstatus should be 0. And it is 0 if the ruby version is 1.8.5. But under ruby1.8.6 it doesn't work. Any hints? -- Jeff Xiong Software Journeyman -------------- next part -------------- A non-text attachment was scrubbed... Name: process_test.rb Type: application/x-ruby Size: 213 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070315/2c5977d9/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: fail_test.rb Type: application/x-ruby Size: 127 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070315/2c5977d9/attachment-0001.bin From gigix1980 at gmail.com Thu Mar 15 05:08:27 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Thu, 15 Mar 2007 17:08:27 +0800 Subject: [Cruisecontrolrb-developers] Ruby1.8.6: strange problem In-Reply-To: <20fd9dc50703150206k2b0c5741le30702c8c4435cc4@mail.gmail.com> References: <20fd9dc50703150206k2b0c5741le30702c8c4435cc4@mail.gmail.com> Message-ID: <20fd9dc50703150208v6ebd0204obcbd30003a1e8db3@mail.gmail.com> Sorry: $CHILD_STATUS.exitstatus should not be 0. On 3/15/07, Jeff Xiong wrote: > after this: > > system "ruby1.8.6 fail_test.rb" > > $CHILD_STATUS.exitstatus should be 0. And it is 0 if the ruby version > is 1.8.5. But under ruby1.8.6 it doesn't work. > > Any hints? > > -- > Jeff Xiong > Software Journeyman > > -- Jeff Xiong Software Journeyman From ged at FaerieMUD.org Thu Mar 15 13:36:31 2007 From: ged at FaerieMUD.org (Michael Granger) Date: Thu, 15 Mar 2007 10:36:31 -0700 Subject: [Cruisecontrolrb-developers] Growl Plugin In-Reply-To: References: Message-ID: <15m403owq9.2j7i2iu2cf7s0@faeriemud.org> On 3/14/07, Daniel Manges wrote: > Has anybody written a growl plugin yet? Just wanted to check before I > write it.. Yes, I have one that I'm just putting finishing touches on. I'll be releasing it within the next 12 hours or so. -- Michael Granger Rubymage, Architect, Believer The FaerieMUD Consortium ruby -e "p 12383406064495388618631689469409153107.to_s(36).tr('z',' ')" From daniel.manges at gmail.com Thu Mar 15 19:48:46 2007 From: daniel.manges at gmail.com (Daniel Manges) Date: Thu, 15 Mar 2007 19:48:46 -0400 Subject: [Cruisecontrolrb-developers] Growl Plugin In-Reply-To: <15m403owq9.2j7i2iu2cf7s0@faeriemud.org> References: <15m403owq9.2j7i2iu2cf7s0@faeriemud.org> Message-ID: I also wrote one. Patch: http://jira.public.thoughtworks.org/browse/CCRB-79Download: http://www.dcmanges.com/blog/25 -Dan On 3/15/07, Michael Granger wrote: > > On 3/14/07, Daniel Manges wrote: > > > Has anybody written a growl plugin yet? Just wanted to check before I > > write it.. > > Yes, I have one that I'm just putting finishing touches on. I'll be > releasing it > within the next 12 hours or so. > > -- > Michael Granger > Rubymage, Architect, Believer > The FaerieMUD Consortium > ruby -e "p 12383406064495388618631689469409153107.to_s(36).tr('z',' ')" > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070315/a7f798dc/attachment.html From gigix1980 at gmail.com Thu Mar 15 22:26:35 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Fri, 16 Mar 2007 10:26:35 +0800 Subject: [Cruisecontrolrb-developers] What should we do when cruise_config.rb files have errors? Message-ID: <20fd9dc50703151926y26431266h5619bc76d7410c16@mail.gmail.com> Currently our logic is: before starting builder, it should load config first. And current logic is first to read central_config_file which is under work folder, then to read local_config_file. If something wrong happen during loading config file, the build should still start and project settings should be displayed in builds#show page. Currently either central_config_file or local_config_file has problem in it, we just use empty settings to build, and display the real config content. Question is: shall we read another config file and use it to build when one config file is invalid? -- Jeff Xiong Software Journeyman From geniuslinda at gmail.com Fri Mar 16 04:15:00 2007 From: geniuslinda at gmail.com (Lin Zhang) Date: Fri, 16 Mar 2007 16:15:00 +0800 Subject: [Cruisecontrolrb-developers] Just a test Message-ID: Hi, I am linda. This mail is just a test. Never mind. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070316/8b29d28e/attachment.html From gigix1980 at gmail.com Fri Mar 16 04:16:36 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Fri, 16 Mar 2007 16:16:36 +0800 Subject: [Cruisecontrolrb-developers] Just a test In-Reply-To: References: Message-ID: <20fd9dc50703160116n82b9654r262364d98284142c@mail.gmail.com> test whether she can get the mail. On 3/16/07, Lin Zhang wrote: > Hi, I am linda. > > This mail is just a test. > > Never mind. > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > -- Jeff Xiong Software Journeyman From jeremystellsmith at gmail.com Fri Mar 16 10:05:07 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Fri, 16 Mar 2007 07:05:07 -0700 Subject: [Cruisecontrolrb-developers] What should we do when cruise_config.rb files have errors? In-Reply-To: <20fd9dc50703151926y26431266h5619bc76d7410c16@mail.gmail.com> References: <20fd9dc50703151926y26431266h5619bc76d7410c16@mail.gmail.com> Message-ID: There are really 3 types of errors that we should consider here : 1) either cruise_config.rb can't be parsed 2) can't connect to subversion 3) plugin error either during the build or before or after it If any of these happen _during_ a build, then we should simply fail the build, log the error on the build log (visible from the build page), and be done. Otherwise, I think we might actually need a new page. Maybe a project builder status page? I see it saying something like RUNNING - no issues or RUNNING - errors or DOWN the last error (if there is one), the most recent project settings, and either the whole, or the last 100 lines of the builder log file. in addition, if there is a builder error, we should turn the dashboard red, and put the last error on the dashboard with a link to the builder status page. This might be overkill, how does it sound? As for how to implement it, my suggestion would be to use the builder_status.* file in each project. And put any other information you need in files at this same level. How does this sound? and how does this compare to what we have so far? On 3/15/07, Jeff Xiong wrote: > > Currently our logic is: > > before starting builder, it should load config first. And current > logic is first to read central_config_file which is under work folder, > then to read local_config_file. > If something wrong happen during loading config file, the build should > still start and project settings should be displayed in builds#show > page. > > Currently either central_config_file or local_config_file has problem > in it, we just use empty settings to build, and display the real > config content. Question is: shall we read another config file and use > it to build when one config file is invalid? > > -- > Jeff Xiong > Software Journeyman > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070316/12d09026/attachment.html From RRussell at thoughtworks.com Tue Mar 20 22:05:13 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Tue, 20 Mar 2007 21:05:13 -0500 Subject: [Cruisecontrolrb-developers] [PATCH] monotone support for cruisecontrol - comments? In-Reply-To: <8d31fd050703140357w3acf1f0cv515ed646da0b6b96@mail.gmail.com> Message-ID: Hi Albert, We're going to hold off on adding this patch until we get more requests for monotone. Adding a new version control system can add a lot of complexity and so we are going to be a bit ginger about doing so. Created jira issue CCRB-87 ([PATCH] Support monotone distributed version control system - submitted by Albert Ramstedt) Thanks, --Rolf "Albert Ramstedt" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/14/2007 05:57 AM To cruisecontrolrb-developers at rubyforge.org cc Subject [Cruisecontrolrb-developers] [PATCH] monotone support for cruisecontrol - comments? This adds rudimentary support for [monotone](http://venge.net/monotone) Not that tested, but I have set it up, and it seems to work. Any comments? A couple of issues I ran into with monotone was: * Being a distributed scm, it has to have access to a local database, and not an url * It can have multiple heads * It does not have integer as revisions (thus sorting becomes an annoyance) First one is easy, but the other ones really need changes in related code outside of the scm-particular classes. Also, one have to configure in the cruise_config.rb to handle another scm to make this work. Perhaps not optimal, since the initial setup includes that information. Perhaps some yml-file for scm? _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070320/6d182f24/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: monotone_support.patch Type: application/octet-stream Size: 24526 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070320/6d182f24/attachment-0001.obj From gigix1980 at gmail.com Wed Mar 21 05:47:53 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Wed, 21 Mar 2007 17:47:53 +0800 Subject: [Cruisecontrolrb-developers] CCRB-85: test cases Message-ID: <20fd9dc50703210247sdb2da8dl3beb7b4892c0006d@mail.gmail.com> Hi there. Put these files into a directory, then run : ruby process_test.rb On my machine, it fails with Ruby1.8.6 but works with Ruby1.8.5. -- Jeff Xiong Software Journeyman -------------- next part -------------- A non-text attachment was scrubbed... Name: fail_test.rb Type: application/octet-stream Size: 94 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070321/c278acc7/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: process_test.rb Type: application/octet-stream Size: 161 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070321/c278acc7/attachment-0001.obj From gigix1980 at gmail.com Thu Mar 22 05:57:19 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Thu, 22 Mar 2007 17:57:19 +0800 Subject: [Cruisecontrolrb-developers] Michael Chen is joining us Message-ID: <20fd9dc50703220257t3f9d9c04i7bf5ddb21f503c5d@mail.gmail.com> Hi there. Michael Chen (Chen Jinzhou, who is another ThoughtWorker in our office) is going to join us for next week. He is a web expert, author of Buffalo (http://buffalo.sourceforge.net/). I believe he can make our project more 2.0-like :> -- Jeff Xiong Software Journeyman From averkhov at thoughtworks.com Thu Mar 22 08:44:44 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 22 Mar 2007 07:44:44 -0500 Subject: [Cruisecontrolrb-developers] Michael Chen is joining us In-Reply-To: <20fd9dc50703220257t3f9d9c04i7bf5ddb21f503c5d@mail.gmail.com> Message-ID: Hello and welcome aboard! Alex "Jeff Xiong" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/22/2007 03:57 AM To cruisecontrolrb-developers at rubyforge.org, mechiland at gmail.com cc Subject [Cruisecontrolrb-developers] Michael Chen is joining us Hi there. Michael Chen (Chen Jinzhou, who is another ThoughtWorker in our office) is going to join us for next week. He is a web expert, author of Buffalo (http://buffalo.sourceforge.net/). I believe he can make our project more 2.0-like :> -- Jeff Xiong Software Journeyman _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070322/83a66f1e/attachment.html From RRussell at thoughtworks.com Thu Mar 22 12:17:26 2007 From: RRussell at thoughtworks.com (Rolf Russell) Date: Thu, 22 Mar 2007 11:17:26 -0500 Subject: [Cruisecontrolrb-developers] Michael Chen is joining us In-Reply-To: Message-ID: Good stuff - welcome Michael. --Rolf Alexey Verkhovsky Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/22/2007 07:44 AM To Jinzhou Chen cc cruisecontrolrb-developers at rubyforge.org Subject Re: [Cruisecontrolrb-developers] Michael Chen is joining us Hello and welcome aboard! Alex "Jeff Xiong" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/22/2007 03:57 AM To cruisecontrolrb-developers at rubyforge.org, mechiland at gmail.com cc Subject [Cruisecontrolrb-developers] Michael Chen is joining us Hi there. Michael Chen (Chen Jinzhou, who is another ThoughtWorker in our office) is going to join us for next week. He is a web expert, author of Buffalo (http://buffalo.sourceforge.net/). I believe he can make our project more 2.0-like :> -- Jeff Xiong Software Journeyman _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070322/24bf6f78/attachment.html From jchen at thoughtworks.com Thu Mar 22 21:33:58 2007 From: jchen at thoughtworks.com (Jinzhou Chen) Date: Thu, 22 Mar 2007 20:33:58 -0500 Subject: [Cruisecontrolrb-developers] Michael Chen is joining us In-Reply-To: Message-ID: -- Thanks... I can contribute on the UI and other stuffs. btw, Alex, I think we met before. I took part in the Canada Away Day last June, and is that you who present Web2.0 related topic? ;-) Regards, Michael ---- Chen Jinzhou jchen at thoughtworks.com Yahoo/Google/Skype: mechiland Rolf Russell/UK/ThoughtWorks 2007-03-23 00:17 To Jinzhou Chen cc cruisecontrolrb-developers at rubyforge.org Subject Re: [Cruisecontrolrb-developers] Michael Chen is joining us Good stuff - welcome Michael. --Rolf Alexey Verkhovsky Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/22/2007 07:44 AM To Jinzhou Chen cc cruisecontrolrb-developers at rubyforge.org Subject Re: [Cruisecontrolrb-developers] Michael Chen is joining us Hello and welcome aboard! Alex "Jeff Xiong" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/22/2007 03:57 AM To cruisecontrolrb-developers at rubyforge.org, mechiland at gmail.com cc Subject [Cruisecontrolrb-developers] Michael Chen is joining us Hi there. Michael Chen (Chen Jinzhou, who is another ThoughtWorker in our office) is going to join us for next week. He is a web expert, author of Buffalo (http://buffalo.sourceforge.net/). I believe he can make our project more 2.0-like :> -- Jeff Xiong Software Journeyman _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070322/07f5a887/attachment-0001.html From averkhov at thoughtworks.com Thu Mar 22 21:52:28 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 22 Mar 2007 20:52:28 -0500 Subject: [Cruisecontrolrb-developers] Michael Chen is joining us In-Reply-To: Message-ID: Yeah, it was me doing all the hand-waiving :) Alex Jinzhou Chen Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/22/2007 07:33 PM To Rolf Russell cc cruisecontrolrb-developers at rubyforge.org Subject Re: [Cruisecontrolrb-developers] Michael Chen is joining us -- Thanks... I can contribute on the UI and other stuffs. btw, Alex, I think we met before. I took part in the Canada Away Day last June, and is that you who present Web2.0 related topic? ;-) Regards, Michael ---- Chen Jinzhou jchen at thoughtworks.com Yahoo/Google/Skype: mechiland Rolf Russell/UK/ThoughtWorks 2007-03-23 00:17 To Jinzhou Chen cc cruisecontrolrb-developers at rubyforge.org Subject Re: [Cruisecontrolrb-developers] Michael Chen is joining usLink Good stuff - welcome Michael. --Rolf Alexey Verkhovsky Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/22/2007 07:44 AM To Jinzhou Chen cc cruisecontrolrb-developers at rubyforge.org Subject Re: [Cruisecontrolrb-developers] Michael Chen is joining us Hello and welcome aboard! Alex "Jeff Xiong" Sent by: cruisecontrolrb-developers-bounces at rubyforge.org 03/22/2007 03:57 AM To cruisecontrolrb-developers at rubyforge.org, mechiland at gmail.com cc Subject [Cruisecontrolrb-developers] Michael Chen is joining us Hi there. Michael Chen (Chen Jinzhou, who is another ThoughtWorker in our office) is going to join us for next week. He is a web expert, author of Buffalo (http://buffalo.sourceforge.net/). I believe he can make our project more 2.0-like :> -- Jeff Xiong Software Journeyman _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Cruisecontrolrb-developers mailing list Cruisecontrolrb-developers at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070322/2c6374ac/attachment.html From jeremystellsmith at gmail.com Fri Mar 23 02:36:40 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Fri, 23 Mar 2007 00:36:40 -0600 Subject: [Cruisecontrolrb-developers] Patch candidate to fix CCRB-6/CCRB-7 In-Reply-To: <6f8cf88a0703131934p2418d4f7o4d9d666588874bd9@mail.gmail.com> References: <6f8cf88a0703131312mea54d94l7c916ee3950f4aca@mail.gmail.com> <6f8cf88a0703131934p2418d4f7o4d9d666588874bd9@mail.gmail.com> Message-ID: Hey Danilo, Thank you so much for your patch. I just committed it, so cruise should be working with non-english localized svn clients. You can see it if you either check out the head from subversion, or download the next release which should come out early next week. as of now svn info & svn log are using the --xml flag and should be a bit more resilient. If you have any other issues, please let us know. It's good to have users helping us out! Jeremy On 3/13/07, Danilo Sato wrote: > > Hi! Sure, here is the cause: > > I'm using Ubuntu and my svn client is localized to Brazillian > Portuguese (pt_BR). The regular output of an "svn info" would be: > > dtsato:~/Desktop/cruisecontrolrb-1.0.0$ svn --non-interactive info > file:///var/lib/svn/project/trunk > Caminho: trunk > URL: file:///var/lib/svn/project/trunk > Raiz do Reposit?rio: file:///var/lib/svn > UUID do reposit?rio: 662885bf-7d2a-0410-9c2d-86b99db5ecd6 > Revis?o: 7 > Tipo de N?: diret?rio > Autor da ?ltima Mudan?a: dtsato > Revis?o da ?ltima Mudan?a: 4 > Data da ?ltima Mudan?a: 2007-02-27 21:33:59 -0300 (Ter, 27 Fev 2007) > > This was causing the following error when building my project: > > [info] [2007-03-05 16:31:52] Builder for project 'project' started > [error] undefined method `number' for nil:NilClass > [error] > ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:14:in > `new_revisions_detected' > [error] ./script/../config/../app/models/project.rb:222:in `notify' > [error] ./script/../config/../app/models/project.rb:220:in `notify' > [error] ./script/../config/../app/models/project.rb:136:in > `build_if_necessary' > [error] ./script/../config/../app/models/polling_scheduler.rb:13:in > `run' > [error] ./script/builder:75 > [error] ./cruise:13:in `builder' > [error] ./cruise:65 > > I noticed that the new_revisions() method on project.rb calls > latest_revision() on subversion.rb, which performs the "svn info" call > and lookup for the "Last Changed Rev" string (since my output was in > portuguese, the key "Last Changed Rev" was not found). To fix that I > had to update my locale settings (export LANGUAGE=en_US): > > dtsato:~/Desktop/cruisecontrolrb-1.0.0$ export LANGUAGE=en_US && svn > --non-interactive info file:///var/lib/svn/project/trunk > Path: trunk > URL: file:///var/lib/svn/project/trunk > Repository Root: file:///var/lib/svn > Repository UUID: 662885bf-7d2a-0410-9c2d-86b99db5ecd6 > Revision: 7 > Node Kind: directory > Last Changed Author: dtsato > Last Changed Rev: 4 > Last Changed Date: 2007-02-27 21:33:59 -0300 (Tue, 27 Feb 2007) > > Altough it worked, it didn't sound the best way to go. The regular XML > output of "svn info" is always the same regardless of my locale > settings. Here's the output in my system (with pt_BR locale): > > dtsato:~/Desktop/cruisecontrolrb-1.0.0$ svn --xml --non-interactive > info file:///var/lib/svn/project/trunk > > > kind="dir" > path="trunk" > revision="7"> > file:///var/lib/svn/project/trunk > > file:///var/lib/svn > 662885bf-7d2a-0410-9c2d-86b99db5ecd6 > > revision="4"> > dtsato > 2007-02-28T00:33:59.989089Z > > > > > Hope this helps. > > Thanks, > -- > Danilo Sato > MSc. student in Computer Science - University of S?o Paulo - Brazil > www.dtsato.com > > On 3/13/07, Alexey Verkhovsky wrote: > > > > Hi, and thanks for your contribution! > > > > Talking to Subversion in XML sounds like a good idea, anyway, but > understanding the original localization problem would be useful, too. > > So, can you please explain what the problem actually looks like, and > what's the root cause? > > > > Alex > > > > > > > > > > "Danilo Sato" > > Sent by: cruisecontrolrb-developers-bounces at rubyforge.org > > > > 03/13/2007 02:12 PM > > > > To cruisecontrolrb-developers at rubyforge.org > > > > cc > > > > > > Subject [Cruisecontrolrb-developers] Patch candidate to fix > CCRB-6/CCRB-7 > > > > > > > > > > > > > > > > > > Hi, > > > > I also had the same localization problem (pt_BR) as reported in > > CCRB-6/CCRB-7 and temporarily fixed it by setting my LANGUAGE > > environment variable to en_US. This is my attempt to fix that, > > leveraging the XML output of "svn info --xml". The idea was to use the > > XML output to construct the same hash that was returned by the old > > YAML-like output. I also included some unit tests. Feel free to > > comment on the patch and suggest improvements. My patch was based on > > the 1.0 code, retrieved from the rubyforge repository. > > > > Thanks, > > -- > > Danilo Sato > > MSc. student in Computer Science - University of S?o Paulo - Brazil > > www.dtsato.com > > _______________________________________________ > > Cruisecontrolrb-developers mailing list > > Cruisecontrolrb-developers at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > > > --_alternative 000CEB088725729E_-- > > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070323/fcfadf5b/attachment.html From jeremystellsmith at gmail.com Fri Mar 23 02:39:51 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Fri, 23 Mar 2007 00:39:51 -0600 Subject: [Cruisecontrolrb-developers] Growl Plugin In-Reply-To: References: <15m403owq9.2j7i2iu2cf7s0@faeriemud.org> Message-ID: Dan, thanks for you patch, and welcome to ThoughtWorks! I just committed it a couple days ago, and you should be able to see it in svn head or the next release early next week. It's a pretty sweet plugin, and I recommend anyone on a mac give it a try! Jeremy Stell-Smith On 3/15/07, Daniel Manges wrote: > > I also wrote one. Patch: > http://jira.public.thoughtworks.org/browse/CCRB-79 Download: http://www.dcmanges.com/blog/25 > > > -Dan > > On 3/15/07, Michael Granger wrote: > > > > On 3/14/07, Daniel Manges wrote: > > > > > Has anybody written a growl plugin yet? Just wanted to check before I > > > write it.. > > > > Yes, I have one that I'm just putting finishing touches on. I'll be > > releasing it > > within the next 12 hours or so. > > > > -- > > Michael Granger > > Rubymage, Architect, Believer > > The FaerieMUD Consortium < http://www.FaerieMUD.org/> > > ruby -e "p 12383406064495388618631689469409153107.to_s(36).tr('z',' ')" > > > > _______________________________________________ > > Cruisecontrolrb-developers mailing list > > Cruisecontrolrb-developers at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > > > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070323/2dd3ba08/attachment-0001.html From dtsato at gmail.com Fri Mar 23 14:18:19 2007 From: dtsato at gmail.com (Danilo Sato) Date: Fri, 23 Mar 2007 15:18:19 -0300 Subject: [Cruisecontrolrb-developers] Patch candidate to fix CCRB-6/CCRB-7 In-Reply-To: References: <6f8cf88a0703131312mea54d94l7c916ee3950f4aca@mail.gmail.com> <6f8cf88a0703131934p2418d4f7o4d9d666588874bd9@mail.gmail.com> Message-ID: <6f8cf88a0703231118g6c440af3sd558e838c470b730@mail.gmail.com> Jeremy, It's nice to know that my patch was accepted. I've just checked out from HEAD and notice that two of my methods are not being used anymore in app/models/subversion_log_parser.rb: parse_node and parse_to_localtime. The former can be removed since the results are not being stored in an array anymore. The later might be useful in the future if you decide to localize timestamps from the XML output, but without the formatting part. Feel free to remove those if you will, since they are not covered by tests anymore (actually, they're not even reachable anymore :-) Thanks, -- Danilo Sato MSc. student in Computer Science - University of S?o Paulo - Brazil www.dtsato.com On 3/23/07, Jeremy Stell-Smith wrote: > Hey Danilo, > > Thank you so much for your patch. I just committed it, so cruise should be > working with non-english localized svn clients. You can see it if you > either check out the head from subversion, or download the next release > which should come out early next week. > > as of now svn info & svn log are using the --xml flag and should be a bit > more resilient. > > If you have any other issues, please let us know. It's good to have users > helping us out! > > Jeremy > > > > > On 3/13/07, Danilo Sato wrote: > > Hi! Sure, here is the cause: > > > > I'm using Ubuntu and my svn client is localized to Brazillian > > Portuguese (pt_BR). The regular output of an "svn info" would be: > > > > dtsato:~/Desktop/cruisecontrolrb- 1.0.0$ svn > --non-interactive info > > file:///var/lib/svn/project/trunk > > Caminho: trunk > > URL: file:///var/lib/svn/project/trunk > > Raiz do Reposit?rio: file:///var/lib/svn > > UUID do reposit?rio: 662885bf-7d2a-0410-9c2d-86b99db5ecd6 > > Revis?o: 7 > > Tipo de N?: diret?rio > > Autor da ?ltima Mudan?a: dtsato > > Revis?o da ?ltima Mudan?a: 4 > > Data da ?ltima Mudan?a: 2007-02-27 21:33:59 -0300 (Ter, 27 Fev 2007) > > > > This was causing the following error when building my project: > > > > [info] [2007-03-05 16:31:52] Builder for project 'project' started > > [error] undefined method `number' for nil:NilClass > > [error] > ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:14:in > > `new_revisions_detected' > > [error] > ./script/../config/../app/models/project.rb:222:in `notify' > > [error] > ./script/../config/../app/models/project.rb:220:in `notify' > > [error] > ./script/../config/../app/models/project.rb:136:in > > `build_if_necessary' > > [error] > ./script/../config/../app/models/polling_scheduler.rb:13:in > `run' > > [error] ./script/builder:75 > > [error] ./cruise:13:in `builder' > > [error] ./cruise:65 > > > > I noticed that the new_revisions() method on project.rb calls > > latest_revision() on subversion.rb, which performs the "svn info" call > > and lookup for the "Last Changed Rev" string (since my output was in > > portuguese, the key "Last Changed Rev" was not found). To fix that I > > had to update my locale settings (export LANGUAGE=en_US): > > > > dtsato:~/Desktop/cruisecontrolrb-1.0.0$ export > LANGUAGE=en_US && svn > > --non-interactive info file:///var/lib/svn/project/trunk > > Path: trunk > > URL: file:///var/lib/svn/project/trunk > > Repository Root: file:///var/lib/svn > > Repository UUID: 662885bf-7d2a-0410-9c2d-86b99db5ecd6 > > Revision: 7 > > Node Kind: directory > > Last Changed Author: dtsato > > Last Changed Rev: 4 > > Last Changed Date: 2007-02-27 21:33:59 -0300 (Tue, 27 Feb 2007) > > > > Altough it worked, it didn't sound the best way to go. The regular XML > > output of "svn info" is always the same regardless of my locale > > settings. Here's the output in my system (with pt_BR locale): > > > > dtsato:~/Desktop/cruisecontrolrb-1.0.0$ svn --xml > --non-interactive > > info file:///var/lib/svn/project/trunk > > > > > > > kind="dir" > > path="trunk" > > revision="7"> > > file:///var/lib/svn/project/trunk > > > > file:///var/lib/svn > > 662885bf-7d2a-0410-9c2d-86b99db5ecd6 > > > > > revision="4"> > > dtsato > > 2007-02-28T00:33:59.989089Z > > > > > > > > > > Hope this helps. > > > > Thanks, > > -- > > Danilo Sato > > MSc. student in Computer Science - University of S?o Paulo - Brazil > > www.dtsato.com > > > > On 3/13/07, Alexey Verkhovsky < averkhov at thoughtworks.com> wrote: > > > > > > Hi, and thanks for your contribution! > > > > > > Talking to Subversion in XML sounds like a good idea, anyway, but > understanding the original localization problem would be useful, too. > > > So, can you please explain what the problem actually looks like, and > what's the root cause? > > > > > > Alex > > > > > > > > > > > > > > > "Danilo Sato" < dtsato at gmail.com> > > > Sent by: > cruisecontrolrb-developers-bounces at rubyforge.org > > > > > > 03/13/2007 02:12 PM > > > > > > To cruisecontrolrb-developers at rubyforge.org > > > > > > cc > > > > > > > > > Subject [Cruisecontrolrb-developers] Patch candidate to fix > CCRB-6/CCRB-7 > > > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > I also had the same localization problem (pt_BR) as reported in > > > CCRB-6/CCRB-7 and temporarily fixed it by setting my LANGUAGE > > > environment variable to en_US. This is my attempt to fix that, > > > leveraging the XML output of "svn info --xml". The idea was to use the > > > XML output to construct the same hash that was returned by the old > > > YAML-like output. I also included some unit tests. Feel free to > > > comment on the patch and suggest improvements. My patch was based on > > > the 1.0 code, retrieved from the rubyforge repository. > > > > > > Thanks, > > > -- > > > Danilo Sato > > > MSc. student in Computer Science - University of S?o Paulo - Brazil > > > www.dtsato.com > > > _______________________________________________ > > > Cruisecontrolrb-developers mailing list > > > Cruisecontrolrb-developers at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > > > > > --_alternative 000CEB088725729E_-- > > > > > _______________________________________________ > > Cruisecontrolrb-developers mailing list > > Cruisecontrolrb-developers at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > > > From gigix1980 at gmail.com Mon Mar 26 22:06:14 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Tue, 27 Mar 2007 10:06:14 +0800 Subject: [Cruisecontrolrb-developers] [Cruisecontrolrb-users] Building non-Rails apps In-Reply-To: <20fd9dc50703261905k583076a5t8e84a191021f6584@mail.gmail.com> References: <20fd9dc50703261905k583076a5t8e84a191021f6584@mail.gmail.com> Message-ID: <20fd9dc50703261906s52879d15v77d29dba728895fb@mail.gmail.com> http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9300&group_id=426 Probably your problem is due to this bug as well... On 3/27/07, Sean Hussey wrote: > Ok, I'm getting onto the right track now. I'm calling one shell > script that calls each of the two commands in succession. Now get all > of the output in the Build Log. > > But now I'm back to the tests failing, but returning status 0. CC > thinks this is a success, and so the build "succeeds" even with > failing tests. > > I know this is an issue with how Symfony runs tests, so I'm trying > this (simplified) instead: > > #!/usr/bin/env ruby > > result =`./symfony test-all` > if /Failed/ =~ result then > exit(1) > else > exit(0) > end > > Now the build fails, but there's no output. What can I return from > this script to have it end up in the log? Or is there where I should > try to parse the log file as it's being created? > > Thanks! > > Sean > > On 3/21/07, Alexey Verkhovsky wrote: > > > > Hi, > > > > There is no reason why you should do it via Rake. > > > > project.build_command is invoked with " > $CC_BUILD_ARTIFACTS/build.log" > > appended to the end of it. > > A big part of your problem must be that you have two commands in there, so > > the output of one is not redirected to build.log. So, the way around this is > > probably to enclose it all in parentheses: > > > > '(./symfony propel-build-all-load my_project ./symfony test-all)' > > > > or if that doesn't work, put this sequence into a shell script and invoke > > the shell script > > > > As for parsing the build.log to decide the build outcome, I would just try > > to parse it from $CC_BUILD_ARTEFACTS/build.log. Of course, that means that > > you are parsing the file you are at the same time writing, so there may be > > some interesting hiccups there. > > > > Best regards, > > Alex > > > > > > > > > > > > > > "Sean Hussey" > > Sent by: cruisecontrolrb-users-bounces at rubyforge.org > > > > 03/21/2007 10:11 AM > > > > To Cruisecontrolrb-users at rubyforge.org > > > > cc > > > > Subject [Cruisecontrolrb-users] Building non-Rails apps > > > > > > > > > > > > Hi everyone, > > > > I'm attempting to build a Symfony app and run the included tests: > > > > project.build_command = './symfony propel-build-all-load my_project; > > ./symfony test-all' > > > > The issue with this is that both commands return success even if > > there's a build error or a failing test. > > > > I figured I could just grab the results, grep for "Failed" and exit 1 > > on failure, 0 on success. This works, but doesn't print any output to > > the Build Log. If I print the captured output, it prints twice in the > > build log. > > > > Any advice on how to proceed? Am I barking up the wrong tree? Should > > I turn this into a proper rake task? > > > > Thanks, > > > > Sean > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email Security System. > > For more information please visit > > http://www.messagelabs.com/email > > ______________________________________________________________________ > > > > > > _______________________________________________ > > 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 > -- Jeff Xiong Software Journeyman From geniuslinda at gmail.com Mon Mar 26 22:40:17 2007 From: geniuslinda at gmail.com (Lin Zhang) Date: Tue, 27 Mar 2007 10:40:17 +0800 Subject: [Cruisecontrolrb-developers] Note: build succeed even tests failed(due to bug of Ruby 1.8.6) Message-ID: When we tried to run CruiseControlrb with ruby 1.8.6, something strange happened. When we run build with Test::Unit tests in it, even some tests failed, CCrb still think the build is successful. This error only happens in ruby 1.8.6, no matter what OS you use. We did some research and found this is a bug of ruby 1.8.6, the issue is below: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9300&group_id=426 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070327/9c93ffda/attachment.html From marcus at ahnve.com Wed Mar 28 03:30:54 2007 From: marcus at ahnve.com (Marcus Ahnve) Date: Wed, 28 Mar 2007 09:30:54 +0200 Subject: [Cruisecontrolrb-developers] Adding a VCS Message-ID: <58f8dc7a0703280030q27e9ece7sbe93af1e0d06936c@mail.gmail.com> I want to write a VCS plugin for Mercurial. I have browsed the source, and figured out that an instance of Subversion is passed to Project at creation. However, there are no command line parameters for VCS type. My thoughts are to publish this as a plugin, but it seems that I also need to add some functionality to set the VCS type. What would be the best way to do this, and are there any other people doing the same thing now? /Marcus -- Marcus Ahnve http://marcus.ahnve.net From jseutter at gmail.com Wed Mar 28 09:57:00 2007 From: jseutter at gmail.com (Jerry Seutter) Date: Wed, 28 Mar 2007 07:57:00 -0600 Subject: [Cruisecontrolrb-developers] Adding a VCS In-Reply-To: <58f8dc7a0703280030q27e9ece7sbe93af1e0d06936c@mail.gmail.com> References: <58f8dc7a0703280030q27e9ece7sbe93af1e0d06936c@mail.gmail.com> Message-ID: <2c8d48d70703280657l4e25261pfe314e1e4ecacd36@mail.gmail.com> I've also looked at making a plugin for Bazaar, but have not written any code yet. I'll second the question. Jerry On 3/28/07, Marcus Ahnve wrote: > > I want to write a VCS plugin for Mercurial. I have browsed the source, > and figured out that an instance of Subversion is passed to Project at > creation. However, there are no command line parameters for VCS type. > > My thoughts are to publish this as a plugin, but it seems that I also > need to add some functionality to set the VCS type. What would be the > best way to do this, and are there any other people doing the same > thing now? > > /Marcus > > -- > Marcus Ahnve > http://marcus.ahnve.net > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070328/7965a854/attachment.html From jeremystellsmith at gmail.com Wed Mar 28 13:10:05 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Wed, 28 Mar 2007 10:10:05 -0700 Subject: [Cruisecontrolrb-developers] Adding a VCS In-Reply-To: <2c8d48d70703280657l4e25261pfe314e1e4ecacd36@mail.gmail.com> References: <58f8dc7a0703280030q27e9ece7sbe93af1e0d06936c@mail.gmail.com> <2c8d48d70703280657l4e25261pfe314e1e4ecacd36@mail.gmail.com> Message-ID: We haven't actually tested this. However, it should be that if you implement the "source_control" interface as Subversion does : checkout(target_directory, revision = nil) #you won't need checkout till we add support for automatic checkout from ./cruise add latest_revision(project) revisions_since(project, revision_number) update(project, revision = nil) you should be able to create a project directory in /projects/ and in that project directory, create a cruise_config.rb file that has something like this in it : Project.configure do |project| project.source_control = Perforce.new(:user => 'cruise', :password => 'something cute') end where you replace "Perforce" with your source control class. for now, you'll also have to manually checkout your project to /projects/ wrote: > > I've also looked at making a plugin for Bazaar, but have not written any > code yet. I'll second the question. > > Jerry > > On 3/28/07, Marcus Ahnve wrote: > > > > I want to write a VCS plugin for Mercurial. I have browsed the source, > > and figured out that an instance of Subversion is passed to Project at > > creation. However, there are no command line parameters for VCS type. > > > > My thoughts are to publish this as a plugin, but it seems that I also > > need to add some functionality to set the VCS type. What would be the > > best way to do this, and are there any other people doing the same > > thing now? > > > > /Marcus > > > > -- > > Marcus Ahnve > > http://marcus.ahnve.net > > _______________________________________________ > > Cruisecontrolrb-developers mailing list > > Cruisecontrolrb-developers at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > > > > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070328/63e3e854/attachment-0001.html From gigix1980 at gmail.com Fri Mar 30 02:58:07 2007 From: gigix1980 at gmail.com (Jeff Xiong) Date: Fri, 30 Mar 2007 14:58:07 +0800 Subject: [Cruisecontrolrb-developers] Ask for ideas of performance tuning Message-ID: <20fd9dc50703292358i6831b5d7gbd74a2dc38ce799a@mail.gmail.com> Hi there. Does anyone have any idea of how to improve website's performance when number of builds becomes large? (CCRB-86 and 90) To improve the performance of /projects.js, we can: 1. cache result of Project#last_five_builds to disk 2. expire cache when Project#build being invoked But do we really wanna do that? -- Jeff Xiong Editor of InfoQ China: http://www.infoq.com/cn/ Contributor of CruiseControl.rb: http://cruisecontrolrb.thoughtworks.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070330/ccee97ba/attachment.html From jeremystellsmith at gmail.com Fri Mar 30 03:22:07 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Fri, 30 Mar 2007 00:22:07 -0700 Subject: [Cruisecontrolrb-developers] Ask for ideas of performance tuning In-Reply-To: <20fd9dc50703292358i6831b5d7gbd74a2dc38ce799a@mail.gmail.com> References: <20fd9dc50703292358i6831b5d7gbd74a2dc38ce799a@mail.gmail.com> Message-ID: our whole conversation in the IPM about changing the name of builds was about this. so, encode all information the dashboard needs about a build in its name, like this build-5.incomplete build-4.error.in40s build-3.success.in30s instead of build-5/build_status.incomplete build-4/build_status.error.in40s build-3/build_status.success.in30s alex says that if there are 5 projects and 1000 builds per project, then 5000 i-nodes need to be read currently to display the dashboard. but, with the new scheme, only 5 i-nodes need to be read. definitely worth a try. On 3/29/07, Jeff Xiong wrote: > > Hi there. > > Does anyone have any idea of how to improve website's performance when > number of builds becomes large? (CCRB-86 and 90) > > To improve the performance of /projects.js, we can: > 1. cache result of Project#last_five_builds to disk > 2. expire cache when Project#build being invoked > > But do we really wanna do that? > > -- > Jeff Xiong > Editor of InfoQ China: http://www.infoq.com/cn/ > Contributor of CruiseControl.rb: http://cruisecontrolrb.thoughtworks.com/ > _______________________________________________ > Cruisecontrolrb-developers mailing list > Cruisecontrolrb-developers at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070330/7fdb93c4/attachment.html From k.parnell at gmail.com Sat Mar 31 03:05:23 2007 From: k.parnell at gmail.com (Kenneth Parnell) Date: Sat, 31 Mar 2007 03:05:23 -0400 Subject: [Cruisecontrolrb-developers] Serving From A Subdirectory Message-ID: I would like to suggest the following patch so that the url for the header image is generated properly when cruisecontrolrb is serverd from a subdirectory. -Kenny -------------- next part -------------- A non-text attachment was scrubbed... Name: url.diff Type: application/octet-stream Size: 490 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-developers/attachments/20070331/46ea56ef/attachment.obj