You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/03/27 14:09:57 UTC

[whimsy] branch master updated: fixes for treasurer, Vice Chair reports

This is an automated email from the ASF dual-hosted git repository.

rubys 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  53052fe   fixes for treasurer, Vice Chair reports
53052fe is described below

commit 53052fecd70dbe04a3f25242563db30a6532bf34
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Mar 27 10:09:32 2017 -0400

    fixes for treasurer, Vice Chair reports
---
 tools/collate_minutes.rb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index a5531e8..69cada9 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -527,8 +527,9 @@ FileUtils.mkdir_p SITE_MINUTES
   end
 
   # parse (Executive) Officer Reports
-  execs = minutes[/Officer Reports(.*?)\n\s+\d+\./m,1]
+  execs = minutes[/Officer Reports(.*?)\n\s{1,3}\d+\./m,1]
   if execs
+    execs.sub! /\s*Executive officer reports approved.*?\n*\Z/, ''
     execs.scan(/
       \n\s+(\w+)\.\s([^\n]*?)\n         # attach, title
       (.*?)                             # text
@@ -553,7 +554,7 @@ FileUtils.mkdir_p SITE_MINUTES
       report.title = 'Treasurer' if report.title =~ /Treasurer/
       report.meeting = date
       report.attach = '*' + title
-      report.text = text
+      report.text = text.dup
       pending[title] = report
     end
   end

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].