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

Automate production of CITATION.cff file #846

Open
sbliven opened this issue Aug 20, 2019 · 5 comments
Open

Automate production of CITATION.cff file #846

sbliven opened this issue Aug 20, 2019 · 5 comments
Labels

Comments

@sbliven
Copy link
Member

sbliven commented Aug 20, 2019

The Citation File Format is a standard for improving citations of open source software. It got some prominent mentions at BOSC this year and seems to be building community support.

Basically, you add a CITATION.cff file to your repository, which is a YAML file with some metadata about how to cite the software. Citations typically use the Zenodo DOI so they are linked to a particular software version (e.g. BioJava 5.2.1).

The benefits of citing software seem pretty obvious to me (reproducability, attribution, etc) and the case for documenting this and making it machine readable is made here. I also see two arguments for not doing this (at least in CFF form):

  1. It needs to be updated after each release. This could potentially be addressed as part of our release tools (e.g. using the zenodo API to generate a DOI before releasing).
  2. It duplicates metadata currently stored in pom.xml. This could also be mitigated by fancy release scripts with enough effort.

Thoughts?

@josemduarte
Copy link
Contributor

Thanks @sbliven . That's indeed a nice feature to have. However I have concerns about having a manually generated file that needs to be manually updated for every release.

One thing I don't understand is how is the Zenodo DOI generated? Did you create one yourself? Does it get created automatically with BioJava releases?

@sbliven
Copy link
Member Author

sbliven commented Sep 6, 2019

@josemduarte There are actually two DOIs here: the version-independent DOI (10.5281/zenodo.2557852) and DOIs for each version (e.g. 10.5281/zenodo.2557853 for biojava-5.2.1). By default, the versioned DOIs get created automatically for github releases. However, there is also an API that allows them to be pre-reserved. I've been discussing this on gitter:OBF/BOSC_community and hoping that a tool would come out of last week's eLife Sprint, but I haven't heard any news yet. I'd say there's a good chance that generating the CFF can be automated as part of the release process, but it won't be ready for 5.3.0 (#848).

@sbliven
Copy link
Member Author

sbliven commented Sep 6, 2019

In summary, we can choose to either add the manual CFF now and automate for the next release, or else delay merging #847 until the full procedure is in place.

@josemduarte
Copy link
Contributor

josemduarte commented Sep 6, 2019

Thanks @sbliven . The cff file in #847 only contains the version DOI and not the version-independent one. That's intended I guess?

@josemduarte
Copy link
Contributor

In any case, let's merge for now and worry about automation later. I'll change the name of this issue to reflect that.

@josemduarte josemduarte changed the title Add CITATION.cff file Automate production of CITATION.cff file Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants