zenodo-rdm
zenodo-rdm copied to clipboard
Zenodo looks for `CITATION.cff` but not `citation.cff`
Browser & OS: Chrome 119: Windows 10
Describe the bug
Zenodo looks for CITATION.cff
but not citation.cff
.
Steps to Reproduce
Cut a release of a repository with a file named citation.cff
. Zenodo will not use it to populate metadata for that release. Rename the file to citation2.cff
, commit it, rename it again to CITATION.cff
, commit it (git is case-insensitive so two commits are needed, or some other git-fu I'm not aware of), then cut another release, and with CITATION.cff
now Zenodo populates metadata as expected.
I'm reporting this as a bug, but it could just as well be a feature request, I guess? Either way, I think it's unexpected/surprising behavior to have Zenodo checking for CITATION.cff
in a case-sensitive manner, even if the user really should name it all-caps anyways.
Expected behavior
Zenodo should look for CITATION.cff
in a case-insensitive way.
Additional context
Thank you for your consideration! If it is decided not to change this behavior, then the documentation may need a tweak to alert users to this (probably common) pitfall.
I can confirm the bug reported by @blakeNaccarato. It was successfully resolved by renaming the file to uppercase (using an intermediate git commit)