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 2019/06/01 18:23:36 UTC
[whimsy] branch master updated: indicate the responsible officer
for non-pmc projects
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 252e519 indicate the responsible officer for non-pmc projects
252e519 is described below
commit 252e519a22d172be8199033bd9343f165a39fb66
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sat Jun 1 14:22:22 2019 -0400
indicate the responsible officer for non-pmc projects
Currently: diversity, tac, and security
---
www/roster/public_ldap_projects.rb | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/www/roster/public_ldap_projects.rb b/www/roster/public_ldap_projects.rb
index 007fd52..cee823c 100644
--- a/www/roster/public_ldap_projects.rb
+++ b/www/roster/public_ldap_projects.rb
@@ -39,7 +39,7 @@ end
# committee status
committees = Hash[ASF::Committee.load_committee_info.map {|committee|
- [ committee.name.gsub(/[^-\w]/,'') , committee.pmc? ]
+ [ committee.name.gsub(/[^-\w]/,'') , committee ]
}]
# podling status
@@ -64,9 +64,13 @@ projects.keys.sort_by {|a| a.name}.each do |entry|
members: m,
owners: o
}
- pmc = committees[entry.name]
- if pmc
- entries[entry.name][:pmc]=pmc
+ committee = committees[entry.name]
+ if committee
+ if committee.pmc?
+ entries[entry.name][:pmc]=true
+ elsif ASF::Project.find(committee.name).dn
+ entries[entry.name][:officer]=committee.chair.id
+ end
end
pod = pods[entry.name]
if pod