whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Bazley <s...@apache.org>
Subject [whimsy.git] [1/1] Commit c237dca: No longer need to treat git_info specially
Date Tue, 26 Jan 2016 09:13:13 GMT
Commit c237dcac7bc08e9367cc6a86c83854a17c9341d8:
    No longer need to treat git_info specially


Branch: refs/heads/master
Author: Sebb <sebb@apache.org>
Committer: Sebb <sebb@apache.org>
Pusher: sebb <sebb@apache.org>

------------------------------------------------------------
www/status/monitors/public_json.rb                           | + --
------------------------------------------------------------
3 changes: 1 additions, 2 deletions.
------------------------------------------------------------


diff --git a/www/status/monitors/public_json.rb b/www/status/monitors/public_json.rb
index c7ced83..0102f23 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -17,11 +17,10 @@ def Monitor.public_json(previous_status)
 
     contents = File.read(log)
 
-    contents.sub! /^git_info: .*\n+/, ''
-
     # Ignore Wunderbar logging for normal messages (TODO ignore _WARN ?)
     contents.sub! /^(_INFO|_DEBUG) .*\n+/, ''
 
+    # diff -u output:
     if contents.sub! /^--- .*?\n(\n|\Z)/m, ''
       status[name].merge! level: 'info', title: 'updated'
     end

Mime
View raw message