whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Add board info output
Date Mon, 07 Oct 2019 21:37:41 GMT
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 779c7dd  Add board info output
779c7dd is described below

commit 779c7dd991117750e4a8712f457eb49316deb7c9
Author: Sebb <sebb@apache.org>
AuthorDate: Mon Oct 7 22:36:44 2019 +0100

    Add board info output
---
 www/roster/public_committee_info.rb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/www/roster/public_committee_info.rb b/www/roster/public_committee_info.rb
index 798a7ef..cf15377 100644
--- a/www/roster/public_committee_info.rb
+++ b/www/roster/public_committee_info.rb
@@ -31,6 +31,7 @@
 #    },
 
 require_relative 'public_json_common'
+require 'whimsy/asf/board'
 
 # gather committee info
 committees = ASF::Committee.load_committee_info
@@ -71,6 +72,10 @@ info[:officers] = Hash[
   }
 ]
 
+info[:board] = {
+  roster: ASF::Board::directors(true)
+}
+
 public_json_output(info)
 
 # Check if there is an unexpected entry date


Mime
View raw message