Skip to content

docs: Add CITATION.cff Citation File Format file#416

Merged
henryiii merged 3 commits intomainfrom
docs/add-citation-cff
Jun 26, 2022
Merged

docs: Add CITATION.cff Citation File Format file#416
henryiii merged 3 commits intomainfrom
docs/add-citation-cff

Conversation

@matthewfeickert
Copy link
Copy Markdown
Member

Resolves #413

For additional context and examples c.f. scikit-hep/pyhf#1551

The schema used is validated by cffconvert

$ pipx install cffconvert
$ cffconvert --validate --infile CITATION.cff 
Citation metadata are valid according to schema version 1.2.0.

@matthewfeickert matthewfeickert added the documentation Improvements or additions to documentation label Jun 21, 2022
@matthewfeickert matthewfeickert self-assigned this Jun 21, 2022
Comment on lines +10 to +13
affiliation: "Princeton University"
- family-names: "Liu"
given-names: "Shuo"
affiliation: "Columbia University in the City of New York"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LovelyBuggies can you please confirm that this information is correct? Also, do you have an ORCID?

given-names: "Aman"
affiliation: "University of Delhi"
version: 2.6.1
doi: 10.5281/zenodo.4057112
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the version agnostic Zenodo DOI https://doi.org/10.5281/zenodo.4057112

@matthewfeickert matthewfeickert force-pushed the docs/add-citation-cff branch from 2173dc2 to 703d3d5 Compare June 21, 2022 04:46
@matthewfeickert
Copy link
Copy Markdown
Member Author

Preview of what this looks like on the repo page:

preview

CITATION.cff Outdated
cff-version: 1.2.0
message: "Please cite the following works when using this software."
type: software
title: "hist: v2.6.1"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm of the opinion that including the version number in software citation is highly important, but this does mean that someone then needs to start keeping this synced or use a bump tool like pyhf does. I can understand that might not be desirable.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was pointed out by @jpivarski, @alexander-held, and @cranmer today in the IRIS-HEP Analysis Systems meeting that adding detailed version information like this is probably more of a harm than a benefit.

  • Adding the detailed version information but then linking to the general DOI is perhaps inconsistent behavior.
  • Having the version information to help out the people getting the citation is also assuming that people are going to be updating the version of the citation file (e.g. BibTeX file) every time they use it in a paper, which in reality is probably naive on my part given how many people have BibTeX files that they just copy from project to project.

Given this I'm going to remove the v2.6.1 information and make the CITATION.cff file more similar to Awkward's.

@henryiii
Copy link
Copy Markdown
Member

IMO a guide should be added to scikit-hep.org, probably under developer. Maybe could be combined in an "extras" page that covers license, badges, etc?

@matthewfeickert matthewfeickert force-pushed the docs/add-citation-cff branch from 84c2347 to 5b7a60e Compare June 25, 2022 20:37
@henryiii henryiii merged commit 72210aa into main Jun 26, 2022
@henryiii henryiii deleted the docs/add-citation-cff branch June 26, 2022 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Add citation metadata wtih CITATION.cff

3 participants