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 3 commits into
base: main
Choose a base branch
from

Conversation

ns-rse
Copy link

@ns-rse ns-rse commented Oct 9, 2024

Adds details on using Citation File Format as this is a human and machine readable format that integrates with GitHub, Zenodo and Zotero making it easier to share citation information and cite software.

Also includes a CITATION.cff file for the repository itself based on the existing CITATION information.

There appears to have been some discussion of this in the follow up comments of #712 but the issue was closed without adding details of CITATION.cff or such a file as this Pull Request does.

I didn't want to remove any content that is there although perhaps it might be worth considering replacing the plain CITATION example with CITATION.cff.

Check

Please do check that the information in CITATION.cff is correct, I think I've cited the correct license but wasn't sure.

Improvements

I had a cursory attempt to look up the ORCID of each of the listed authors but couldn't work it out so have left these out. They can be added under each author in the following manner...

authors:
  - given-names: Ivan
    family-names: Gonzalez
    orcid: 'https://orcid.org/0000-0000-0000-0000'

Hope this is useful, and please let me know if there is anything I can do to improve the content.

@ns-rse

Adds details on using [Citation File Format](https://citation-file-format.github.io) in a repository and includes such a
file for the repository itself.
Copy link

github-actions bot commented Oct 9, 2024

Thank you!

Thank you for your pull request 😃

🤖 This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

🔍 Inspect the changes: https://github.com/swcarpentry/git-novice/compare/md-outputs..md-outputs-PR-1021

The following changes were observed in the rendered markdown documents:

 12-citation.md | 13 +++++++++++--
 md5sum.txt     |  2 +-
 2 files changed, 12 insertions(+), 3 deletions(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

⏱️ Updated at 2024-10-28 19:01:21 +0000

Copy link
Member

@tobyhodges tobyhodges left a comment

Choose a reason for hiding this comment

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

Thanks @ns-rse. We also had some discussion of this in #1006, where @malvikasharan suggested that we link to the relevant section of The Turing Way. I have suggested an additional sentence that would link out to that resource.

I request that the Maintainers do not include the CFF for the lesson repository for now. I will be working on rolling out CFFs consistently across all DC, LC and SWC lessons next year (part of a larger effort to integrate them further into the lesson infrastructure) and would prefer not to confuse things by adding one here in the meantime. One reason is that I would like the author list to mention everyone who has made a conrtibution to the lesson.

@ns-rse if you are happy to do so, please remove the CFF from this PR.

episodes/12-citation.md Show resolved Hide resolved
@ns-rse
Copy link
Author

ns-rse commented Oct 27, 2024

Sure, not a problem @tobyhodges CITATION.cff removed and added the Turing Way suggestion.

Copy link
Member

@tobyhodges tobyhodges left a comment

Choose a reason for hiding this comment

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

Thanks @ns-rse 🙌

github-actions bot pushed a commit that referenced this pull request Oct 28, 2024
@@ -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?

Comment on lines +55 to +59
Finally you may wish to include citation information in a [Citation File Format
(`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.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Finally you may wish to include citation information in a [Citation File Format
(`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.
Finally, you may wish to include citation information in a [Citation File Format
(`CITATION.cff`)](https://citation-file-format.github.io/). CFF files are standardized human and machine readable citation
information files 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, integration with both Zenodo and Zotero is supported.

I added a few commas and tried to improve the flow.


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?

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

Successfully merging this pull request may close these issues.

3 participants