Skip to content

Add Zenodo references/auto-publish? #47

@fmigneault

Description

@fmigneault

Description

In the context of a scientific paper, I recently produced CRIM Hirondelle: https://zenodo.org/records/18946328
It itself references birdhouse-deploy: https://zenodo.org/records/18856887

Since I can't push our private code, and that Zenodo requires at least one file upload, I used the JSON of the current node-registry filtered to only our instance, and added a $schema reference to the node-registry's schema for increased diffusion of the source.

During that process, I though, why not make all the nodes auto-publish their Zenodo references, just like birdhouse-deploy does on each release? Notably, the node-registry's CI detects when to update the definitions from a version/metadata change from the node's server, so it could publish the Zenodo update at the same time and make sure all links are nicely integrated/cross-referenced between projects.

To support it, we would only need an extra link, which could conveniently be the official IANA Link Relation cite-as. And it would skip if the updated instance does not provide it, so it doesn't force anyone to provide it if they don't want to.

Relevant Files

Since each note would have their own "release", we cannot rely on a global and auto-integrated Zenodo config:

However, we could have the operation within the CI, as such:

And maybe using a matrix job or similar to define the doi parameter (https://github.com/crim-ca/weaver/blob/4b433c1b5ffe1a8aae9673263cf6ce60e1cfe487/.github/workflows/zenodo.yml#L50-L55) on every node's reference with a conditional if when updates apply.


❓ Does your instances already have Zenodo DOIs?
❓ Thoughts about the feature, is it of interest?

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestquestionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions