Skip to content

Commit

Permalink
docs: manually configure committers and smc members (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepitkin authored Oct 19, 2023
1 parent c776fda commit 12f899b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 51 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/site.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Site

on:
schedule:
- cron: "0 0 * * 0"
push:
branches: [main]
paths:
Expand Down Expand Up @@ -36,49 +34,6 @@ jobs:
${{ runner.os }}-pip-
- name: Install dependencies
run: python3 -m pip install -r ./site/requirements.txt
- name: Get collaborators
env:
GH_TOKEN: ${{ github.token }}
run: |
gh api graphql -f query='{
repository(owner: "substrait-io", name: "substrait") {
collaborators {
edges {
permission
}
nodes {
name
company
}
}
}
}' | jq '[
[
[.data.repository.collaborators.edges[] | .permission],
[.data.repository.collaborators.nodes[] | .name],
[.data.repository.collaborators.nodes[] | .company]
]
| transpose[]
| {
permission: .[0],
name: .[1],
company: .[2]
}
]' > collaborators.json
- name: smc.yaml
run: |
jq 'map(select(.permission == "ADMIN"))
| map({
"Name":.name,
"Company":.company
})' collaborators.json | yq -P > site/data/smc.yaml
- name: committers.yaml
run: |
jq 'map(select(.permission == "WRITE"))
| map({
"Name":.name,
"Company":.company
})' collaborators.json | yq -P > site/data/committers.yaml
- name: Generate Static Site
run: mkdocs build
working-directory: ./site
Expand Down
33 changes: 30 additions & 3 deletions site/data/committers.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# This file is automatically generated in .github/workflows/site.yaml
- Name:
Company:
- Name: Jeroen van Straten
Association: Qblox
- Name: Carlo Curino
Association: Microsoft
- Name: James Taylor
Association: Sundeck
- Name: Sutou Kouhei
Association: Clearcode
- Name: Micah Kornfeld
Association: Google
- Name: Jinfeng Ni
Association: Sundeck
- Name: Andy Grove
Association: Nvidia
- Name: Jesus Camacho Rodriguez
Association: Microsoft
- Name: Rich Tia
Association: Voltron Data
- Name: Vibhatha Abeykoon
Association: Voltron Data
- Name: Nic Crane
Association: Recast
- Name: Gil Forsyth
Association: Voltron Data
- Name: ChaoJun Zhang
Association: Intel
- Name: Matthijs Brobbel
Association: Voltron Data
- Name: Matt Topol
Association: Voltron Data
13 changes: 10 additions & 3 deletions site/data/smc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# This file is automatically generated in .github/workflows/site.yaml
- Name:
Company:
- Name: Phillip Cloud
Association: Voltron Data
- Name: Weston Pace
Association: LanceDB
- Name: Jacques Nadeau
Association: Sundeck
- Name: Victor Barua
Association: Datadog
- Name: David Sisson
Association: Voltron Data

0 comments on commit 12f899b

Please sign in to comment.