You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/10/11 15:52:40 UTC
[whimsy] branch master updated: More places need updating
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9a3fc7a More places need updating
9a3fc7a is described below
commit 9a3fc7a708600d31d57cf631d603a63d7a4af8f8
Author: Sebb <se...@apache.org>
AuthorDate: Sun Oct 11 16:52:07 2020 +0100
More places need updating
Also don't use stale local file copies
---
tools/collate_minutes.rb | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index 52d6eaa..079392c 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -110,7 +110,7 @@ end
# get site information
DATAURI = 'https://whimsy.apache.org/public/committee-info.json'
local_copy = File.expand_path('../../www/public/committee-info.json', __FILE__)
-if File.exist? local_copy
+if File.exist?(local_copy) && (Time.now - File.stat(local_copy).mtime < 3600)
Wunderbar.info "Using #{local_copy}"
cinfo = JSON.parse(File.read(local_copy))
else
@@ -259,6 +259,7 @@ seen={}
title.sub! 'ASF Rep. for W3C', 'W3C Relations'
title.sub! 'Dolphin Scheduler', 'DolphinScheduler' # board_minutes_2019_11_20.txt
title.sub! 'DLab', 'DataLab'
+ title.sub! 'SystemML', 'SystemDS'
next if title.strip.empty?
next if text.strip.empty? and title =~ /Intentionally (left )?Blank/i
@@ -372,6 +373,9 @@ seen={}
title.sub! 'Socialsite', 'SocialSite'
title.sub! 'stdcxx', 'C++ Standard Library'
title.sub! 'STDCXX', 'C++ Standard Library'
+ title.sub! 'Dolphin Scheduler', 'DolphinScheduler' # board_minutes_2019_11_20.txt
+ title.sub! 'DLab', 'DataLab'
+ title.sub! 'SystemML', 'SystemDS'
title.sub! /\s+\(.*\)$/, ''
title.sub! /^Apache(: Project)?/, ''