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  9e68ab3   gather up a list of feedback yet to be sent
9e68ab3 is described below

commit 9e68ab3c221ae3e24d1ed62629f746bbdd768c4e
Author: Sam Ruby <[email protected]>
AuthorDate: Sun Jul 31 18:26:24 2016 -0400

    gather up a list of feedback yet to be sent
---
 www/board/agenda/views/actions/todos.json.rb | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/www/board/agenda/views/actions/todos.json.rb 
b/www/board/agenda/views/actions/todos.json.rb
index 9c529a5..b0051aa 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -25,6 +25,20 @@ end
 minutes[:todos] ||= {}
 todos = minutes[:todos].dup
 
+# iterate over the agenda, finding items where there is either comments or
+# minutes that can be forwarded to the PMC
+feedback = []
+Agenda.parse(agenda, :full).each do |item|
+  # select exec officer, additional officer, and committee reports
+  next unless item[:attach] =~ /^(4[A-Z]|\d|[A-Z]+)$/
+  next unless item['chair_email']
+
+  next unless minutes[item['title']] or 
+    (item['comments'] and not item['comments'].empty?)
+
+  feedback << item['title'] unless todos[:feedback_sent].include? item['title']
+end
+
 ########################################################################
 #                               Actions                                #
 ########################################################################
@@ -154,3 +168,4 @@ _establish establish.
 _terminate terminate.
   map {|name, resolution| {name: name, resolution: resolution}}
 _minutes minutes
+_feedback feedback

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to