From 8fd7e589435299df2501d7ccbb2abe27f8d51ce2 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Tue, 20 Oct 2026 17:05:32 -0600 Subject: [PATCH 01/10] docs(adv): update advisory process --- community/infrastructure/data-process.md | 46 ++++++++++++++++++++++-- community/infrastructure/intro.md | 2 +- governance/structure.md | 5 ++- 3 files changed, 48 insertions(+), 5 deletions(-) diff --git a/community/infrastructure/data-process.md b/community/infrastructure/data-process.md index cae149d..f1d557a 100644 --- a/community/infrastructure/data-process.md +++ b/community/infrastructure/data-process.md @@ -28,9 +28,12 @@ A few things that are helpful to know: * **Changed an editorial team member? Use the Update editorial board workflow .** It only looks at team membership, so it runs quickly and opens a small, easy-to-review pull request. * **Update Contribs & reviewers does a lot more.** It checks every repository and review issue, so it takes longer and opens a much larger pull request. * **The metrics dashboards update on their own schedule.** The editorial charts read the website's YAML files from the `data/` directory on the `main` branch. A separate [deploy workflow](https://github.com/pyOpenSci/metrics/actions/workflows/deploy.yml) rebuilds the dashboards every Sunday at 00:00 UTC using whatever has been merged by then, so you may see a short delay there. -* **Please don't edit the generated files by hand.** The workflows overwrite them each time they run, so your changes would be lost. The one exception is [`data/manual-editorial-roster.yml`](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/manual-editorial-roster.yml), which is for editors who can't join our GitHub organization (and so can't be added to an editorial team). - -And also we do allow you to update someones NAME in the contributors.yml file because the name on GitHub is not always their preferred name. That should never be overwritten. +* **You can update some fields in [`data/contributors.yml`](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/contributors.yml) by hand.** The Monday workflow keeps these once they are on `main`: + * **Advisory status** (`advisory`). See [Update the advisory council](update-the-advisory-council). + * **Leadership status** (`board`). Set this to `true` to list someone under Executive Council, Leadership & Staff. + * **Title** (`title`), the role shown on their card. Editor titles still come from the [editorial workflow](editorial-teams). Other titles, such as Advisory Council or Executive Director, stay as you write them. + * **Name** (`name`). Some people have no name on GitHub. Add their name here so the community page can list them. If a name is already in the file, the workflow does not replace it. +* [`data/manual-editorial-roster.yml`](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/manual-editorial-roster.yml) is also edited by hand, for editors who can't join our GitHub organization. The workflows overwrite `data/packages.yml`, `data/editorial-board.yml`, and `data/emeritus-editors.yml`. ## Where the data comes from @@ -62,6 +65,43 @@ You don't have to wait for the next scheduled run. If you have write access to ` Not sure whether you can change a team or run a workflow? The [editorial teams](editorial-teams) page explains who can do what. +(update-the-advisory-council)= +## Update the advisory council + +The [Advisory Council](https://www.pyopensci.org/our-community/#advisory-council) on the Our Community page is maintained by the core team. There is no GitHub team for it, and no workflow to run. Edit [`data/contributors.yml`](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/contributors.yml) in the website repository, open a pull request, and merge it. The page updates on the next website deploy. + +The website lists current members alphabetically by first name. Names in the file are stored as first name, then last name. You do not set `sort` for this section. + +### Add a current member + +Find the person in `data/contributors.yml`. If they are not in the file yet, add an entry for them. Set: + +* `advisory: true` +* `emeritus_advisory: false` +* `title: Advisory Council` + +If they already have a title, such as an editor title, make `title` a list and include `Advisory Council` as one item. + +A new entry also needs: + +* `name`, with the first name first +* `github_username` +* `github_image_id`, the numeric GitHub user id used for their photo. Read the `id` field from `https://api.github.com/users/USERNAME` + +### When someone steps down + +Set: + +* `advisory: false` +* `emeritus_advisory: true` +* `title: Emeritus Advisory Council` + +`emeritus_advisory: true` is what places someone in the Emeritus Leadership section. That section also includes other emeritus leadership, such as emeritus Executive Council. Leave the flag in place for anyone who should stay in that section. + +### Keep the Monday workflow from dropping the change + +Merge your pull request before Monday's **Update Contribs & reviewers** run. If that pull request is already open, add your edit to it. Merging an older bot pull request after your edit can drop it. After the change is on `main`, later runs keep advisory status, leadership status, title, and name. + ## If something breaks Don't worry, you won't break anything by running a workflow. If one fails, a message is posted automatically to the `#pyos-maintainers-infrastructure` Slack channel. If you get stuck, post there too, and the [pyOpenSci repository maintainers](pyopensci-maintainers-permissions) will be happy to help. If you'd like to dig in yourself, the `pyosMeta` [development guide](https://github.com/pyOpenSci/pyosMeta/blob/main/development.md) explains the tokens and permissions the workflows use. diff --git a/community/infrastructure/intro.md b/community/infrastructure/intro.md index 24cc36f..0f352b8 100644 --- a/community/infrastructure/intro.md +++ b/community/infrastructure/intro.md @@ -54,7 +54,7 @@ All sub-sites are built separately but served under the `pyopensci.org` domain, The [`pyosMeta`](https://github.com/pyOpenSci/pyosMeta) package is a Python package that **parses review, contributor, and editorial data** and turns it into **machine-readable YAML files**. Here's where each public page gets its data: -* **[Our Community](https://www.pyopensci.org/our-community/index.html) and [Packages](https://www.pyopensci.org/python-packages.html) pages.** The **Update Contribs & reviewers** workflow reads the All Contributors files (`.all-contributorsrc`) in our repositories and the review issues in [`software-submission`](https://github.com/pyOpenSci/software-submission). +* **[Our Community](https://www.pyopensci.org/our-community/index.html) and [Packages](https://www.pyopensci.org/python-packages.html) pages.** The **Update Contribs & reviewers** workflow reads the All Contributors files (`.all-contributorsrc`) in our repositories and the review issues in [`software-submission`](https://github.com/pyOpenSci/software-submission). Advisory Council membership is a core-team edit in `data/contributors.yml`. See [Update the advisory council](update-the-advisory-council). * **[Editorial board page](https://www.pyopensci.org/about-peer-review/index.html#meet-our-editorial-board).** The **Update editorial board** workflow reads the GitHub teams under `peer-review-team`, plus a [small manual roster](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/manual-editorial-roster.yml) for people who can't join the organization. If you add or remove editors, see [editorial teams](editorial-teams). * **[Metrics dashboards](https://www.pyopensci.org/metrics).** The metrics repository has its own workflow. It reads review data from GitHub and the editorial board files from the website's `main` branch. * **Pull request checks.** Every repository runs checks when you open a pull request. See [continuous integration](continuous-integration). diff --git a/governance/structure.md b/governance/structure.md index d6f122f..b321f48 100644 --- a/governance/structure.md +++ b/governance/structure.md @@ -21,7 +21,10 @@ The Executive Director (discussed below) is a voting member of the Executive Cou ### pyOpenSci advisory council -[Click here to view current advisory council members.](https://www.pyopensci.org/our-community/#pyopensci-advisory-council) +[Click here to view current advisory council members.](https://www.pyopensci.org/our-community/#advisory-council) + +The core team updates that listing by hand. See +[Update the advisory council](update-the-advisory-council). The Advisory Council is comprised of leaders in the Python scientific open source ecosystem. This council advises the Executive Director From d2634c910aa0d05aae18c7b8342969147b9b9f16 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 21 Oct 2026 13:33:19 -0600 Subject: [PATCH 02/10] docs(onboarding): update and organize data workflows and enhance the advisory onboarding --- community/index.md | 14 +- .../infrastructure/continuous-integration.md | 2 +- community/infrastructure/data-process.md | 206 +++++++++++++----- community/infrastructure/editorial-teams.md | 7 +- community/infrastructure/intro.md | 13 +- community/infrastructure/our-repositories.md | 6 +- community/infrastructure/pull-requests.md | 2 +- governance/structure.md | 5 +- 8 files changed, 187 insertions(+), 68 deletions(-) diff --git a/community/index.md b/community/index.md index fb1bcfe..5178449 100644 --- a/community/index.md +++ b/community/index.md @@ -22,16 +22,22 @@ Zenodo & Citation :::{toctree} :maxdepth: 2 -:caption: GitHub Processes +:caption: Our infrastructure GitHub Our Repos +Website & metrics data +Editorial teams +GitHub permissions +::: + +:::{toctree} +:maxdepth: 2 +:caption: Contributing on GitHub + GitHub Issue Guidelines Pull Requests Continuous Integration (CI) -GitHub permissions -Editorial teams -Data Workflows ::: :::{toctree} diff --git a/community/infrastructure/continuous-integration.md b/community/infrastructure/continuous-integration.md index 268472a..0991662 100644 --- a/community/infrastructure/continuous-integration.md +++ b/community/infrastructure/continuous-integration.md @@ -1,4 +1,4 @@ -# 3. Continuous integration +# Continuous integration ## What is CI? diff --git a/community/infrastructure/data-process.md b/community/infrastructure/data-process.md index f1d557a..8506e8a 100644 --- a/community/infrastructure/data-process.md +++ b/community/infrastructure/data-process.md @@ -1,48 +1,32 @@ -# pyOpenSci data workflows +# Update website and metrics data -Ever wondered how a new editor shows up on our website, or how a newly accepted package lands on our packages page? This page walks you through it. You'll learn which GitHub Actions workflow keeps each page on our website (and our peer review metrics dashboards) up to date, and how you can get a change onto the site right away instead of waiting. +This page explains how community, package, and editorial data get updated on +the [pyOpenSci website](https://www.pyopensci.org) and our [metrics dashboards](https://www.pyopensci.org/metrics), and how you can update +the data yourself when needed. We use a Python package called [`pyosMeta`][pyosmeta] to collect data about +our peer review process and community contributors. It runs in GitHub Actions, +which saves this data as [YAML](https://yaml.org/) files, a plain-text format that our website and metrics dashboards can read. GitHub Actions workflows run `pyosMeta` every week on a schedule (a cron job), but you can also trigger a +run manually using the "workflow dispatch" option in GitHub. +The workflows live in two repositories: -:::{tip} -**In a hurry?** If you just changed an editorial team on GitHub and want the website to show it now, go to the **Actions** tab in [`pyopensci.github.io`](https://github.com/pyOpenSci/pyopensci.github.io/actions/workflows/update-editorial-board.yml), choose **Update editorial board**, and select **Run workflow**. Then review and merge the pull request it opens. That's it! +* **Website:** the workflows are in the [pyopensci.github.io][website-repo] + repository. They update the pages on pyopensci.org. +* **Metrics dashboards:** the workflows are in the + [metrics][metrics-repo] repository. They update the dashboards. -Adding or removing an editor? Start with the [onboarding guide](https://www.pyopensci.org/software-peer-review/how-to/onboarding-guide.html#onboarding-a-new-editor). The [editorial teams](editorial-teams) page will help you pick the right GitHub team. This page explains what happens behind the scenes. -::: - -Behind the scenes, we use a Python package called [`pyosMeta`](https://github.com/pyOpenSci/pyosMeta) to gather data from GitHub, such as peer review issues and team membership. `pyosMeta` saves that data as [YAML](https://yaml.org/) files, a plain-text format that our website and dashboards can read. - -You don't need to run `pyosMeta` yourself. Workflows in the [pyopensci.github.io](https://github.com/pyOpenSci/pyopensci.github.io) repository run it for you on a weekly schedule (sometimes called a "cron job"), and you can also start any of them by hand whenever you need to. Each time a workflow runs, it opens a pull request with the updated data. Once you (or another team member) merge that pull request, the website updates. - -The PR's are generally merged by our [pyOpenSci infrastructure team](https://github.com/orgs/pyOpenSci/teams/pyopensci-repository-maintainers) who work on and maintain repositories across the organizations. If you have questions about something not getting updated, you can post in the `#pyos-maintainers-infrastructure` channel in our slack. - -## What each page uses +Each run opens a pull request with the updated data. Once that pull +request is merged, the website or dashboards update. -| Page | File | Workflow | When it runs | -| --- | --- | --- | --- | -| [Our Community](https://www.pyopensci.org/our-community/index.html#pyopensci-community-contributors) | `data/contributors.yml` | [Update Contribs & reviewers](https://github.com/pyOpenSci/pyopensci.github.io/actions/workflows/update-contribs-reviews.yml) | Mondays, 03:21 UTC | -| [Python packages](https://www.pyopensci.org/python-packages.html) | `data/packages.yml` | Update Contribs & reviewers | Mondays, 03:21 UTC | -| [Editorial board](https://www.pyopensci.org/about-peer-review/index.html#meet-our-editorial-board) | `data/editorial-board.yml`, `data/emeritus-editors.yml`, and the editorial fields in `data/contributors.yml` | [Update editorial board](https://github.com/pyOpenSci/pyopensci.github.io/actions/workflows/update-editorial-board.yml). Monday's workflow refreshes these files too. | Wednesdays at 04:21 UTC, or any time you run it by hand | -| [Metrics dashboards](https://www.pyopensci.org/metrics) | CSVs in the [metrics](https://github.com/pyOpenSci/metrics) repository | [Update issue, pr and contrib metadata](https://github.com/pyOpenSci/metrics/actions/workflows/update-pr-data.yml) | 05:00 UTC on the 2nd, the 16th, and every Monday, plus December 31 | +The [infrastructure team][infra-team] usually merges these pull +requests. If something isn't updating, post in the +`#pyos-maintainers-infrastructure` channel in Slack. -A few things that are helpful to know: - -* **Changed an editorial team member? Use the Update editorial board workflow .** It only looks at team membership, so it runs quickly and opens a small, easy-to-review pull request. -* **Update Contribs & reviewers does a lot more.** It checks every repository and review issue, so it takes longer and opens a much larger pull request. -* **The metrics dashboards update on their own schedule.** The editorial charts read the website's YAML files from the `data/` directory on the `main` branch. A separate [deploy workflow](https://github.com/pyOpenSci/metrics/actions/workflows/deploy.yml) rebuilds the dashboards every Sunday at 00:00 UTC using whatever has been merged by then, so you may see a short delay there. -* **You can update some fields in [`data/contributors.yml`](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/contributors.yml) by hand.** The Monday workflow keeps these once they are on `main`: - * **Advisory status** (`advisory`). See [Update the advisory council](update-the-advisory-council). - * **Leadership status** (`board`). Set this to `true` to list someone under Executive Council, Leadership & Staff. - * **Title** (`title`), the role shown on their card. Editor titles still come from the [editorial workflow](editorial-teams). Other titles, such as Advisory Council or Executive Director, stay as you write them. - * **Name** (`name`). Some people have no name on GitHub. Add their name here so the community page can list them. If a name is already in the file, the workflow does not replace it. -* [`data/manual-editorial-roster.yml`](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/manual-editorial-roster.yml) is also edited by hand, for editors who can't join our GitHub organization. The workflows overwrite `data/packages.yml`, `data/editorial-board.yml`, and `data/emeritus-editors.yml`. - -## Where the data comes from +### Where the data comes from `pyosMeta` collects three kinds of data from GitHub: 1. **Contributor data** comes from the [All Contributors files](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/.all-contributorsrc) in each pyOpenSci repository. -2. **Peer review data** comes from the [review issues in software-submission](https://github.com/pyOpenSci/software-submission/issues). This includes the package name and repository URL, the editor and reviewers, and the maintainers and authors. `pyosMeta` reads the text people type into the review issue template. People fill out templates in all sorts of creative ways, so a missing field or an extra line can sometimes trip it up. If you notice that an action is failing please do the following: - * Post in the `#pyos-maintainers-infrastructure` channel in slack. the error is likely already there via a slack automation but a post from you helps us elevate the importance of fixing it. Include a link to the logs. Sometimes that logs tell you what package it failed on - and if that is the case - look at the issue yaml at the top and see if you notice any quirks in the text! For example sometimes people put text in quotes `"like this"` that will break our ability to parse the text correctly. -3. **Editorial team membership** comes from our [GitHub teams](editorial-teams). Team membership decides whether someone is listed as a current or emeritus editor. Some teams also give their members access to the repositories they need for their peer review role. +2. **Peer review data** comes from the [review issues in software-submission](https://github.com/pyOpenSci/software-submission/issues). This includes the package name and repository URL, the editor and reviewers, and the maintainers and authors. +3. **Editorial team membership** comes from our [GitHub teams](editorial-teams). Team membership decides whether someone is listed as a current or emeritus editor. :::{mermaid} flowchart TD @@ -53,26 +37,130 @@ flowchart TD Website --> Dash[Metrics editorial dashboard] ::: +## Which workflow updates which page + +### Website workflows + +These workflows are in the [pyopensci.github.io][website-repo] +repository. + +* **[Our Community][page-community]** + * File: `data/contributors.yml` + * Workflow: [Update Contribs & reviewers][wf-contribs] + * Runs: Mondays, 03:21 UTC +* **[Python packages][page-packages]** + * File: `data/packages.yml` + * Workflow: Update Contribs & reviewers + * Runs: Mondays, 03:21 UTC +* **[Editorial board][page-editorial]** + * Files: `data/editorial-board.yml`, `data/emeritus-editors.yml`, and + the editorial fields in `data/contributors.yml` + * Workflow: [Update editorial board][wf-editorial] + * Runs: Wednesdays at 04:21 UTC, or any time you run it by hand. The + Monday workflow refreshes these files too. + +### Metrics workflows + +These workflows are in the [metrics][metrics-repo] repository. + +* **[Metrics dashboards][page-metrics]** + * Files: CSVs in the `data/` directory of the metrics repository + * Workflow: [Update issue, pr and contrib metadata][wf-metrics] + * Runs: 05:00 UTC on the 2nd, the 16th, and every Monday, plus + December 31 + +### Which workflow should I run? + +* **Changed an editorial team member?** Run **Update editorial board** + in `pyopensci.github.io`. It only looks at team membership, so it runs + quickly and opens a small pull request that is easy to review. +* **Need contributor or package updates?** Run **Update Contribs & + reviewers** in `pyopensci.github.io`. It checks every repository and + review issue, so it takes longer and opens a much larger pull request. +* **Need fresh metrics data?** Run **Update issue, pr and contrib + metadata** in `metrics`. + +:::{note} +The editorial charts in the metrics dashboards read the website's YAML +files from the `data/` directory on the `main` branch. A separate +[deploy workflow][wf-deploy] in the `metrics` repository rebuilds the +dashboards every Sunday at 00:00 UTC using whatever has been merged by +then, so you may see a short delay. +::: + (update-the-website-right-away)= -## Update the website right away +## Run a workflow now -You don't have to wait for the next scheduled run. If you have write access to `pyopensci.github.io` (the Editor in Chief team and the Software Review Lead do), you can run any of these workflows yourself: +You don't have to wait for the next scheduled run. If you have write +access to the repository, you can run any of its workflows yourself. -1. Open the **Actions** tab in `pyopensci.github.io`. -2. Choose the workflow you need. If you changed an editorial team, pick **Update editorial board**. For contributor or package updates, pick **Update Contribs & reviewers**. +### Update the website + +The website workflows are in `pyopensci.github.io`. The Editor in Chief +team and the Software Review Lead have write access there. + +1. Open the **Actions** tab in [pyopensci.github.io][website-repo]. +2. Choose the workflow you need. If you changed an editorial team, pick + **Update editorial board**. For contributor or package updates, pick + **Update Contribs & reviewers**. 3. Select **Run workflow**. -4. When the pull request opens, take a quick look, and merge it if everything looks right. +4. When the pull request opens, take a quick look and merge it if + everything looks right. + +### Update the metrics dashboards -Not sure whether you can change a team or run a workflow? The [editorial teams](editorial-teams) page explains who can do what. +The metrics workflows are in the `metrics` repository. + +1. Open the **Actions** tab in [metrics][metrics-repo]. +2. Choose **Update issue, pr and contrib metadata**. +3. Select **Run workflow**. +4. When the pull request opens, review it and merge it. + +The dashboards show the new data after the next deploy. See the note +above about the Sunday rebuild. + +Not sure whether you can change a team or run a workflow? The +[editorial teams](editorial-teams) page explains who can do what. + +(edit-contributors-by-hand)= +## Fields you edit by hand + +The workflows overwrite `data/packages.yml`, `data/editorial-board.yml`, +and `data/emeritus-editors.yml`, so don't edit those by hand. + +You can edit these fields in +[`data/contributors.yml`][contributors-yml]. The Monday workflow keeps +them once they are on `main`: + +* **Advisory status** (`advisory`). See + [Update the advisory council](update-the-advisory-council). +* **Leadership status** (`board`). Set this to `true` to list someone + under Executive Council, Leadership & Staff. +* **Title** (`title`), the role shown on their card. Editor titles still + come from the [editorial workflow](editorial-teams). Other titles, such + as Advisory Council or Executive Director, stay as you write them. +* **Name** (`name`). Some people have no name on GitHub. Add their name + here so the community page can list them. If a name is already in the + file, the workflow does not replace it. + +Editors who can't join our GitHub organization go in +[`data/manual-editorial-roster.yml`][manual-roster]. See +[editorial teams](editorial-teams). + +:::{important} +Merge your pull request before Monday's **Update Contribs & reviewers** +run. If that pull request is already open, add your edit to it. Merging +an older bot pull request after your edit can drop your change. +::: (update-the-advisory-council)= -## Update the advisory council +### Update the advisory council -The [Advisory Council](https://www.pyopensci.org/our-community/#advisory-council) on the Our Community page is maintained by the core team. There is no GitHub team for it, and no workflow to run. Edit [`data/contributors.yml`](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/contributors.yml) in the website repository, open a pull request, and merge it. The page updates on the next website deploy. +The [Advisory Council](https://www.pyopensci.org/our-community/#advisory-council) on the Our Community page is maintained by the core team. There is no GitHub team for it, and no workflow to run. Edit [`data/contributors.yml`][contributors-yml] in the website repository, open a pull request, and merge it. The page updates on the next website deploy. The website lists current members alphabetically by first name. Names in the file are stored as first name, then last name. You do not set `sort` for this section. -### Add a current member +#### Add a current member Find the person in `data/contributors.yml`. If they are not in the file yet, add an entry for them. Set: @@ -88,7 +176,7 @@ A new entry also needs: * `github_username` * `github_image_id`, the numeric GitHub user id used for their photo. Read the `id` field from `https://api.github.com/users/USERNAME` -### When someone steps down +#### When someone steps down Set: @@ -98,10 +186,28 @@ Set: `emeritus_advisory: true` is what places someone in the Emeritus Leadership section. That section also includes other emeritus leadership, such as emeritus Executive Council. Leave the flag in place for anyone who should stay in that section. -### Keep the Monday workflow from dropping the change - -Merge your pull request before Monday's **Update Contribs & reviewers** run. If that pull request is already open, add your edit to it. Merging an older bot pull request after your edit can drop it. After the change is on `main`, later runs keep advisory status, leadership status, title, and name. - ## If something breaks Don't worry, you won't break anything by running a workflow. If one fails, a message is posted automatically to the `#pyos-maintainers-infrastructure` Slack channel. If you get stuck, post there too, and the [pyOpenSci repository maintainers](pyopensci-maintainers-permissions) will be happy to help. If you'd like to dig in yourself, the `pyosMeta` [development guide](https://github.com/pyOpenSci/pyosMeta/blob/main/development.md) explains the tokens and permissions the workflows use. + +### Review issues that don't parse + +`pyosMeta` reads the text people type into the review issue template. People fill out templates in all sorts of creative ways, so a missing field or an extra line can trip it up. If a workflow fails: + +* Post a link to the logs in `#pyos-maintainers-infrastructure`. The error may already be there from the Slack automation, but a post from you helps us prioritize the fix. +* Check the logs for the package it failed on. Then look at the YAML at the top of that review issue for quirks. For example, text in quotes `"like this"` can break parsing. + +[pyosmeta]: https://github.com/pyOpenSci/pyosMeta +[website-repo]: https://github.com/pyOpenSci/pyopensci.github.io +[metrics-repo]: https://github.com/pyOpenSci/metrics +[infra-team]: https://github.com/orgs/pyOpenSci/teams/pyopensci-repository-maintainers +[contributors-yml]: https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/contributors.yml +[manual-roster]: https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/manual-editorial-roster.yml +[page-community]: https://www.pyopensci.org/our-community/index.html#pyopensci-community-contributors +[page-packages]: https://www.pyopensci.org/python-packages.html +[page-editorial]: https://www.pyopensci.org/about-peer-review/index.html#meet-our-editorial-board +[page-metrics]: https://www.pyopensci.org/metrics +[wf-contribs]: https://github.com/pyOpenSci/pyopensci.github.io/actions/workflows/update-contribs-reviews.yml +[wf-editorial]: https://github.com/pyOpenSci/pyopensci.github.io/actions/workflows/update-editorial-board.yml +[wf-metrics]: https://github.com/pyOpenSci/metrics/actions/workflows/update-pr-data.yml +[wf-deploy]: https://github.com/pyOpenSci/metrics/actions/workflows/deploy.yml diff --git a/community/infrastructure/editorial-teams.md b/community/infrastructure/editorial-teams.md index 5dbc4a6..c470e72 100644 --- a/community/infrastructure/editorial-teams.md +++ b/community/infrastructure/editorial-teams.md @@ -10,7 +10,7 @@ Looking for the full process of welcoming or thanking an editor, including Slack When you add someone to a team, two separate things happen: * **Repository access.** Editorial board members get repository access through this team. Membership lets them lead reviews and edit our peer review guide. Only `editorial-board` and `eic-team` grant it. -* **The public listing.** It decides who appears on the [editorial board page](https://www.pyopensci.org/about-peer-review/index.html#meet-our-editorial-board) and in the editorial dashboard in our [metrics](https://www.pyopensci.org/metrics). Every editorial team affects it. Two scheduled workflows read team membership to build the listing (see [data workflows](data-process)). +* **The public listing.** It decides who appears on the [editorial board page](https://www.pyopensci.org/about-peer-review/index.html#meet-our-editorial-board) and in the editorial dashboard in our [metrics](https://www.pyopensci.org/metrics). Every editorial team affects it. Two scheduled workflows read team membership to build the listing (see [website & metrics data](data-process)). ## Which team to add someone to @@ -20,7 +20,8 @@ Add the person to **every team that matches their role**. Being on the parent team alone doesn't list them. :::{mermaid} -flowchart TB +flowchart LR + classDef default font-size:18px PR[peer-review-team] PR --> EB[editorial-board] PR --> EIC[eic-team] @@ -78,5 +79,5 @@ The Editor in Chief team and the Software Review Lead usually hold all the above ## Learn more * [Onboarding guide](https://www.pyopensci.org/software-peer-review/how-to/onboarding-guide.html): the full process, including Slack and introductions -* [Data workflows](data-process): schedules, files, and what to do if a workflow fails +* [Website & metrics data](data-process): schedules, files, and what to do if a workflow fails * [GitHub permissions](permissions): repository access for every team diff --git a/community/infrastructure/intro.md b/community/infrastructure/intro.md index 0f352b8..1cf7c59 100644 --- a/community/infrastructure/intro.md +++ b/community/infrastructure/intro.md @@ -59,7 +59,7 @@ The [`pyosMeta`](https://github.com/pyOpenSci/pyosMeta) package is a Python pack * **[Metrics dashboards](https://www.pyopensci.org/metrics).** The metrics repository has its own workflow. It reads review data from GitHub and the editorial board files from the website's `main` branch. * **Pull request checks.** Every repository runs checks when you open a pull request. See [continuous integration](continuous-integration). -Both website workflows live in [`pyopensci.github.io`](https://github.com/pyOpenSci/pyopensci.github.io). For schedules, the files each one writes, and what to do when one fails, see [data workflows](data-process). +Both website workflows live in [`pyopensci.github.io`](https://github.com/pyOpenSci/pyopensci.github.io). For schedules, the files each one writes, and what to do when one fails, see [website & metrics data](data-process). ## How our websites are built @@ -73,9 +73,12 @@ Both website workflows live in [`pyopensci.github.io`](https://github.com/pyOpen For details on each part of our infrastructure, see: * **[All repositories](our-repositories):** Complete list and description of all pyOpenSci GitHub repositories -* **[Data workflows](data-process):** Schedules, files, and troubleshooting for contributor, package, and editorial data -* **[Continuous integration](continuous-integration):** CI/CD workflows and GitHub Actions -* **[Permissions](permissions):** Repository access management and team structures +* **[Website & metrics data](data-process):** Schedules, files, and troubleshooting for contributor, package, and editorial data * **[Editorial teams](editorial-teams):** Which GitHub team to use when you add or remove an editor -* **[Pull requests](pull-requests):** How to work with pull requests in pyOpenSci repos +* **[Permissions](permissions):** Repository access management and team structures + +To contribute to our repositories, see: + * **[Issues](issues):** Issue management and labeling workflows +* **[Pull requests](pull-requests):** How to work with pull requests in pyOpenSci repos +* **[Continuous integration](continuous-integration):** CI/CD workflows and GitHub Actions diff --git a/community/infrastructure/our-repositories.md b/community/infrastructure/our-repositories.md index cd4854e..3a563c8 100644 --- a/community/infrastructure/our-repositories.md +++ b/community/infrastructure/our-repositories.md @@ -36,7 +36,7 @@ either one by hand. after you change an editorial team. For when each one runs, which files it writes, and who can run them, see -[data workflows](data-process). +[website & metrics data](data-process). #### Metadata stored in this repository @@ -73,7 +73,7 @@ The pyOpenSci metrics repository contains the code for our [metrics dashboards](https://www.pyopensci.org/metrics), built with [Quarto](https://quarto.org/). Scheduled workflows refresh the peer review data and rebuild the site. The editorial dashboard reads the editorial board -files from the website repository. See [data workflows](data-process) for +files from the website repository. See [website & metrics data](data-process) for details. Teams with access to this repository: @@ -169,7 +169,7 @@ Individuals and teams with access to this repository include: The pyosMeta repository contains a Python package published on PyPI that we use to track our package review, contributor, and editorial board data. The website's scheduled workflows use it to update our website. See -[data workflows](data-process) for how the data moves. +[website & metrics data](data-process) for how the data moves. Teams with access to this repository: diff --git a/community/infrastructure/pull-requests.md b/community/infrastructure/pull-requests.md index adbeba9..d45b8bb 100644 --- a/community/infrastructure/pull-requests.md +++ b/community/infrastructure/pull-requests.md @@ -1,4 +1,4 @@ -# 2. pyOpenSci Pull Request Process +# pyOpenSci Pull Request Process When possible, pull request (PR) and issue submissions and reviews of pull requests should follow standard open source workflows. Below are guidelines for pull requests submitted to pyOpenSci. diff --git a/governance/structure.md b/governance/structure.md index b321f48..25bf732 100644 --- a/governance/structure.md +++ b/governance/structure.md @@ -17,6 +17,9 @@ The Executive Director (discussed below) is a voting member of the Executive Cou [Click here to view current executive council members](https://www.pyopensci.org/our-community/#executive-council--leadership) +The core team updates that listing by hand. See +[Fields you edit by hand](edit-contributors-by-hand). + (advisory-council)= ### pyOpenSci advisory council @@ -97,7 +100,7 @@ This team: * Dependabot pull requests * Pre-commit CI updates * Approve and merge automated data file updates: - * Automated data file updates. Our [metrics](https://github.com/pyOpenSci/metrics) and [website](https://github.com/pyOpenSci/pyopensci.github.io) are updated automatically using a GitHub Actions workflow that is supported by the pyosMeta Python package discussed above. A cron job runs this workflow daily to weekly and opens a PR. These PRs can be updated at whatever frequency is needed but should be updated at least once or twice a month. + * Automated data file updates. Our [metrics](https://github.com/pyOpenSci/metrics) and [website](https://github.com/pyOpenSci/pyopensci.github.io) are updated automatically using GitHub Actions workflows that run the [pyosMeta](https://github.com/pyOpenSci/pyosMeta) Python package. These workflows run on a schedule and open a PR. See [Website & metrics data](../community/infrastructure/data-process.md) for schedules and how to run them. These PRs can be updated at whatever frequency is needed but should be updated at least once or twice a month. * Ensure the smooth operation of pyOpenSci's technical infrastructure #### Triaging issues and pull requests From 2ae68b8245c2c3410c7c8144814f183932c9b42d Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 21 Oct 2026 13:52:20 -0600 Subject: [PATCH 03/10] docs: cleanup redundant content --- community/index.md | 8 +- .../infrastructure/continuous-integration.md | 2 +- community/infrastructure/data-process.md | 2 +- community/infrastructure/intro.md | 115 ++++++++++-------- community/infrastructure/issues.md | 2 +- community/infrastructure/pull-requests.md | 20 +-- 6 files changed, 84 insertions(+), 65 deletions(-) diff --git a/community/index.md b/community/index.md index 5178449..9e0f716 100644 --- a/community/index.md +++ b/community/index.md @@ -25,7 +25,7 @@ Zenodo & Citation :caption: Our infrastructure GitHub -Our Repos +Our repos Website & metrics data Editorial teams GitHub permissions @@ -35,9 +35,9 @@ GitHub permissions :maxdepth: 2 :caption: Contributing on GitHub -GitHub Issue Guidelines -Pull Requests -Continuous Integration (CI) +GitHub issue guidelines +Pull requests +Continuous integration (CI) ::: :::{toctree} diff --git a/community/infrastructure/continuous-integration.md b/community/infrastructure/continuous-integration.md index 0991662..0aaa2fb 100644 --- a/community/infrastructure/continuous-integration.md +++ b/community/infrastructure/continuous-integration.md @@ -166,7 +166,7 @@ repository maintainer for help. We understand that Continuous Integration (CI) c ::: (pre-commit-ci)= -## About the Pre-Commit CI Bot +## About the pre-commit CI bot The [Pre-commit CI bot](https://pre-commit.ci/) is a continuous integration service that automatically runs pre-commit hooks on each pull request. This diff --git a/community/infrastructure/data-process.md b/community/infrastructure/data-process.md index 8506e8a..324f486 100644 --- a/community/infrastructure/data-process.md +++ b/community/infrastructure/data-process.md @@ -20,7 +20,7 @@ The [infrastructure team][infra-team] usually merges these pull requests. If something isn't updating, post in the `#pyos-maintainers-infrastructure` channel in Slack. -### Where the data comes from +## Where the data comes from `pyosMeta` collects three kinds of data from GitHub: diff --git a/community/infrastructure/intro.md b/community/infrastructure/intro.md index 1cf7c59..3290ae6 100644 --- a/community/infrastructure/intro.md +++ b/community/infrastructure/intro.md @@ -1,29 +1,72 @@ (github-intro)= -# pyOpenSci Infrastructure +# pyOpenSci website infrastructure -pyOpenSci uses GitHub to manage almost all of its infrastructure, from community processes to website rendering. -This page provides a **high-level overview** of our infrastructure, focusing on how our core repositories work together and contribute to the website and community operations. +pyOpenSci uses GitHub to manage almost all of its infrastructure, from +community processes to website rendering. This page gives a high-level +overview of how our repositories work together to build our websites +and keep community data up to date. -For detailed information about specific infrastructure components, see the [Learn more](#learn-more) section below. - -## What is pyOpenSci infrastructure? +:::{note} +For details on each part of our infrastructure, see the +[Learn more](#learn-more) section below. +::: -pyOpenSci infrastructure encompasses: +## How our websites fit together -* **GitHub repositories:** All code, content, and documentation repositories -* **Website and documentation:** Main website and sub-sites (handbook, guides, lessons) -* **Data processing:** Automated collection and processing of contributor, peer review, and editorial board data -* **Continuous Integration (CI):** GitHub Actions workflows for testing, building, and deploying -* **Access and permissions:** Repository access management and team structures -* **Issue and pull request workflows:** Processes for managing contributions and reviews +The pyOpenSci website at [pyopensci.org](https://www.pyopensci.org) is +built from six repositories. Each one is built separately and published +under the `pyopensci.org` domain using GitHub Pages with Netlify setup for +previews: -## Infrastructure overview diagrams +* **Core website:** [`pyopensci.github.io`](https://github.com/pyOpenSci/pyopensci.github.io), + built with [Hugo](https://gohugo.io/). It is the central hub that links + to every sub-site. +* **Sphinx books:** the [Python Package Guide](https://github.com/pyOpenSci/python-package-guide), + [Software Peer Review Guide](https://github.com/pyOpenSci/software-peer-review), + [Handbook](https://github.com/pyOpenSci/handbook), and + [Lessons](https://github.com/pyOpenSci/lessons). Most use our branded + [`pyos-sphinx-theme`](https://github.com/pyOpenSci/pyos-sphinx-theme). +* **Metrics dashboards:** [`metrics`](https://github.com/pyOpenSci/metrics), + built with [Quarto](https://quarto.org/). -The diagrams below illustrate two key aspects of our infrastructure: +```{figure} /images/diagrams/website-repositories-structure.svg +:name: website-repositories-structure -### Data flow and processing +pyOpenSci website structure diagram showing the main website and its +sub-sites (Handbook, Python Package Guide, Software Peer Review Guide, +Lessons, and Metrics). +``` -The first diagram shows how contributor, peer review, and editorial data move from GitHub to the website and metrics: +## How data flows from our community programs to the website + +Some parts of our websites update automatically using data from GitHub. +This includes the peer review numbers in our +[metrics dashboards](https://www.pyopensci.org/metrics), and the package +listings, community contributors, and editorial board on the main Hugo +website. + +We wrote a Python package called +[`pyosMeta`](https://github.com/pyOpenSci/pyosMeta) to collect this data. +It saves the data as YAML files, a plain-text format that our websites +can read. `pyosMeta` collects three kinds of data: + +* **Peer review data.** `pyosMeta` parses the + [peer review issues](https://github.com/pyOpenSci/software-submission/issues) + in `software-submission`. It pulls out metadata such as the package + name, repository URL, editor, reviewers, and maintainers. That data + feeds the [Python packages page](https://www.pyopensci.org/python-packages.html). +* **Peer review roles.** We track editors, the Editor in Chief, and the + triage team using GitHub teams. `pyosMeta` reads team membership to + build the + [editorial board listing](https://www.pyopensci.org/about-peer-review/index.html#meet-our-editorial-board). + See [editorial teams](editorial-teams). +* **Contributors.** We use the [All Contributors bot](https://allcontributors.org/) + to track contributors across our repositories. `pyosMeta` parses each + repository's All Contributors file to build the contributor list on + the [Our Community page](https://www.pyopensci.org/our-community/index.html). + +The diagram below shows how this data moves from GitHub to the website +and metrics dashboards: :::{mermaid} flowchart LR @@ -36,37 +79,13 @@ flowchart LR Issues -.->|review data| Metrics ::: -Scheduled workflows run `pyosMeta` to collect data from GitHub and write it to YAML files. Each run opens a pull request, and the website updates once you merge it. The metrics dashboards run on their own schedule and read the data that's already on the website's `main` branch. - -### Website structure - -The second diagram shows how the main pyOpenSci website connects to its sub-sites: - -```{figure} /images/diagrams/website-repositories-structure.svg -:name: website-repositories-structure - -pyOpenSci website structure diagram showing the main website and its sub-sites (Handbook, Python Package Guide, Software Peer Review Guide, Lessons, and Metrics). -``` - -All sub-sites are built separately but served under the `pyopensci.org` domain, with the main website (`pyopensci.github.io`) serving as the central hub. - -## Where each page's data comes from - -The [`pyosMeta`](https://github.com/pyOpenSci/pyosMeta) package is a Python package that **parses review, contributor, and editorial data** and turns it into **machine-readable YAML files**. Here's where each public page gets its data: - -* **[Our Community](https://www.pyopensci.org/our-community/index.html) and [Packages](https://www.pyopensci.org/python-packages.html) pages.** The **Update Contribs & reviewers** workflow reads the All Contributors files (`.all-contributorsrc`) in our repositories and the review issues in [`software-submission`](https://github.com/pyOpenSci/software-submission). Advisory Council membership is a core-team edit in `data/contributors.yml`. See [Update the advisory council](update-the-advisory-council). -* **[Editorial board page](https://www.pyopensci.org/about-peer-review/index.html#meet-our-editorial-board).** The **Update editorial board** workflow reads the GitHub teams under `peer-review-team`, plus a [small manual roster](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/data/manual-editorial-roster.yml) for people who can't join the organization. If you add or remove editors, see [editorial teams](editorial-teams). -* **[Metrics dashboards](https://www.pyopensci.org/metrics).** The metrics repository has its own workflow. It reads review data from GitHub and the editorial board files from the website's `main` branch. -* **Pull request checks.** Every repository runs checks when you open a pull request. See [continuous integration](continuous-integration). - -Both website workflows live in [`pyopensci.github.io`](https://github.com/pyOpenSci/pyopensci.github.io). For schedules, the files each one writes, and what to do when one fails, see [website & metrics data](data-process). - -## How our websites are built - -* The main website ([`pyopensci.github.io`](https://github.com/pyOpenSci/pyopensci.github.io)) is built with [**Hugo**.](https://gohugo.io/) -* The **Python Package Guide**, **Peer Review Guide**, **Handbook**, and **Lessons** are **Sphinx books**. Most use the [`pyos-sphinx-theme`](https://github.com/pyOpenSci/pyos-sphinx-theme), our branded theme built on top of `pydata_sphinx_theme`. -* The [metrics dashboards](https://www.pyopensci.org/metrics) are built with **Quarto**. -* Each site is built separately and published under the [pyopensci.org](https://www.pyopensci.org) domain using **GitHub Pages**. +Scheduled workflows run `pyosMeta` and open a pull request with the +updated YAML files. The website updates once that pull request is merged. +The metrics dashboards run on their own schedule. A few fields, such as +[Advisory Council](update-the-advisory-council) and leadership roles, +are [edited by hand](edit-contributors-by-hand). For +schedules, how to run a workflow, and hand-edited fields, see +[website & metrics data](data-process). ## Learn more diff --git a/community/infrastructure/issues.md b/community/infrastructure/issues.md index 3853b4c..a6b0971 100644 --- a/community/infrastructure/issues.md +++ b/community/infrastructure/issues.md @@ -58,7 +58,7 @@ While outside contributors will not have permission to label issues, pyOpenSci core team members and volunteers will. Be sure to add appropriate labels to issues to make them easier to triage. -## Help-wanted / sprintable issues +## Help-wanted and sprintable issues If an issue is something that anyone in the community could potentially address, it's ideal to label the issue with `help-wanted` and/or `sprintable`. A diff --git a/community/infrastructure/pull-requests.md b/community/infrastructure/pull-requests.md index d45b8bb..a0683c1 100644 --- a/community/infrastructure/pull-requests.md +++ b/community/infrastructure/pull-requests.md @@ -1,9 +1,9 @@ -# pyOpenSci Pull Request Process +# pyOpenSci pull request process When possible, pull request (PR) and issue submissions and reviews of pull requests should follow standard open source workflows. Below are guidelines for pull requests submitted to pyOpenSci. -## Pull Requests +## Pull requests New pull requests should: @@ -29,7 +29,7 @@ You might be surprised that you notice things in the pull request that you didn't notice when working on the content locally. ::: -### Pull Request Checklist +### Pull request checklist Please follow this pull request review checklist when submitting a pull request to a pyOpenSci GitHub repository. This checklist will make the pull request review process easier and more efficient for you as the pull request author and for the @@ -48,7 +48,7 @@ This is what a PR to the `pyOpenSci/handbook` repository, made from an individua * Check that all continuous integration checks have passed. If they haven't passed, identify and address the points of failure. * Check the PR title to ensure that it describes what your PR is changing. -### Pull Request Content +### Pull request content Below are some guidelines for pull request content. Clean pull requests lead to simpler reviews and faster merging! @@ -73,7 +73,7 @@ lead to simpler reviews and faster merging! If you're unsure, leave a note for the reviewer to help understand what needs fixing. -### Highly Recommended +### Highly recommended 1. **Create Clear Commit Messages**: Explain why changes are made, not just what was changed. @@ -89,7 +89,7 @@ lead to simpler reviews and faster merging! this creates a merge commit rather than a rebase. ::: -### Regular vs. New Contributors +### Regular vs. new contributors There is no right or wrong when it comes to building a website repository locally. pyOpenSci staff and regular contributors often opt to build @@ -108,7 +108,7 @@ website, packaging guide, and peer review guide, we have CI platforms set up that allow a contributor to submit a pull request with a change, without needing to build the site locally. -### Supporting New Contributors +### Supporting new contributors pyOpenSci strives to support new and existing contributors in enhancing our online resources. We will support new contributors in this process. When a @@ -138,7 +138,7 @@ What should they have done locally? Do we expect someone to have installed Hugo and built the website locally? ::: -## Pull Requests and Continuous Integration +## Pull requests and continuous integration At the bottom of every pull request is the Continuous Integration (CI) block. This block contains a set of checks that pyOpenSci has set up. Each check @@ -159,7 +159,7 @@ For code repositories, we have several additional checks including: * Code format & style checks (e.g. black, isort). -### About Pre-commit +### About pre-commit [Pre-commit](https://pre-commit.com/) is a framework for managing and maintaining multi-language pre-commit hooks. It ensures that code follows @@ -183,7 +183,7 @@ regularly contributes, we suggest that you set it up locally in our repos to ensure spell check errors (that the pre-commit CI bot cannot fix in a PR) are addressed. -### Setting Up Pre-commit Locally +### Setting up pre-commit locally To set up pre-commit locally, follow these steps: From d1ec55c3e58f792adec0eb7749e4ddaceca16221 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 21 Oct 2026 14:01:05 -0600 Subject: [PATCH 04/10] docs: a few typos and clarifications throughout --- community/index.md | 4 +- community/infrastructure/data-process.md | 47 ++++++++++++++++++------ community/infrastructure/intro.md | 11 ++++-- 3 files changed, 44 insertions(+), 18 deletions(-) diff --git a/community/index.md b/community/index.md index 9e0f716..2969e5f 100644 --- a/community/index.md +++ b/community/index.md @@ -24,8 +24,8 @@ Zenodo & Citation :maxdepth: 2 :caption: Our infrastructure -GitHub -Our repos +Our Website +Our GitHub repositories Website & metrics data Editorial teams GitHub permissions diff --git a/community/infrastructure/data-process.md b/community/infrastructure/data-process.md index 324f486..0bbcdb8 100644 --- a/community/infrastructure/data-process.md +++ b/community/infrastructure/data-process.md @@ -1,11 +1,20 @@ # Update website and metrics data +:::{note} +This page is for editors, staff, and repository maintainers who keep our +website and dashboards up to date. You don't need it to contribute to +pyOpenSci. To learn how our websites and data fit together, see the +[infrastructure overview](github-intro). +::: + This page explains how community, package, and editorial data get updated on the [pyOpenSci website](https://www.pyopensci.org) and our [metrics dashboards](https://www.pyopensci.org/metrics), and how you can update the data yourself when needed. We use a Python package called [`pyosMeta`][pyosmeta] to collect data about -our peer review process and community contributors. It runs in GitHub Actions, -which saves this data as [YAML](https://yaml.org/) files, a plain-text format that our website and metrics dashboards can read. GitHub Actions workflows run `pyosMeta` every week on a schedule (a cron job), but you can also trigger a -run manually using the "workflow dispatch" option in GitHub. +our peer review process and community contributors. `pyosMeta` saves this +data as [YAML](https://yaml.org/) files, a plain-text format that our website +and metrics dashboards can read. The action it runs in then creates a pull request with the updated data. GitHub Actions workflows run `pyosMeta` every +week on a schedule (a cron job), but you can also +[run a workflow by hand](update-the-website-right-away) whenever you need to. The workflows live in two repositories: * **Website:** the workflows are in the [pyopensci.github.io][website-repo] @@ -24,17 +33,29 @@ requests. If something isn't updating, post in the `pyosMeta` collects three kinds of data from GitHub: -1. **Contributor data** comes from the [All Contributors files](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/.all-contributorsrc) in each pyOpenSci repository. -2. **Peer review data** comes from the [review issues in software-submission](https://github.com/pyOpenSci/software-submission/issues). This includes the package name and repository URL, the editor and reviewers, and the maintainers and authors. -3. **Editorial team membership** comes from our [GitHub teams](editorial-teams). Team membership decides whether someone is listed as a current or emeritus editor. +* **Peer review data.** `pyosMeta` parses the + [peer review issues](https://github.com/pyOpenSci/software-submission/issues) + in `software-submission`. It pulls out metadata such as the package + name, repository URL, editor, reviewers, and maintainers. That data + feeds the [Python packages page][page-packages]. +* **Peer review roles.** We track editors, the Editor in Chief, and the + triage team using GitHub teams. `pyosMeta` reads team membership to + build the [editorial board listing][page-editorial], including who is + current and who is emeritus. See [editorial teams](editorial-teams). +* **Contributors.** We use the [All Contributors bot](https://allcontributors.org/) + to track contributors across our repositories. `pyosMeta` parses each + repository's [All Contributors file](https://github.com/pyOpenSci/pyopensci.github.io/blob/main/.all-contributorsrc) + to build the contributor list on the [Our Community page][page-community]. :::{mermaid} flowchart TD - Contrib[All Contributors Bot files] --> Meta[pyosMeta] - Issues[Peer review issues] --> Meta - Teams[GitHub editorial team listings] --> Meta - Meta --> Website[YAML files in pyopensci.github.io] --> Pages[Contributor, package, community and editorial listings] - Website --> Dash[Metrics editorial dashboard] + Contrib[All Contributors files] --> Meta[pyosMeta] + Issues[Peer review issues in software-submission] --> Meta + Teams[GitHub editorial teams] --> Meta + Meta --> PR[Pull request with updated YAML files] + PR -->|merged| Website[Website pages] + Website -.->|editorial dashboard reads board data| Metrics[Metrics dashboards] + Issues -.->|review data| Metrics ::: ## Which workflow updates which page @@ -97,7 +118,9 @@ access to the repository, you can run any of its workflows yourself. ### Update the website The website workflows are in `pyopensci.github.io`. The Editor in Chief -team and the Software Review Lead have write access there. +team, the Software Review Lead, and the +[repository maintainers team](pyopensci-maintainers-permissions) have +write access there. 1. Open the **Actions** tab in [pyopensci.github.io][website-repo]. 2. Choose the workflow you need. If you changed an editorial team, pick diff --git a/community/infrastructure/intro.md b/community/infrastructure/intro.md index 3290ae6..b6b4c3b 100644 --- a/community/infrastructure/intro.md +++ b/community/infrastructure/intro.md @@ -15,8 +15,11 @@ For details on each part of our infrastructure, see the The pyOpenSci website at [pyopensci.org](https://www.pyopensci.org) is built from six repositories. Each one is built separately and published -under the `pyopensci.org` domain using GitHub Pages with Netlify setup for -previews: +under the `pyopensci.org` domain using GitHub Pages. +[Netlify](https://www.netlify.com/) builds a preview of each pull request +so you can see changes before they are merged. + +The six repositories are: * **Core website:** [`pyopensci.github.io`](https://github.com/pyOpenSci/pyopensci.github.io), built with [Hugo](https://gohugo.io/). It is the central hub that links @@ -69,7 +72,7 @@ The diagram below shows how this data moves from GitHub to the website and metrics dashboards: :::{mermaid} -flowchart LR +flowchart TD Contrib[All Contributors files] --> Meta[pyosMeta] Issues[Peer review issues in software-submission] --> Meta Teams[GitHub editorial teams] --> Meta @@ -100,4 +103,4 @@ To contribute to our repositories, see: * **[Issues](issues):** Issue management and labeling workflows * **[Pull requests](pull-requests):** How to work with pull requests in pyOpenSci repos -* **[Continuous integration](continuous-integration):** CI/CD workflows and GitHub Actions +* **[Continuous integration](continuous-integration):** The automated checks that run on every pull request, and what to do when one fails From bf6bec5ab14b751a1cad71b33585e912fd5955db Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 21 Oct 2026 14:03:49 -0600 Subject: [PATCH 05/10] fix: spaces --- governance/structure.md | 1 - 1 file changed, 1 deletion(-) diff --git a/governance/structure.md b/governance/structure.md index 25bf732..5612962 100644 --- a/governance/structure.md +++ b/governance/structure.md @@ -21,7 +21,6 @@ The core team updates that listing by hand. See [Fields you edit by hand](edit-contributors-by-hand). (advisory-council)= - ### pyOpenSci advisory council [Click here to view current advisory council members.](https://www.pyopensci.org/our-community/#advisory-council) From 1f8ec404d1b65eaeeb9a434f573dc87c81c67225 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 21 Oct 2026 14:06:53 -0600 Subject: [PATCH 06/10] fix: broken link --- community/infrastructure/editorial-teams.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community/infrastructure/editorial-teams.md b/community/infrastructure/editorial-teams.md index c470e72..e4f6ea5 100644 --- a/community/infrastructure/editorial-teams.md +++ b/community/infrastructure/editorial-teams.md @@ -51,7 +51,7 @@ Someone can hold more than one role, such as editor and triage. Add them to ever ## Add or remove an editor -The step-by-step process for adding and offboarding editors is in the [onboarding guide](https://www.pyopensci.org/software-peer-review/how-to/onboarding-guide.html#onboarding-a-new-editor). Use the table above to pick the right teams, then [update the website right away](data-process.md#update-the-website-right-away) if you don't want to wait for the next scheduled run. +The step-by-step process for adding and offboarding editors is in the [onboarding guide](https://www.pyopensci.org/software-peer-review/how-to/onboarding-guide.html#onboarding-a-new-editor). Use the table above to pick the right teams, then [update the website right away](update-the-website-right-away) if you don't want to wait for the next scheduled run. ## Guest editors From 09dcb4109a6c003be34146899ec6d90786cf9967 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 28 Oct 2026 14:29:36 -0600 Subject: [PATCH 07/10] Apply suggestion from @shaunagm Co-authored-by: Shauna Gordon-McKeon --- community/infrastructure/data-process.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/community/infrastructure/data-process.md b/community/infrastructure/data-process.md index 0bbcdb8..6510a0e 100644 --- a/community/infrastructure/data-process.md +++ b/community/infrastructure/data-process.md @@ -20,7 +20,8 @@ The workflows live in two repositories: * **Website:** the workflows are in the [pyopensci.github.io][website-repo] repository. They update the pages on pyopensci.org. * **Metrics dashboards:** the workflows are in the - [metrics][metrics-repo] repository. They update the dashboards. + [metrics][metrics-repo] repository. They update the dashboards. + (The dashboards are the subsection of the site found at [pyopensci.org/metrics](https://www.pyopensci.org/metrics/). Each run opens a pull request with the updated data. Once that pull request is merged, the website or dashboards update. From 094c800387171f6779c04fcc706d641090c7361b Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 28 Oct 2026 14:30:19 -0600 Subject: [PATCH 08/10] Apply batched suggestions from code review Co-authored-by: Shauna Gordon-McKeon --- community/infrastructure/data-process.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/community/infrastructure/data-process.md b/community/infrastructure/data-process.md index 6510a0e..f982624 100644 --- a/community/infrastructure/data-process.md +++ b/community/infrastructure/data-process.md @@ -152,9 +152,9 @@ Not sure whether you can change a team or run a workflow? The The workflows overwrite `data/packages.yml`, `data/editorial-board.yml`, and `data/emeritus-editors.yml`, so don't edit those by hand. +You can edit some fields by hand; the Monday workflow keeps them once they are on main. You can edit these fields in -[`data/contributors.yml`][contributors-yml]. The Monday workflow keeps -them once they are on `main`: +[`data/contributors.yml`][contributors-yml]: * **Advisory status** (`advisory`). See [Update the advisory council](update-the-advisory-council). From a527f143ab83baf13edc8870f412853b84af71b1 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 28 Oct 2026 14:49:43 -0600 Subject: [PATCH 09/10] docs: copy edit --- community/index.md | 2 +- community/infrastructure/data-process.md | 142 ++++++++++++++++++----- community/infrastructure/intro.md | 15 +-- governance/structure.md | 11 +- 4 files changed, 131 insertions(+), 39 deletions(-) diff --git a/community/index.md b/community/index.md index 2969e5f..4668811 100644 --- a/community/index.md +++ b/community/index.md @@ -24,7 +24,7 @@ Zenodo & Citation :maxdepth: 2 :caption: Our infrastructure -Our Website +Our website Our GitHub repositories Website & metrics data Editorial teams diff --git a/community/infrastructure/data-process.md b/community/infrastructure/data-process.md index f982624..0951260 100644 --- a/community/infrastructure/data-process.md +++ b/community/infrastructure/data-process.md @@ -3,28 +3,30 @@ :::{note} This page is for editors, staff, and repository maintainers who keep our website and dashboards up to date. You don't need it to contribute to -pyOpenSci. To learn how our websites and data fit together, see the +pyOpenSci. To learn how our websites fit together, see the [infrastructure overview](github-intro). ::: This page explains how community, package, and editorial data get updated on -the [pyOpenSci website](https://www.pyopensci.org) and our [metrics dashboards](https://www.pyopensci.org/metrics), and how you can update -the data yourself when needed. We use a Python package called [`pyosMeta`][pyosmeta] to collect data about -our peer review process and community contributors. `pyosMeta` saves this -data as [YAML](https://yaml.org/) files, a plain-text format that our website -and metrics dashboards can read. The action it runs in then creates a pull request with the updated data. GitHub Actions workflows run `pyosMeta` every -week on a schedule (a cron job), but you can also +the [pyOpenSci website](https://www.pyopensci.org) and our +[metrics dashboards](https://www.pyopensci.org/metrics), and how you can +update the data yourself when needed. We use a Python package called +[`pyosMeta`][pyosmeta] to collect data about our peer review process and +community contributors. `pyosMeta` saves this data as +[YAML](https://yaml.org/) files, a plain-text format that our website and +metrics dashboards can read. GitHub Actions workflows run `pyosMeta` every +week on a schedule (a cron job). Each run opens a pull request with the +updated data. You can also [run a workflow by hand](update-the-website-right-away) whenever you need to. The workflows live in two repositories: * **Website:** the workflows are in the [pyopensci.github.io][website-repo] repository. They update the pages on pyopensci.org. * **Metrics dashboards:** the workflows are in the - [metrics][metrics-repo] repository. They update the dashboards. - (The dashboards are the subsection of the site found at [pyopensci.org/metrics](https://www.pyopensci.org/metrics/). + [metrics][metrics-repo] repository. They update the dashboards at + [pyopensci.org/metrics](https://www.pyopensci.org/metrics/). -Each run opens a pull request with the updated data. Once that pull -request is merged, the website or dashboards update. +Once that pull request is merged, the website or dashboards update. The [infrastructure team][infra-team] usually merges these pull requests. If something isn't updating, post in the @@ -152,9 +154,9 @@ Not sure whether you can change a team or run a workflow? The The workflows overwrite `data/packages.yml`, `data/editorial-board.yml`, and `data/emeritus-editors.yml`, so don't edit those by hand. -You can edit some fields by hand; the Monday workflow keeps them once they are on main. -You can edit these fields in -[`data/contributors.yml`][contributors-yml]: +You can edit some fields in +[`data/contributors.yml`][contributors-yml] by hand. Once those edits are +on `main`, the Monday workflow keeps them: * **Advisory status** (`advisory`). See [Update the advisory council](update-the-advisory-council). @@ -180,25 +182,92 @@ an older bot pull request after your edit can drop your change. (update-the-advisory-council)= ### Update the advisory council -The [Advisory Council](https://www.pyopensci.org/our-community/#advisory-council) on the Our Community page is maintained by the core team. There is no GitHub team for it, and no workflow to run. Edit [`data/contributors.yml`][contributors-yml] in the website repository, open a pull request, and merge it. The page updates on the next website deploy. +The [Advisory Council](https://www.pyopensci.org/our-community/#advisory-council) +on the Our Community page is maintained by the core team. There is no +GitHub team for it, and no workflow to run. Edit +[`data/contributors.yml`][contributors-yml] in the website repository, +open a pull request, and merge it. The page updates on the next website +deploy. -The website lists current members alphabetically by first name. Names in the file are stored as first name, then last name. You do not set `sort` for this section. +The website lists current members alphabetically by first name. Names in +the file are stored as first name, then last name. You do not set `sort` +for this section. #### Add a current member -Find the person in `data/contributors.yml`. If they are not in the file yet, add an entry for them. Set: - -* `advisory: true` -* `emeritus_advisory: false` -* `title: Advisory Council` - -If they already have a title, such as an editor title, make `title` a list and include `Advisory Council` as one item. +Find the person in `data/contributors.yml`. Before `advisory`, +`emeritus_advisory`, and `title` are set, the entry looks like this: + +```yaml +- name: Jane Doe + github_username: janedoe + github_image_id: 1234567 + title: + sort: + bio: + organization: + date_added: '2024-01-15' + editorial_board: false + emeritus_editor: false + advisory: false + emeritus_advisory: false + twitter: + mastodon: + orcidid: + partners: + website: + board: false + contributor_type: + - community + packages_eic: + packages_editor: + packages_submitted: + packages_reviewed: + location: + email: +``` + +If they are not in the file yet, add an entry for them with the same fields +as the other entries. Then set `advisory`, `emeritus_advisory`, and `title`: + +```yaml +- name: Jane Doe + github_username: janedoe + github_image_id: 1234567 + title: Advisory Council + sort: + bio: + organization: + date_added: '2024-01-15' + editorial_board: false + emeritus_editor: false + advisory: true + emeritus_advisory: false + twitter: + mastodon: + orcidid: + partners: + website: + board: false + contributor_type: + - community + packages_eic: + packages_editor: + packages_submitted: + packages_reviewed: + location: + email: +``` + +If they already have a title, such as an editor title, make `title` a list +and include `Advisory Council` as one item. A new entry also needs: * `name`, with the first name first * `github_username` -* `github_image_id`, the numeric GitHub user id used for their photo. Read the `id` field from `https://api.github.com/users/USERNAME` +* `github_image_id`, the numeric GitHub user id used for their photo. + Read the `id` field from `https://api.github.com/users/USERNAME` #### When someone steps down @@ -208,18 +277,33 @@ Set: * `emeritus_advisory: true` * `title: Emeritus Advisory Council` -`emeritus_advisory: true` is what places someone in the Emeritus Leadership section. That section also includes other emeritus leadership, such as emeritus Executive Council. Leave the flag in place for anyone who should stay in that section. +`emeritus_advisory: true` places someone in the Emeritus Leadership +section. That section also includes other emeritus leadership, such as +emeritus Executive Council. Leave the flag in place for anyone who should +stay in that section. ## If something breaks -Don't worry, you won't break anything by running a workflow. If one fails, a message is posted automatically to the `#pyos-maintainers-infrastructure` Slack channel. If you get stuck, post there too, and the [pyOpenSci repository maintainers](pyopensci-maintainers-permissions) will be happy to help. If you'd like to dig in yourself, the `pyosMeta` [development guide](https://github.com/pyOpenSci/pyosMeta/blob/main/development.md) explains the tokens and permissions the workflows use. +Don't worry, you won't break anything by running a workflow. If one fails, +a message is posted automatically to the `#pyos-maintainers-infrastructure` +Slack channel. If you get stuck, post there too, and the +[pyOpenSci repository maintainers](pyopensci-maintainers-permissions) will +be happy to help. If you'd like to dig in yourself, the `pyosMeta` +[development guide](https://github.com/pyOpenSci/pyosMeta/blob/main/development.md) +explains the tokens and permissions the workflows use. ### Review issues that don't parse -`pyosMeta` reads the text people type into the review issue template. People fill out templates in all sorts of creative ways, so a missing field or an extra line can trip it up. If a workflow fails: +`pyosMeta` reads the text people type into the review issue template. +People fill out templates in all sorts of creative ways, so a missing +field or an extra line can trip it up. If a workflow fails: -* Post a link to the logs in `#pyos-maintainers-infrastructure`. The error may already be there from the Slack automation, but a post from you helps us prioritize the fix. -* Check the logs for the package it failed on. Then look at the YAML at the top of that review issue for quirks. For example, text in quotes `"like this"` can break parsing. +* Post a link to the logs in `#pyos-maintainers-infrastructure`. The error + may already be there from the Slack automation, but a post from you + helps us prioritize the fix. +* Check the logs for the package it failed on. Then look at the YAML at + the top of that review issue for quirks. For example, text in quotes + `"like this"` can break parsing. [pyosmeta]: https://github.com/pyOpenSci/pyosMeta [website-repo]: https://github.com/pyOpenSci/pyopensci.github.io diff --git a/community/infrastructure/intro.md b/community/infrastructure/intro.md index b6b4c3b..25ea229 100644 --- a/community/infrastructure/intro.md +++ b/community/infrastructure/intro.md @@ -14,8 +14,9 @@ For details on each part of our infrastructure, see the ## How our websites fit together The pyOpenSci website at [pyopensci.org](https://www.pyopensci.org) is -built from six repositories. Each one is built separately and published -under the `pyopensci.org` domain using GitHub Pages. +built from six repositories, in three groups. Each repository is built +separately and published under the `pyopensci.org` domain using GitHub +Pages. [Netlify](https://www.netlify.com/) builds a preview of each pull request so you can see changes before they are merged. @@ -84,11 +85,11 @@ flowchart TD Scheduled workflows run `pyosMeta` and open a pull request with the updated YAML files. The website updates once that pull request is merged. -The metrics dashboards run on their own schedule. A few fields, such as -[Advisory Council](update-the-advisory-council) and leadership roles, -are [edited by hand](edit-contributors-by-hand). For -schedules, how to run a workflow, and hand-edited fields, see -[website & metrics data](data-process). +The metrics dashboards run on their own schedule. A few fields, including +[advisory council](update-the-advisory-council) membership and leadership +roles, are [edited by hand](edit-contributors-by-hand). Schedules, how to +run a workflow, and the full list of hand-edited fields are on +[website and metrics data](data-process). ## Learn more diff --git a/governance/structure.md b/governance/structure.md index 5612962..f12375b 100644 --- a/governance/structure.md +++ b/governance/structure.md @@ -98,8 +98,15 @@ This team: * Approve and merge routine updates including: * Dependabot pull requests * Pre-commit CI updates -* Approve and merge automated data file updates: - * Automated data file updates. Our [metrics](https://github.com/pyOpenSci/metrics) and [website](https://github.com/pyOpenSci/pyopensci.github.io) are updated automatically using GitHub Actions workflows that run the [pyosMeta](https://github.com/pyOpenSci/pyosMeta) Python package. These workflows run on a schedule and open a PR. See [Website & metrics data](../community/infrastructure/data-process.md) for schedules and how to run them. These PRs can be updated at whatever frequency is needed but should be updated at least once or twice a month. +* Approve and merge automated data file updates. Our + [metrics](https://github.com/pyOpenSci/metrics) dashboards and + [website](https://github.com/pyOpenSci/pyopensci.github.io) are updated + by GitHub Actions workflows that run the + [pyosMeta](https://github.com/pyOpenSci/pyosMeta) Python package. These + workflows run on a schedule and open a pull request. See + [website and metrics data](../community/infrastructure/data-process) + for the schedules and how to run them. Merge these pull requests at + least once or twice a month. * Ensure the smooth operation of pyOpenSci's technical infrastructure #### Triaging issues and pull requests From 2e2a9599ba48e80800a7e84780771b35a664ca35 Mon Sep 17 00:00:00 2001 From: Leah Wasser Date: Wed, 28 Oct 2026 14:56:38 -0600 Subject: [PATCH 10/10] fix: minor typos --- community/infrastructure/data-process.md | 9 +++++---- community/infrastructure/intro.md | 8 +++++++- community/infrastructure/our-repositories.md | 11 +++++++---- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/community/infrastructure/data-process.md b/community/infrastructure/data-process.md index 0951260..1c48cd6 100644 --- a/community/infrastructure/data-process.md +++ b/community/infrastructure/data-process.md @@ -39,7 +39,8 @@ requests. If something isn't updating, post in the * **Peer review data.** `pyosMeta` parses the [peer review issues](https://github.com/pyOpenSci/software-submission/issues) in `software-submission`. It pulls out metadata such as the package - name, repository URL, editor, reviewers, and maintainers. That data + name, repository URL, editor, reviewers, maintainers, and authors. + Maintainers and authors are different people. That data feeds the [Python packages page][page-packages]. * **Peer review roles.** We track editors, the Editor in Chief, and the triage team using GitHub teams. `pyosMeta` reads team membership to @@ -165,9 +166,9 @@ on `main`, the Monday workflow keeps them: * **Title** (`title`), the role shown on their card. Editor titles still come from the [editorial workflow](editorial-teams). Other titles, such as Advisory Council or Executive Director, stay as you write them. -* **Name** (`name`). Some people have no name on GitHub. Add their name - here so the community page can list them. If a name is already in the - file, the workflow does not replace it. +* **Name** (`name`). A users name on GitHub is sometimes missing and also not + always someone's preferred name, so you can update it here. + Our data procedss workflow never overwrites a name that is already in the file. Editors who can't join our GitHub organization go in [`data/manual-editorial-roster.yml`][manual-roster]. See diff --git a/community/infrastructure/intro.md b/community/infrastructure/intro.md index 25ea229..4b3c365 100644 --- a/community/infrastructure/intro.md +++ b/community/infrastructure/intro.md @@ -30,6 +30,11 @@ The six repositories are: [Handbook](https://github.com/pyOpenSci/handbook), and [Lessons](https://github.com/pyOpenSci/lessons). Most use our branded [`pyos-sphinx-theme`](https://github.com/pyOpenSci/pyos-sphinx-theme). + That theme is built on + [pydata-sphinx-theme](https://pydata-sphinx-theme.readthedocs.io/), + the Sphinx theme maintained by the PyData community. We add pyOpenSci + colors, type, and layout on top of it, so the books share one look and + a branding change happens in one repository. * **Metrics dashboards:** [`metrics`](https://github.com/pyOpenSci/metrics), built with [Quarto](https://quarto.org/). @@ -57,7 +62,8 @@ can read. `pyosMeta` collects three kinds of data: * **Peer review data.** `pyosMeta` parses the [peer review issues](https://github.com/pyOpenSci/software-submission/issues) in `software-submission`. It pulls out metadata such as the package - name, repository URL, editor, reviewers, and maintainers. That data + name, repository URL, editor, reviewers, maintainers, and authors. + Maintainers and authors are different people. That data feeds the [Python packages page](https://www.pyopensci.org/python-packages.html). * **Peer review roles.** We track editors, the Editor in Chief, and the triage team using GitHub teams. `pyosMeta` reads team membership to diff --git a/community/infrastructure/our-repositories.md b/community/infrastructure/our-repositories.md index 3a563c8..49fd0b5 100644 --- a/community/infrastructure/our-repositories.md +++ b/community/infrastructure/our-repositories.md @@ -179,10 +179,13 @@ Teams with access to this repository: **Platform:** Sphinx book template that builds on top of the pydata_sphinx_theme -This repo contains our branded Sphinx theme, which the handbook and software -peer review guide use. Because the branding lives in one theme, we can update -it in one place instead of in each repository, and the change applies -everywhere the theme is used. +This repo contains our branded Sphinx theme. It is built on +[pydata-sphinx-theme](https://pydata-sphinx-theme.readthedocs.io/), the +Sphinx theme maintained by the PyData community. We add pyOpenSci branding +on top of that theme. The handbook and software peer review guide use it. +Because the branding lives in one theme, we can update it in one place +instead of in each repository, and the change applies everywhere the theme +is used. Creating a theme was inspired by the [2i2c Sphinx theme](https://sphinx-2i2c-theme.readthedocs.io/en/latest/).