Skip to content

Zenodo fix 2#762

Merged
cvanelteren merged 1 commit into
mainfrom
fix/zenodo-json-metadata
Jul 14, 2026
Merged

Zenodo fix 2#762
cvanelteren merged 1 commit into
mainfrom
fix/zenodo-json-metadata

Conversation

@cvanelteren

Copy link
Copy Markdown
Collaborator

Continuation of #761

… conversion

The Zenodo integration was not merely disabled: the repository is enabled on Zenodo and the `release` webhook has been live since 2026-06-18, yet v2.4.0 (published 2026-07-04, a real non-draft release) shows as **failed** on Zenodo with no error detail, and the archive has been stuck at v1.57.1 since June 2025. That last successful archive is the final release before `CITATION.cff` was added on 2025-06-25, and nothing has archived since -- Zenodo derives its deposit from that file, and the conversion is lossy in at least two ways that can fail validation: CFF is required to spell the license with its SPDX identifier (`MIT`), whereas Zenodo's vocabulary only knows the lowercase `mit` (`GET /api/vocabularies/licenses/mit` -> 200, `.../MIT` -> 404), and the file also carries a `doi` plus a hand-pinned `version` that Zenodo is supposed to decide for itself. Rather than guess which field Zenodo chokes on, ship a `.zenodo.json`, which Zenodo reads in preference to `CITATION.cff` and ignores the CFF entirely: it pins no DOI and no version, so Zenodo mints the DOI and takes the version from the release tag, and it names the license in Zenodo's own vocabulary. `CITATION.cff` stays as the human- and GitHub-facing citation metadata, where SPDX `MIT` is correct.

NOTE: This is the leading hypothesis, not a verified fix -- Zenodo reports the failure with no diagnostics, so it must be confirmed against Zenodo Sandbox before the next real release.
@cvanelteren cvanelteren marked this pull request as ready for review July 14, 2026 03:40
@cvanelteren cvanelteren merged commit c8147c3 into main Jul 14, 2026
5 of 7 checks passed
@cvanelteren cvanelteren deleted the fix/zenodo-json-metadata branch July 14, 2026 03:41
@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant