Skip to content

Commit 19b853c

Browse files
author
Alexander Chernov
committed
Reserve the DOI before tagging, next time
The v0.1.0 archive cannot cite itself. Its CITATION.cff has no doi field and its citation page says there is no DOI yet, because the DOI is minted from the tag and could only reach the tree in the commit after it. Files on a published record are immutable, so nothing short of a new version would change it. Left as it is, deliberately. The record's metadata is correct and that is what indexers read; citation happens from the landing page, not from a file inside the zip. Putting a second DOI in the world to fix a self-reference costs more than the defect does. The note is the point. A draft record exposes a reserve_doi link, so the identifier can exist before the tag does, which turns the release sequence from circular into linear: draft, reserve, write the DOI into CITATION.cff, commit, tag, archive that tag, publish. Recorded in both RELEASE.md and zenodo/README.md because the second is where someone stands when it matters. This is the one item on the release checklist whose cost is permanent. A published archive cannot be corrected, only superseded.
1 parent 0c8113b commit 19b853c

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

‎RELEASE.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,24 @@ them is discovered after a DOI has been minted.
362362
`publication_date` is required and is not supplied by the legacy
363363
conversion — the first publish attempt failed on it with a 400 after the
364364
draft was otherwise complete. It is now in `zenodo/metadata.json`.
365+
366+
**The archive cannot cite itself, and that is accepted rather than
367+
fixed.** The zip holds a `CITATION.cff` with no `doi:` field and a
368+
citation page reading "There is no DOI yet", because the DOI is minted
369+
*from* the tag and reached the tree only in the commit after it. Files on
370+
a published record are immutable, so only a new version would change it.
371+
372+
Decided 2026-09-06 to leave it: the record's metadata is correct, which is
373+
what indexers read, and citation happens from the landing page rather than
374+
from a file inside the archive. A second DOI to fix a self-reference costs
375+
more than the defect does.
376+
377+
**Next release, reserve the DOI first.** A draft exposes a `reserve_doi`
378+
link, so the identifier can exist before the tag does — see
379+
[`zenodo/README.md`](zenodo/README.md). Sequence becomes: create draft,
380+
reserve, write the DOI into `CITATION.cff` and the citation page, commit,
381+
tag, archive *that* tag, publish. This is the one item on this list whose
382+
cost is permanent, because a published archive cannot be corrected.
365383
- [ ] The technical report is a separate repository with its own DOI, which
366384
cites the software DOI. Do not vendor a `paper/` directory here: the
367385
software artifact and the scholarly artifact should not become

‎zenodo/README.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,30 @@ archived tree stays authoritative for the file-to-licence map; the four
6868
identifiers say *which* licences apply, not *to what*, and no metadata field can
6969
carry that mapping.
7070

71+
## Reserve the DOI before tagging, not after
72+
73+
**The `v0.1.0` archive cannot cite itself.** Its `CITATION.cff` carries no `doi:`
74+
field and its citation page reads *"There is no DOI yet"*, because the DOI was
75+
minted **from** the tag and could only be written into the tree afterwards. Files
76+
on a published record are immutable, so this is not fixable in place.
77+
78+
**Decided 2026-09-06: left as it is.** The record's metadata is correct, which is
79+
what search engines and Crossref read, and people cite from the landing page
80+
rather than from a file inside the zip. Cutting a version purely to fix a
81+
self-reference would put a second DOI in the world to solve a problem nobody
82+
downstream has.
83+
84+
**Do not repeat it.** A draft record exposes a `reserve_doi` link in its `links`
85+
object — observed on the `v0.1.0` draft, though not yet exercised — which mints
86+
the identifier before publication. That turns the sequence below from circular
87+
into linear:
88+
89+
create draft → reserve DOI → write it into CITATION.cff and the
90+
citation page → commit → tag → archive that tag → upload → publish
91+
92+
The cost of getting this wrong is small and permanent, which is the combination
93+
worth spending ten minutes on next time rather than ten minutes now.
94+
7195
## Sequence
7296

7397
`RELEASE.md` fixes the order, and it is not negotiable at the last step:

0 commit comments

Comments
 (0)