whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: limit need_chair check to establish resolutions
Date Tue, 06 Feb 2018 15:27:20 GMT
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 3a180ed  limit need_chair check to establish resolutions
3a180ed is described below

commit 3a180ed29d3b96b6fa32d191c6dc4fd33e6b44b1
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Tue Feb 6 10:27:04 2018 -0500

    limit need_chair check to establish resolutions
---
 lib/whimsy/asf/agenda/special.rb | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/lib/whimsy/asf/agenda/special.rb b/lib/whimsy/asf/agenda/special.rb
index 51d13be..e6a3754 100644
--- a/lib/whimsy/asf/agenda/special.rb
+++ b/lib/whimsy/asf/agenda/special.rb
@@ -106,18 +106,15 @@ class ASF::Board::Agenda
           attrs['names'] = committee.names
         end
 
-        need_chair = true unless title.start_with? 'Terminate'
-      else
-        if title =~ /Establish (.*)/
-          name = $1
-          attrs['prior_reports'] =
-            "#{whimsy}/board/minutes/#{name.gsub(/\W/,'_')}"
-
-          if text.scan(/[<(][-.\w]+@(?:[-\w]+\.)+\w+[>)]/).
-            any? {|email| not email.include? 'apache.org'}
-          then
-            attrs['warnings'] ||= ['non apache.org email address found'] 
-          end
+      elsif title =~ /Establish (.*)/
+        name = $1
+        attrs['prior_reports'] =
+          "#{whimsy}/board/minutes/#{name.gsub(/\W/,'_')}"
+
+        if text.scan(/[<(][-.\w]+@(?:[-\w]+\.)+\w+[>)]/).
+          any? {|email| not email.include? 'apache.org'}
+        then
+          attrs['warnings'] ||= ['non apache.org email address found'] 
         end
 
         need_chair = true unless fulltitle =~ /Establish.*position/i

-- 
To stop receiving notification emails like this one, please contact
rubys@apache.org.

Mime
View raw message