You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2024/01/08 16:55:19 UTC

(nifi-site) branch main-staging updated: NIFI-12556 Added project-members shortcode PMC and Committers

This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main-staging
in repository https://gitbox.apache.org/repos/asf/nifi-site.git


The following commit(s) were added to refs/heads/main-staging by this push:
     new d57311d  NIFI-12556 Added project-members shortcode PMC and Committers
d57311d is described below

commit d57311d845fed78cddd9e3a2e42081c457c95ae0
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Mon Jan 8 10:53:59 2024 -0600

    NIFI-12556 Added project-members shortcode PMC and Committers
---
 config.toml                                        |  3 +
 content/community/_index.md                        | 64 +---------------------
 .../nifi/layouts/shortcodes/project-members.html   | 26 +++++++++
 3 files changed, 31 insertions(+), 62 deletions(-)

diff --git a/config.toml b/config.toml
index 83ecc60..585e866 100644
--- a/config.toml
+++ b/config.toml
@@ -23,6 +23,9 @@ assets = "assets"
 matomoSiteId = 28
 productionHost = "nifi.apache.org"
 
+apacheFoundationGroupsUrl = "https://projects.apache.org/json/foundation/groups.json"
+apacheFoundationPeopleNameUrl = "https://projects.apache.org/json/foundation/people_name.json"
+
 dynamicDownloadPathUrl = "https://www.apache.org/dyn/closer.lua?path=/nifi"
 downloadPathUrl = "https://downloads.apache.org/nifi"
 archiveDownloadPathUrl = "https://archive.apache.org/dist/nifi"
diff --git a/content/community/_index.md b/content/community/_index.md
index 374063c..1a06129 100644
--- a/content/community/_index.md
+++ b/content/community/_index.md
@@ -17,40 +17,7 @@ The team consists of Project Management Committee Members, Committers, and Contr
 Project Management Committee Members are volunteers who responsible for leading the project. PMC members cast binding
 votes on project direction and software releases.
 
-| Apache Username  | Name                  |
-|------------------|-----------------------|
-| aboda            | Arpad Boda            |
-| afucs            | Andre Fucs de Miranda |
-| aldrin           | Aldrin Piri           |
-| alopresto        | Andy LoPresto         |
-| andrewmlim       | Andrew M. Lim         |
-| bbende           | Bryan Bende           |
-| busbey           | Sean Busbey           |
-| danbress         | Dan Bress             |
-| devriesb         | Brandon DeVries       |
-| exceptionfactory | David Handermann      |
-| ijokarumawak     | Koji Kawamura         |
-| jcarey           | Jason Carey           |
-| jeremydyer       | Jeremy Dyer           |
-| jfrazee          | Joey Frazee           |
-| joewitt          | Joe Witt              |
-| jskora           | Joe Skora             |
-| jvwing           | James Wing            |
-| kevdoran         | Kevin Doran           |
-| markap14         | Mark Payne            |
-| mattyb149        | Matt Burgess          |
-| mcgilman         | Matt Gilman           |
-| mosermw          | Michael W Moser       |
-| mthomsen         | Mike Thomsen          |
-| ozhurakousky     | Oleg Zhurakousky      |
-| phrocker         | Marc Parisi           |
-| pvillard         | Pierre Villard        |
-| scottyaslan      | Scott Aslan           |
-| szaszm           | Marton Szasz          |
-| taftster         | Adam Taft             |
-| tkurc            | Tony Kurc             |
-| turcsanyi        | Peter Turcsanyi       |
-| ymdavis          | Yolanda Davis         |
+{{< project-members project="nifi-pmc" >}}
 
 ## Committers
 
@@ -64,34 +31,7 @@ members on a vote open for at least 72 hours. A Committer is considered inactive
 can be revoked by a unanimous vote of all the active PMC members, except the member in question if they are a PMC
 member.
 
-| Apache Username   | Name                    |
-|-------------------|-------------------------|
-| adebreceni        | Adam Debreceni          |
-| aichrist          | Andy I.C.               |
-| amarkovics        | Ádám Markovics          |
-| bakaid            | Dániel Bakai            |
-| bqiu              | Ben Qiu                 |
-| brosander         | Bryan Rosander          |
-| bsimon            | Simon Bence             |
-| chriss            | Chris Sampson           |
-| denes             | Denes Arvay             |
-| edbe              | Ed Berezitsky           |
-| fgerlits          | Ferenc Gerlits          |
-| greyp             | Paul Grey               |
-| jgresock          | Joe Gresock             |
-| kotarot           | Kotaro Terada           |
-| lordgamez         | Gábor Gyimesi           |
-| martinzink        | Martin Zink             |
-| mhogue            | Mike Hogue              |
-| mtien             | Margot Tien             |
-| otto              | Otto Fowler             |
-| rfellows          | Rob Fellows             |
-| rickysaltzer      | Ricky Saltzer           |
-| rmoran            | Rob Moran               |
-| thenatog          | Nathan Gough            |
-| toivoadams        | Toivo Adams             |
-| tpalfy            | Tamas Palfy             |
-| zenfenan          | Sivaprasanna Sethuraman |
+{{< project-members project="nifi" >}}
 
 ## Contributors
 
diff --git a/themes/nifi/layouts/shortcodes/project-members.html b/themes/nifi/layouts/shortcodes/project-members.html
new file mode 100644
index 0000000..bb5c7cc
--- /dev/null
+++ b/themes/nifi/layouts/shortcodes/project-members.html
@@ -0,0 +1,26 @@
+{{ $groups := getJSON .Site.Params.apacheFoundationGroupsUrl }}
+{{ $people := getJSON .Site.Params.apacheFoundationPeopleNameUrl }}
+
+{{- $project := "nifi" -}}
+{{- with .Get "project" -}}
+  {{- $project = . -}}
+{{- end -}}
+
+<table>
+  <thead>
+    <tr>
+      <th>Apache Username</th>
+      <th>Name</th>
+    </tr>
+  </thead>
+  <tbody>
+  {{ $members := index $groups $project }}
+  {{- range $username := $members -}}
+    {{ $name := index $people $username }}
+    <tr>
+      <td>{{ $username }}</td>
+      <td>{{ $name }}</td>
+    </tr>
+  {{- end }}
+  </tbody>
+</table>