From 1e5d801ec1e209b9acfd3822c148960b40436822 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Fri, 16 Oct 2026 16:02:07 +0100 Subject: [PATCH 1/6] Add web-meta.yaml for GitHub metadata configuration --- .github/web-meta.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/web-meta.yaml diff --git a/.github/web-meta.yaml b/.github/web-meta.yaml new file mode 100644 index 0000000..9f067f6 --- /dev/null +++ b/.github/web-meta.yaml @@ -0,0 +1,10 @@ +name: "" +shortdesc: "" +longdesc: "" +authors: +category: "data-tools" +image: "" +github: "" +docs: "" +pypi: true +conda: true From c44c011ae3a8b495a3199b15ad93fbae3901320d Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Fri, 16 Oct 2026 17:15:41 +0100 Subject: [PATCH 2/6] Update web-meta.yaml by removing fields Remove authors and image fields from web-meta.yaml --- .github/web-meta.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/web-meta.yaml b/.github/web-meta.yaml index 9f067f6..ebbc32c 100644 --- a/.github/web-meta.yaml +++ b/.github/web-meta.yaml @@ -1,7 +1,5 @@ -name: "" shortdesc: "" longdesc: "" -authors: category: "data-tools" image: "" github: "" From 32d3d8e6648eed1519dc09dd3725d163c21a53b8 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Fri, 16 Oct 2026 17:35:42 +0100 Subject: [PATCH 3/6] Clean up web-meta.yaml by removing unused fields Removed empty fields for GitHub and docs in web-meta.yaml. --- .github/web-meta.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/web-meta.yaml b/.github/web-meta.yaml index ebbc32c..faad550 100644 --- a/.github/web-meta.yaml +++ b/.github/web-meta.yaml @@ -2,7 +2,5 @@ shortdesc: "" longdesc: "" category: "data-tools" image: "" -github: "" -docs: "" pypi: true conda: true From 83b81e42fd0243ff13db5bcf03a1f354d1f3af5d Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Fri, 16 Oct 2026 20:39:40 +0100 Subject: [PATCH 4/6] Enhance release workflow with build dispatch payload --- .github/workflows/release.yaml | 62 ++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fb5e125..7393503 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -177,3 +177,65 @@ jobs: --data-urlencode "to=announcements" \ --data-urlencode "topic=software releases" \ --data-urlencode "content=${CONTENT}" + + - name: checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + + - name: Build dispatch payload + id: payload + shell: bash + env: + NAME: ${{ github.event.repository.name }} + REPO_URL: ${{ github.server_url }}/${{ github.repository }} + VERSION: ${{ github.event.inputs.version }} + META_FILE: .github/web-meta.yaml + CFF_FILE: CITATION.cff + run: | + for f in "$META_FILE" "$CFF_FILE"; do + if [ ! -f "$f" ]; then + echo "::error::$f not found in $(pwd)" + ls -la . .github + exit 1 + fi + done + + # Constructed URLs (Read the Docs slugs are lowercase) + github_url="$REPO_URL" + docs_url="https://${NAME,,}.readthedocs.io/" + + # Metadata from web-meta.yaml + meta=$(yq -o=json '.' "$META_FILE") + + # Authors from CITATION.cff -> { "Full Name": "orcid url" } + authors=$(yq -o=json '.authors' "$CFF_FILE" | jq -c ' + map({ + key: ( + if .name then .name + else ([."given-names", ."family-names"] | map(select(. != null)) | join(" ")) + end + ), + value: (.orcid // "") + }) | from_entries') + + payload=$(jq -nc \ + --arg name "$NAME" \ + --arg github "$github_url" \ + --arg docs "$docs_url" \ + --arg version "$VERSION" \ + --argjson meta "$meta" \ + --argjson authors "$authors" \ + '{ + name: $name, + meta: ({github: $github, docs: $docs} + $meta + {version: $version, authors: $authors}) + }') + + echo "payload: $payload" + echo "json=$payload" >> "$GITHUB_OUTPUT" + + - name: Post version to website metadata repo + uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 + with: + token: ${{ secrets.BUILD_TOKEN }} + repository: ccpbiosim/ccpbiosim.github.io + event-type: workshops + client-payload: ${{ steps.payload.outputs.json }} From 2e645daa14095ceff6a6964d1b5d6c55e66cf75d Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Fri, 16 Oct 2026 21:14:40 +0100 Subject: [PATCH 5/6] Enhance web-meta.yaml with descriptions and settings Updated short and long descriptions for the web interface, modified image and package settings. --- .github/web-meta.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/web-meta.yaml b/.github/web-meta.yaml index faad550..ef315b5 100644 --- a/.github/web-meta.yaml +++ b/.github/web-meta.yaml @@ -1,6 +1,7 @@ -shortdesc: "" -longdesc: "" +shortdesc: "A web interface for extracting and uploading simulation metadata" +longdesc: "A platform for extracting and uploading simulation data via a web interface to the PSDI hosted BioSimDB community data-collection." category: "data-tools" -image: "" -pypi: true -conda: true +image: "biosimdb-interface-logo.svg" +pypi: false +conda: false +ghcr: true From ba034df8f39b5ebcbaa8a6541dbde70038837ad0 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Fri, 16 Oct 2026 21:28:15 +0100 Subject: [PATCH 6/6] Change event type from 'workshops' to 'software' --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7393503..70f2da9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -237,5 +237,5 @@ jobs: with: token: ${{ secrets.BUILD_TOKEN }} repository: ccpbiosim/ccpbiosim.github.io - event-type: workshops + event-type: software client-payload: ${{ steps.payload.outputs.json }}