nsidc / qgreenland

Source code for generating the QGreenland package hosted at https://qgreenland.org/
https://qgreenland.readthedocs.io
Other
36 stars 9 forks source link

[Bug]: Zenodo CITATION.cff breaking changes #806

Open MattF-NSIDC opened 7 months ago

MattF-NSIDC commented 7 months ago

Issue description

I don't know where to find any documentation about what change caused this, but I'm now getting

{
    "error_id": "23b7322957d74a02836a8b49c6de9523",
    "errors": "Citation metadata load failed"
}

from Zenodo on multiple projects.

The issue was the references key, which seems to not really be intended for specifying funding sources? It required new properties title and authors before it would be happy.

I recommend adopting a pre-commit hook for https://github.com/citation-file-format/cffconvert to validate our CFF file so we don't end up in a situation where we find out months post-release that no DOI was generated (this is what happened on earthaccess :frowning:)

I also recommend that we generate CFF from CodeMeta, since CodeMeta is a much richer and more standardized schema for code metadata. What CFF represents is a subset of what CodeMeta represents. (also, Matt Jones is a leader on CodeMeta ;) )

System information

N/A

MattF-NSIDC commented 7 months ago

I figured out the issue through trial and error. Ooooooof!

https://github.com/zenodo/zenodo/issues/2515