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

feature: Adds details on using CITATION.cff #1021

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions episodes/12-citation.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,19 @@ There is also an [`@software{...`](https://www.google.com/search?q=git+citation+
no "umbrella" citation like a paper or book exists for the project you want to
make citable.

Finally you may wish to include citation information in a [Citation File Format
Copy link
Contributor

Choose a reason for hiding this comment

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

I find this a little vague. "you may wish" why exactly? What is the difference compared to CITATION.txt?

Copy link
Author

Choose a reason for hiding this comment

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

Sorry for not getting back sooner.

CFF is a YAML format with defined fields which makes them machine readable. Whilst possible to stick CITATION in to any repository it doesn't conform to this standard and makes it harder to then parse and collate such information across published software.

GitHub has CFF integration and it makes links available to export the citation in different formats.

Copy link
Contributor

Choose a reason for hiding this comment

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

I like how you explained it to me in this comment, it's more explicit and pedagogical than the description in the lesson. However, I think this whole episode should be reorganized a bit, so it's ok for now.

(`CITATION.cff`)](https://citation-file-format.github.io/) which are standardized human and machine readable citation
information for software and datasets. If you host your repository on GitHub this information is automatically linked
and rendered on the repository page and a BibTeX snippet is provided which users can copy and paste making it easy for
your project to be cited. Further there is integration with both Zenodo and Zotero.
ns-rse marked this conversation as resolved.
Show resolved Hide resolved

ns-rse marked this conversation as resolved.
Show resolved Hide resolved
A [chapter of The Turing Way](https://the-turing-way.netlify.app/communication/citable/citable-cite#citing-software) provides more detail on how you can use CFF files to make your software citable.

You can use the [cff-init](https://citation-file-format.github.io/cff-initializer-javascript/#/) website to easily
create and update a `CITATION.cff` file.

Copy link
Contributor

Choose a reason for hiding this comment

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

If the format is very different, should we provide an example of a cff file as well?

Copy link
Author

Choose a reason for hiding this comment

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

Could perhaps update this repositories CITATION to the CFF format to serve as an example and link to it. Perhaps address as a separate issue?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, if you could make a cff for this lesson it would be great please.

:::::::::::::::::::::::::::::::::::::::: keypoints

- Add a CITATION file to a repository to explain how you want your work cited.

::::::::::::::::::::::::::::::::::::::::::::::::::


Loading