You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2023/09/06 15:19:30 UTC
svn commit: r1912142 - /comdev/projects.apache.org/trunk/scripts/committee_info.py
Author: sebb
Date: Wed Sep 6 15:19:30 2023
New Revision: 1912142
URL: http://svn.apache.org/viewvc?rev=1912142&view=rev
Log:
Function to return ids and names
Modified:
comdev/projects.apache.org/trunk/scripts/committee_info.py
Modified: comdev/projects.apache.org/trunk/scripts/committee_info.py
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/scripts/committee_info.py?rev=1912142&r1=1912141&r2=1912142&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/scripts/committee_info.py (original)
+++ comdev/projects.apache.org/trunk/scripts/committee_info.py Wed Sep 6 15:19:30 2023
@@ -224,4 +224,19 @@ def pmcdates():
# The 'CI' internal name for Web Services is 'ws' but reporter code originally used 'webservices'
if ent == 'ws':
dates['webservices'] = dates[ent]
- return dates
\ No newline at end of file
+ return dates
+
+"""
+Return dict of ids and names
+"""
+def pmcnames():
+ names = {}
+
+ cttes = cidata['committees']
+ for ent in cttes:
+ ctte = cttes[ent]
+ if not ctte['pmc']:
+ continue
+ names[ent] = ctte['display_name']
+
+ return names