Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CITATION.CFF file #787

Closed
meliache opened this issue Aug 25, 2022 · 8 comments
Closed

Add a CITATION.CFF file #787

meliache opened this issue Aug 25, 2022 · 8 comments

Comments

@meliache
Copy link
Contributor

That's a machine-readable format for citations which is supported by github and would add a Cite this repository button to the github interface. For why else it's useful see https://citation-file-format.github.io.

There's already a CITATION.rst file and I wouldn't remove that because I assume that for many iminuit users the sphinx/readthedocs page is their starting page, as it's the top result in google. Not sure if there's a way to integrate both without duplicating the information.

I found that scikit-hep projects the CITATION.cff doesn't seem widely adopted yet, so far I only found such a file for the hist package (but I didn't check all repositories). But I think it's a good idea and would propose to push its usage.

@HDembinski
Copy link
Member

Thank you, this is a very good suggestion. I will propose this to the other maintainers, too.

@henryiii
Copy link
Member

@matthewfeickert's been working on this:

Ideally we need a nice guide on scikit-hep.org/developer on adding these (including using the tool @matthewfeickert's been using to check them). It's not something I think we can add to cookie (though scientific-python/cookie#93 was an attempt) because you need to fill it out with ORCID's and such, and that would make the cookie either ask an unreasonable number of questions, or have half filled out files you have to know about. However, it likely could be added to repo-review, and I've even marked an issue scientific-python/repo-review#13 about it for the PyHEP Hackashop, that would be a good thing for someone to add.

@henryiii
Copy link
Member

henryiii commented Aug 26, 2022

Is there a way to include a CITATION.cff into RST docs? That would be very interesting. This sounds relevant: https://bytemeta.vip/repo/citation-file-format/citation-file-format/issues/356 - seems to have been attempted then abandoned / delayed, perhaps: https://gitlab.hzdr.de/hcdc/hereon-netcdf/sphinxext

@matthewfeickert
Copy link
Member

Also

:)

Is there a way to include a CITATION.cff into RST docs?

Not sure off the top of my head, but given that he invited pings in scikit-hep/vector#238 (comment) we could ask @sdruskat (:wave:).

@HDembinski
Copy link
Member

I think we need a script that generates the file to automatically on each release to update the version number and the author list.

@HDembinski
Copy link
Member

HDembinski commented Mar 19, 2023

Closing this after adding CITATION.CFF. I wrote a CITATION.CFF by hand after all. Adding CITATION.CFF has some drawbacks for me. If CITATION.CFF is present, Zenodo uses it instead of generating metadata from the repository. I liked that Zenodo automatically added new contributors to the author list. Now I have to take care of that myself and need to automate this.

@sdruskat
Copy link

Not sure off the top of my head, but given that he invited pings in scikit-hep/vector#238 (comment) we could ask @sdruskat (👋).
@matthewfeickert Sorry I didn't pick this up earlier. I can't say what happened to the CFF-embedding for RST, but perhaps @Chilipp can say more?

I liked that Zenodo automatically added new contributors to the author list. Now I have to take care of that myself and need to automate this.

Yes, that's true, although the automated metadata from the GitHub API that Zenodo pulls without a CFF file has some drawbacks itself, such as the potential discrepancy between contributors and authors.

Perhaps of interest: I'm part of a project (HERMES) that aims to automate the publication process and adding metadata from different sources, including git metadata (e.g., contributors).

@eduardo-rodrigues
Copy link
Member

Good morning. Yes indeed there are pros and cons. In the end I still went for a CITATION.CFF file because it provides quite some nice metadata and ensures you can match precisely the list of authors/maintainers between what gets displayed on Zenodo and what the repository copyright shows. In a way it is the opposite view - I use as authors the same list of people as in the copyright. The list of contributors I would hope will tend to be (much) larger - always a great thing! - and we are acknowledging contributors via https://allcontributors.org/ (there's the caveat that the README has to be md and not rst, though). This separation between maintainers and contributors seems fair (as long as all are acknowledged appropriately).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants