[Logilogi-svn] SF.net SVN: logilogi: [251] trunk
Status: Beta
Brought to you by:
wybow
|
From: <wy...@us...> - 2007-03-16 12:29:56
|
Revision: 251
http://logilogi.svn.sourceforge.net/logilogi/?rev=251&view=rev
Author: wybow
Date: 2007-03-16 05:29:49 -0700 (Fri, 16 Mar 2007)
Log Message:
-----------
Added gems plugin for freezing gems, added Ubuntu-notice to readme, in
the middle of tweaking tasks (new commit soon).
Modified Paths:
--------------
trunk/config/gmaps_api_key.yml.tmpl
trunk/doc/README_FOR_APP
trunk/lib/task_helper.rb
trunk/lib/tasks/do_check_commit.rake
Property Changed:
----------------
trunk/vendor/plugins/
Modified: trunk/config/gmaps_api_key.yml.tmpl
===================================================================
--- trunk/config/gmaps_api_key.yml.tmpl 2007-03-14 15:13:59 UTC (rev 250)
+++ trunk/config/gmaps_api_key.yml.tmpl 2007-03-16 12:29:49 UTC (rev 251)
@@ -1,14 +1,20 @@
-#Fill here the Google Maps API keys for your application
-#In this sample:
-#For development and test, we have only one possible host (localhost:3000), so there is only a single key associated with the mode.
-#In production, the app can be accessed through 2 different hosts: thepochisuperstarmegashow.com and exmaple.com. There then needs a 2-key hash. If you deployed to one host, only the API key would be needed (as in development and test).
+# These are the Google API keys used by LogiLogi Manta, the defaults
+# are for *.logi-manta.org:3000, which you can add as aliasses for
+# localhost, in your /etc/hosts file for development.
+defaults: &defaults
+ en: ABQIAAAA9xTdjYCio27NUwAFcDfs3xTmEUv2XGjbWvPUnsliC1K4Td5ctxTq-Fg9ttBge_0EjvDhkdbw7bHVxw
+ de: ABQIAAAA9xTdjYCio27NUwAFcDfs3xSz_A5CNIDjJk3MXYHkufINF8Bz5RS1Uwi7CnohAJzxS-5WcrpJd6gdDQ
+ nl: ABQIAAAA9xTdjYCio27NUwAFcDfs3xSP-fxwYzOkHdmkBWE-5eBNP21JuxR6Y3O5z2QWV8CJRCyABjkfGQ425g
+ fr: ABQIAAAA9xTdjYCio27NUwAFcDfs3xRwOW7GB99-gyJs9F4EdkpN1MDnyBTo1Eo7mMvfc4Yn_AHuNbm02vS2yg
+ es: ABQIAAAA9xTdjYCio27NUwAFcDfs3xQZxXBWpvA_4Vx3RYONnRw5l5UdWRRWQ6rx7CcIKt7ikeIJg1eIFKMr4A
+ it: ABQIAAAA9xTdjYCio27NUwAFcDfs3xQdFw3zaB9tQrIRzwgMcYFjEfbA-BQVZWxLGUjhHFxwTGXO7FYB1GQPvg
+
development:
- ABQIAAAAzMUFFnT9uH0xq39J0Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDKaBR6j135zrztfTGVOm2QlWnkaidDIQ
+ <<: *defaults
test:
- ABQIAAAAzMUFFnT9uH0xq39J0Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDKaBR6j135zrztfTGVOm2QlWnkaidDIQ
+ <<: *defaults
production:
- thepochisuperstarmegashow.com: ABQIAAAAzMUFFnT9uH0Sfg76Y4kbhTJQa0g3IQ9GZqIMmInSLzwtGDmlRT6e90j135zat56yhJKQlWnkaidDIQ
- example.com: ABQIAAAAzMUFFnT9uH0Sfg98Y4kbhGFJQa0g3IQ9GZqIMmInSLrthJKGDmlRT98f4j135zat56yjRKQlWnkmod3TB
\ No newline at end of file
+# you must request and add your own from http://www.google.com/apis/maps/
Modified: trunk/doc/README_FOR_APP
===================================================================
--- trunk/doc/README_FOR_APP 2007-03-14 15:13:59 UTC (rev 250)
+++ trunk/doc/README_FOR_APP 2007-03-16 12:29:49 UTC (rev 251)
@@ -40,7 +40,7 @@
If you are using Ubuntu or Debian as your OS see the notes at the bottom.
LogiLogi Manta requires Rails[http://www.rubyonrails.org]
-and the TZInfo[http://tzinfo.rubyforge.org],
+and the tzinfo[http://tzinfo.rubyforge.org],
daemons[http://svn.kylemaxwell.com/rails_plugins/daemon_generator],
ferret[http://ferret.davebalmain.com/trac/wiki],
ruby-openid[http://www.openidenabled.com/openid/libraries/ruby],
Modified: trunk/lib/task_helper.rb
===================================================================
--- trunk/lib/task_helper.rb 2007-03-14 15:13:59 UTC (rev 250)
+++ trunk/lib/task_helper.rb 2007-03-16 12:29:49 UTC (rev 251)
@@ -14,12 +14,25 @@
# For checking commits
#
-class CommitCheckNotifier < ActionMailer::Base
- def failure(error)
- @subject = "Build broken"
+class ErrorNotifier < ActionMailer::Base
+ # Functions
+ def self.run_and_report_if_erred(shell_line, task = 'Script')
+ puts shell_line
+ output = `#{shell_line}`
+ process = $?
+ if process.exitstatus != 0
+ puts output
+# ErrorNotifier.deliver_failure(output, task)
+ break
+ end
+ end
+
+ # Methods
+ def failure(error, task)
+ @subject = "#{task} broken"
@body = error
- @recipients = ENV['USER']
- @from = 'admin'
+ @recipients = 'log...@li...'
+ @from = 'ad...@lo...'
@sent_on = Time.now
end
end
Modified: trunk/lib/tasks/do_check_commit.rake
===================================================================
--- trunk/lib/tasks/do_check_commit.rake 2007-03-14 15:13:59 UTC (rev 250)
+++ trunk/lib/tasks/do_check_commit.rake 2007-03-16 12:29:49 UTC (rev 251)
@@ -1,16 +1,11 @@
task :do_check_commit do
require File.join(File.dirname(__FILE__), '../task_helper.rb')
runs = [
- "cd /tmp; svn co https://svn.sourceforge.net/svnroot/logilogi/trunk logilogi",
- "cp -f config/database.yml /tmp/logilogi/config/database.yml",
- "cp -f config/gmaps_api_key.yml /tmp/logilogi/config/gmaps_api_key.yml",
- "cd /tmp/logilogi; rake test:units"]
+ "cd /tmp; svn co https://svn.sourceforge.net/svnroot/logilogi/trunk logilogi-test",
+ "cp -f config/database.yml /tmp/logilogi-test/config/database.yml.tmpl",
+ "cp -f config/gmaps_api_key.yml /tmp/logilogi-test/config/gmaps_api_key.yml.tmpl",
+ "cd /tmp/logilogi-test; rake test:units"]
runs.each do |run|
- output = `#{run}`
- process = $?
- if process.exitstatus != 0
- CommitCheckNotifier.deliver_failure(output)
- break
- end
+ ErrorNotifier.run_and_report_if_erred(run, 'Build')
end
end
Property changes on: trunk/vendor/plugins
___________________________________________________________________
Name: svn:externals
- rav svn://rubyforge.org/var/svn/rav/stable
testcase_setup_and_teardown_with_blocks http://svn.viney.net.nz/things/rails/plugins/testcase_setup_and_teardown_with_blocks
acts_as_ferret svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin/acts_as_ferret
form_builders http://svn.rubaidh.com/plugins/trunk/form_builders
ym4r_gm svn://rubyforge.org/var/svn/ym4r/Plugins/GM/trunk/ym4r_gm
+ rav svn://rubyforge.org/var/svn/rav/stable
testcase_setup_and_teardown_with_blocks http://svn.viney.net.nz/things/rails/plugins/testcase_setup_and_teardown_with_blocks
acts_as_ferret svn://projects.jkraemer.net/acts_as_ferret/trunk/plugin/acts_as_ferret
form_builders http://svn.rubaidh.com/plugins/trunk/form_builders
ym4r_gm svn://rubyforge.org/var/svn/ym4r/Plugins/GM/trunk/ym4r_gm
gems http://svn.techno-weenie.net/projects/plugins/gems/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|