zenodo-rdm icon indicating copy to clipboard operation
zenodo-rdm copied to clipboard

Zenodo looks for `CITATION.cff` but not `citation.cff`

Open blakeNaccarato opened this issue 1 year ago • 1 comments

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.

blakeNaccarato avatar Dec 01 '23 20:12 blakeNaccarato

I can confirm the bug reported by @blakeNaccarato. It was successfully resolved by renaming the file to uppercase (using an intermediate git commit)

pranavmishra90 avatar Aug 05 '24 18:08 pranavmishra90