<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -123,6 +123,29 @@ Capistrano::Configuration.instance(:must_exist).load do
         run &quot;if [ -f #{shared_path}/system/maintenance.html.custom ]; then cp #{shared_path}/system/maintenance.html.custom #{maint_file}; else cp #{shared_path}/system/maintenance.html.tmp #{maint_file}; fi&quot;
       end
     end
+
+    namespace :notify do
+      task :start, :roles =&gt; :app do
+        begin
+          run %(curl -X POST -d &quot;application=#{application rescue 'unknown'}&quot; http://weather.engineyard.com/`hostname`/deploy_start)
+        rescue
+          puts &quot;Deploy notification failed&quot;
+        end
+      end
+
+      task :stop, :roles =&gt; :app do
+        begin
+          run %(curl -X POST -d &quot;application=#{application rescue 'unknown'}&quot; http://weather.engineyard.com/`hostname`/deploy_stop)
+        rescue
+          puts &quot;Deploy notification failed&quot;
+        end
+      end
+    end
+  end
+
+  [&quot;deploy&quot;, &quot;deploy:long&quot;].each do |tsk|
+    before(tsk, &quot;deploy:notify:start&quot;)
+    after(tsk, &quot;deploy:notify:stop&quot;)
   end
 
 end</diff>
      <filename>lib/eycap/recipes/deploy.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>213b9b5a560066393e57beaf222a478082c9a82e</id>
    </parent>
  </parents>
  <author>
    <name>Mutwin Kraus</name>
    <email>mutle@blogage.de</email>
  </author>
  <url>http://github.com/engineyard/eycap/commit/96bc0104fa62df7d4766bfbe42838340889f35d8</url>
  <id>96bc0104fa62df7d4766bfbe42838340889f35d8</id>
  <committed-date>2009-09-29T15:47:43-07:00</committed-date>
  <authored-date>2009-09-29T10:00:35-07:00</authored-date>
  <message>Add recipe to notify Weather app of new deploys</message>
  <tree>c192c7e652ebc5e01087a6a9525caa4a8e92805d</tree>
  <committer>
    <name>Mutwin Kraus</name>
    <email>mutle@blogage.de</email>
  </committer>
</commit>
