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: don't just complain about the chair
Date Thu, 12 May 2016 02:39:26 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  45d5483   don't just complain about the chair
45d5483 is described below

commit 45d54837f66608c01ef0646a69910ee7e3a57f10
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Wed May 11 22:38:40 2016 -0400

    don't just complain about the chair
    
    if no pmc email addresses can be found; complain about that
---
 lib/whimsy/asf/agenda/special.rb | 4 +++-
 www/board/agenda/Rakefile        | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/agenda/special.rb b/lib/whimsy/asf/agenda/special.rb
index 0d45a1c..14646b4 100644
--- a/lib/whimsy/asf/agenda/special.rb
+++ b/lib/whimsy/asf/agenda/special.rb
@@ -99,7 +99,9 @@ class ASF::Board::Agenda
             end
 
             unless people.include? [chairname, attrs['chair']]
-              if attrs['chair']
+              if people.empty?
+                attrs['warnings'] ||= ['Unable to locate PMC email addresses'] 
+              elsif attrs['chair']
                 attrs['warnings'] ||= ['Chair not member of PMC'] 
               else
                 attrs['warnings'] ||= ['Chair not found in resolution'] 
diff --git a/www/board/agenda/Rakefile b/www/board/agenda/Rakefile
index b33e65d..161dff7 100644
--- a/www/board/agenda/Rakefile
+++ b/www/board/agenda/Rakefile
@@ -1,3 +1,5 @@
+$LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
+
 require 'whimsy/asf/config'
 
 require 'rspec/core/rake_task'

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

Mime
View raw message