Design document for the Zenodo like DOI per dandiset#2012
Design document for the Zenodo like DOI per dandiset#2012yarikoptic merged 24 commits intomasterfrom
Conversation
|
I created some test to simulate the workflow in dandi/dandi-schema#275 |
doc/design/doi-generation-2.md
Outdated
| - We might want a dedicated 404 page for deleted dandisets, or at least a message that the dandiset was deleted, and ideally describe the reason why it was deleted ("Upon request of maintainer", "Due to violation of terms of service", etc.) | ||
| - Then we adjust DOI record to point to that page. | ||
|
|
||
| - Should we do anything at dandischema level? |
There was a problem hiding this comment.
@djarecka we are to answer those I think before we could call this "done" ;-)
doc/design/doi-generation-2.md
Outdated
There was a problem hiding this comment.
@djarecka I feel like you clarified on this but we did not put it "in writing" here. What do you remember on this aspect?
There was a problem hiding this comment.
yes, sorry, i just gave "thumbs up", since you were right, Draft DOI doesn't have to have metadata, it can only have url, and if has more, it will be added
doc/design/doi-generation-2.md
Outdated
There was a problem hiding this comment.
In the POC I've added a doi field to the Dandiset model which does add a migration.
There was a problem hiding this comment.
isn't there also a "draft" Version with DOI (and that's where I guess we inject a fake one), i.e. could we avoid changing DB model?
There was a problem hiding this comment.
I have to admit that I "just dont like that" since the Dandiset DOI semantically belongs to the Dandiset. I cant think of a reason this wouldnt work, but just feels messy.
To retrieve the Dandiset DOI via Django, someversion.dandiset.draft_version.doi IMO violates the "principle of least surprise".
Prior to publication the Dandiset DOI will point to the draft version (via the DLP) but after publication the dandiset DOI will point to the latest publication, so that would also be surprising
doc/design/doi-generation-2.md
Outdated
There was a problem hiding this comment.
Do we have any more information about this?
There was a problem hiding this comment.
It might have been a bad memory, @djarecka do you have any information on this or should we just remove this?
| - Test site of datacite had different result of validation that the primary one |
There was a problem hiding this comment.
let's remove it. It was based on my memory of some old issue, but wasn't able to reproduce, or find old records.
|
For dandi-schema, we may also want to pull the validation out of Currently From this design doc only, I gather that we believe Draft DOIs have less stringent validation than Findable, but I have not found any upstream documentation that confirms this. If it is the case, I suggest we pull the validation out of the Either way, we need to consider using some kind of validation. @djarecka @yarikoptic I suggest this as topic for our discussion tomorrow. |
correct!
That's probably not good, if the validation is not used before publishing. Was not aware.
Yes, no documentation, but that's the case... |
doc/design/doi-generation-2.md
Outdated
could not reproduce
Co-authored-by: Yaroslav Halchenko <debian@onerussian.com>
fallback to Dandiset pydantic model would require changes to that model.
|
@yarikoptic I think its good enough to merge. There are remaining "unknowns" relating to how datacite will respond with requests for Findable DOIs that might not have fully valid metadata, which will hopefully be illuminated by incorporating NSKEY so I can create permanent Findable DOIs that will not cause collisions. Whatever comes of that, I think its fine to open a new PR to the design doc if necessary. |
|
@asmacdo then please approve this PR "officially" -- I can't since I am the author. I have enabled auto-merge though ;) |
asmacdo
left a comment
There was a problem hiding this comment.
Oh right, forgot this wasnt mine :)
|
🚀 PR was released in |
- Dandiset DOI will redirect to the DLP - Example: 10.80507/dandi.000004 - Dandiset DOI is stored in the doi field of the draft version - Dandiset DOI metadata (on Datacite) will match the draft version until first publication - Once a Dandiset is published, the Dandiset DOI metadata will match the latest publication See the design document for more details: dandi#2012
- Dandiset DOI will redirect to the DLP - Example: 10.80507/dandi.000004 - Dandiset DOI is stored in the doi field of the draft version - Dandiset DOI metadata (on Datacite) will match the draft version until first publication - Once a Dandiset is published, the Dandiset DOI metadata will match the latest publication See the design document for more details: dandi#2012
- Dandiset DOI will redirect to the DLP - Example: 10.80507/dandi.000004 - Dandiset DOI is stored in the doi field of the draft version - Dandiset DOI metadata (on Datacite) will match the draft version until first publication - Once a Dandiset is published, the Dandiset DOI metadata will match the latest publication See the design document for more details: dandi#2012
- Dandiset DOI will redirect to the DLP - Example: 10.80507/dandi.000004 - Dandiset DOI is stored in the doi field of the draft version - Dandiset DOI metadata (on Datacite) will match the draft version until first publication - Once a Dandiset is published, the Dandiset DOI metadata will match the latest publication See the design document for more details: dandi#2012
- Dandiset DOI will redirect to the DLP - Example: 10.80507/dandi.000004 - Dandiset DOI is stored in the doi field of the draft version - Dandiset DOI metadata (on Datacite) will match the draft version until first publication - Once a Dandiset is published, the Dandiset DOI metadata will match the latest publication See the design document for more details: #2012
A design doc composed with @djarecka to avoid dummy DOIs for dandisets
refs:
Cite As#1932TODOs
but could already be checked out by @dandi/archive-maintainers folks since overall idea is formulated already and some early concerns/questions could already be asked/answered