Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/deposit-ready.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,19 @@ jobs:

- name: Which notes have no DOI
id: pending
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# A request that is already OPEN counts as asked. deposit-queue.txt
# only records what has been merged, so without this the workflow
# re-asks on every metadata change and the same note accumulates
# requests -- four for one note, before this was noticed. Duplicate
# reminders are how a reminder becomes something you scroll past.
gh pr list --state open --limit 100 --json title \
--jq '.[] | select(.title | startswith("Deposit: ")) |
.title | sub("^Deposit: "; "")' \
| tr ',' '\n' | tr -d ' ' | sed '/^$/d' > .already-asked || true
echo "already asked: $(tr '\n' ' ' < .already-asked)"
SLUGS=$(pixi run -q python3 -c "
import sys; sys.path.insert(0, 'scripts'); import deposit
queued = set()
Expand All @@ -41,8 +53,13 @@ jobs:
if line: queued.add(line)
except FileNotFoundError:
pass
try:
queued.update(l.strip() for l in open('.already-asked') if l.strip())
except FileNotFoundError:
pass
print(','.join(s for s in deposit.pending() if s not in queued))
")
rm -f .already-asked
echo "slugs=${SLUGS}" >> "$GITHUB_OUTPUT"
echo "not yet queued: ${SLUGS:-none}"

Expand Down
88 changes: 88 additions & 0 deletions .github/workflows/outstanding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: outstanding

# Every step of publishing here is deliberate: a person merges the request to
# deposit, a person merges the identifiers that come back. That is the right
# design, and its failure mode is that a step simply does not happen and
# nothing says so. A deposit sat unrecorded for a fortnight because the only
# thing that would have complained was the NEXT deposit -- which is the worst
# possible moment to find out.
#
# So this asks the question on a schedule instead of relying on anyone
# remembering to. It maintains ONE issue: opened when something is
# outstanding, edited while it stays outstanding, closed when it clears. It
# never opens a second one, and it says nothing at all when there is nothing
# to say.

on:
schedule:
# Mondays, 22:00 UTC -- Tuesday morning in Canberra, so the week starts
# with the list rather than ending with it.
- cron: '0 22 * * 1'
workflow_dispatch:

permissions:
contents: read
issues: write
pull-requests: read

concurrency:
group: outstanding
cancel-in-progress: false

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: prefix-dev/setup-pixi@v0.8.1
with:
cache: true

- name: What is half-finished
id: check
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set +e
pixi run -q python3 scripts/outstanding.py > report.txt
echo "count=$?" >> "$GITHUB_OUTPUT"
set -e
cat report.txt
{
echo "## Outstanding"
echo '```'
cat report.txt
echo '```'
} >> "$GITHUB_STEP_SUMMARY"

- name: Open, update or close the one issue
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
TITLE="Publishing steps not finished"
NUM=$(gh issue list --state open --limit 50 \
--json number,title \
--jq ".[] | select(.title == \"$TITLE\") | .number" | head -1)

if [ "${{ steps.check.outputs.count }}" = "0" ]; then
if [ -n "$NUM" ]; then
gh issue close "$NUM" \
--comment "Nothing outstanding as of $(date -u +%Y-%m-%d). Closed automatically."
echo "closed #$NUM"
else
echo "nothing outstanding, no issue open -- saying nothing"
fi
exit 0
fi

BODY=$(printf '%s\n\n```\n%s\n```\n\n%s\n' \
"Steps that were started and not finished. Regenerated each Monday by the \`outstanding\` workflow; run \`pixi run outstanding\` to see the same thing locally." \
"$(cat report.txt)" \
"This issue closes itself when the list is empty.")

if [ -n "$NUM" ]; then
gh issue edit "$NUM" --body "$BODY"
echo "updated #$NUM"
else
gh issue create --title "$TITLE" --body "$BODY"
fi
1 change: 1 addition & 0 deletions articles/2-11-scaling/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ version: 1.0.0
legacy_doi: 10.59350/3wz3c-c8w65
archive_doi: 10.6084/m9.figshare.33193458
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /2-11-scaling/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/hsp06-ag431
archive_doi: 10.6084/m9.figshare.33193530
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /30-years-of-citcom-ellipsis-and-underworld/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/qnz5b-4dt16
archive_doi: 10.6084/m9.figshare.33193416
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /adding-zotero-references-to-a-webpage/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/rmayz-81x80
archive_doi: 10.6084/m9.figshare.33193560
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /ai-and-scientific-software-what-we-learned-rebuilding-underworld3/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/pn8gh-98592
archive_doi: 10.6084/m9.figshare.33193410
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /alaska-moho-model-reproducible-research-with-containers/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/build-conda-packages/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/7x9h6-y1x53
archive_doi: 10.6084/m9.figshare.33193440
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /build-conda-packages/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/g4ysn-pv176
archive_doi: 10.6084/m9.figshare.33193527
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /compressible-convection-in-cartesian-coordinates-in-underworld3/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/constitutive-models-in-symbolic-form/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ source: ghost-migration
ghost_uuid: 137d7c0a-1a6b-412b-a605-069137faac95
repository_record_id: 33193590
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:28:12Z
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/c4g09-htk29
archive_doi: 10.6084/m9.figshare.33193398
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /craton-formation-and-the-onset-of-plate-tectonics/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ source: ghost-migration
ghost_uuid: 1b9677b5-5308-4c90-a192-d29aad4000b7
repository_record_id: 33193611
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:28:42Z
1 change: 1 addition & 0 deletions articles/free-surface-in-underworld/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/1a3e6-3v712
archive_doi: 10.6084/m9.figshare.33193503
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /free-surface-in-underworld/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ version: 1.0.0
legacy_doi: 10.59350/3y92k-n4v30
archive_doi: 10.6084/m9.figshare.33193419
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /getting-started-60-seconds-to-underworld/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/getting-started-with-pull-requests/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/cj1d1-e4445
archive_doi: 10.6084/m9.figshare.33193434
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /getting-started-with-pull-requests/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ version: 1.0.0
legacy_doi: 10.59350/tjm5s-sfs33
archive_doi: 10.6084/m9.figshare.33193554
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /how-many-processors-should-we-use-to-solve-problem-x/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/8nsyv-btx30
archive_doi: 10.6084/m9.figshare.33193455
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /how-to-install-underworld-on-mac-osx-big-sur-apple-silicon-m1/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/how-underworld3-turns-sympy-into-c/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ source: ghost-migration
ghost_uuid: ba7cc108-239e-4371-8182-2316f9e2cf7c
repository_record_id: 33193572
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:27:41Z
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ version: 1.0.0
legacy_doi: 10.59350/8196m-xmj49
archive_doi: 10.6084/m9.figshare.33193518
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /ismip-hom-benchmark-experiments-using-underworld/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ source: ghost-migration
ghost_uuid: 28b160de-c9a0-4942-9a7e-74c84d21c7a4
repository_record_id: 33193578
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:27:52Z
1 change: 1 addition & 0 deletions articles/moving-the-mesh-without-remaking-it/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,5 @@ source: native
repository_record_id: 33241170
archive_doi: 10.6084/m9.figshare.33241170
archived_at: 2026-08-13T11:10:11Z
archived_version: 1.0.0
archive_published_at: 2026-08-13T11:11:48Z
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ source: ghost-migration
ghost_uuid: ba04ae00-5f7f-4655-89ef-c58d6060c9c7
repository_record_id: 33193557
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:27:06Z
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@ source: ghost-migration
ghost_uuid: 6bfa4eab-e83e-4a57-8246-5c6ae2ecc353
repository_record_id: 33193566
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:27:30Z
1 change: 1 addition & 0 deletions articles/particles-in-underworld3/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ source: ghost-migration
ghost_uuid: d7e1f38a-c62a-4b5f-bc55-0133fff3b2c3
repository_record_id: 33193599
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:28:32Z
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ source: ghost-migration
ghost_uuid: f8e03b51-3f07-4bfd-92bc-cf4f468b78a9
repository_record_id: 33193587
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:28:02Z
1 change: 1 addition & 0 deletions articles/running-underworld-in-a-browser/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ archive_doi: 10.6084/m9.figshare.33216996
repository_provider: figshare
repository_record_id: 33216996
archived_at: 2026-08-31T17:36:06Z
archived_version: 1.1.0
archive_published_at: 2026-08-31T17:38:10Z
subjects:
methods:
Expand Down
1 change: 1 addition & 0 deletions articles/scaling-in-underworld/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ version: 1.0.0
legacy_doi: 10.59350/qvgm0-yz754
archive_doi: 10.6084/m9.figshare.33193452
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /scaling-in-underworld/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/self-updating-repositories/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/wftyb-vgs67
archive_doi: 10.6084/m9.figshare.33193428
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /self-updating-repositories/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/setting-up-full-multigrid/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ source: native
repository_record_id: 33273984
archive_doi: 10.6084/m9.figshare.33273984
archived_at: 2026-08-17T21:37:48Z
archived_version: 1.0.0
archive_published_at: 2026-08-17T21:39:35Z
1 change: 1 addition & 0 deletions articles/setting-up-underworld-dependencies/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/t7ghx-8f823
archive_doi: 10.6084/m9.figshare.33193509
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /setting-up-underworld-dependencies/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/awc90-63186
archive_doi: 10.6084/m9.figshare.33193365
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /shear-bands-with-dilatancy-modelled-with-underworld/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/stress-recovery-in-underworld/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ version: 1.0.0
legacy_doi: 10.59350/97evt-ays09
archive_doi: 10.6084/m9.figshare.33193446
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /stress-recovery-in-underworld/
legacy_paths:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ source: ghost-migration
ghost_uuid: 1eb496b6-8422-4b09-9443-2894629c35cf
repository_record_id: 33193596
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
archive_published_at: 2026-08-10T04:28:22Z
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/73ded-8k350
archive_doi: 10.6084/m9.figshare.33193179
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /the-dynamics-of-continental-accretion/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/underworld-2/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/fsmnk-jat73
archive_doi: 10.6084/m9.figshare.33193233
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /underworld-2/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/underworld-and-docker-part-1/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/y8762-pe280
archive_doi: 10.6084/m9.figshare.33193329
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /underworld-and-docker-part-1/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/underworld-and-docker-part-2/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ version: 1.0.0
legacy_doi: 10.59350/4cqwc-rth67
archive_doi: 10.6084/m9.figshare.33193341
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /underworld-and-docker-part-2/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/underworld-and-singularity/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/hfgvn-dkk05
archive_doi: 10.6084/m9.figshare.33193545
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /underworld-and-singularity/
legacy_paths:
Expand Down
1 change: 1 addition & 0 deletions articles/underworld-low-fat-cloud/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ version: 1.0.0
legacy_doi: 10.59350/mw43c-vn265
archive_doi: 10.6084/m9.figshare.33193422
archived_at: 2026-08-10T04:19:43Z
archived_version: 1.0.0
license: CC-BY-4.0
canonical_path: /underworld-low-fat-cloud/
legacy_paths:
Expand Down
Loading
Loading