You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/design/doi-generation-2.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,9 @@ For example:
14
14
15
15
Dandiset DOI redirect will always refer to the DLP.
16
16
17
-
At creation the `Dandiset DOI` will be a DataCite `Draft DOI`, but will be "promoted" to a DataCite `Findable DOI` as soon as there is a published version.
18
-
A `Version DOI` will be created as a `Findable DOI`.
17
+
At creation the `Dandiset DOI` will be a DataCite `Draft DOI`.
18
+
`Dandiset DOI` will remain a `Draft DOI` until there is a published version, at that time we will "promote" to a DataCite `Findable DOI`.
19
+
For each published version there will be a `Version DOI` created as a `Findable DOIs`.
19
20
20
21
## The current approach
21
22
@@ -79,7 +80,7 @@ DataCite allows for three types of DOIs ([DataCite](https://support.datacite.org
79
80
- Upon changes to embargoed dandiset metadata record, don't do anything.
80
81
- Upon deletion of an embargoed dandiset: don't do anything.
81
82
- Upon unembargoing dandiset:
82
-
- Mint `Dandiset DOI` (Draft) with latest metadata,
83
+
- Mint `Dandiset DOI` (Draft) with latest metadata
83
84
84
85
### Cautions
85
86
@@ -90,9 +91,9 @@ If DANDI_DOI_PUBLISH is false (default)
90
91
If all DOI configuration options are not set:
91
92
- all required options:
92
93
- `DANDI_DOI_API_URL`
93
-
- `DANDI_DOI_API_URL`
94
-
- `DANDI_DOI_API_PASSWORD`
94
+
- `DANDI_DOI_API_USER`
95
95
- `DANDI_DOI_API_PASSWORD`
96
+
- `DANDI_DOI_API_PREFIX`
96
97
- DOIs CRUD through Datacite API should be entirely disabled
97
98
- DOI (the string) should not be added to the version
98
99
@@ -228,7 +229,7 @@ This is because `Draft` DOI is not visible/usable by users.
228
229
However, if we promote the `Draft DOI` to `Findable` as soon as it is valid, and the user then change it to be invalid again, the DOI metadata will be wrong.
229
230
We discussed annotating the DOI, ie "potentially incorrect metadata", but we ultimately decided that the messiness is not worth the value.
230
231
231
-
- Dandisets can be deleted. In such cases, upon deletion of a dandiset:
232
+
How Findable DOIs for Draft Dandisets would work upon deletion of a dandiset:
232
233
- if DOI was a `Draft` DOI - just delete it as well.
233
234
- if DOI was a `Findable` DOI - convert to `Registered` DOI (follows [datacite best practices](https://support.datacite.org/docs/tombstone-pages))
234
235
- Also at the level of the DANDI archive itself we should provide tombstone page so URL is still "working" (#3211)
0 commit comments