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

Make a CITATION.cff file for PyGMT #1403

Closed
weiji14 opened this issue Aug 1, 2021 · 9 comments · Fixed by #1592
Closed

Make a CITATION.cff file for PyGMT #1403

weiji14 opened this issue Aug 1, 2021 · 9 comments · Fixed by #1592
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers help wanted Helping hands are appreciated

Comments

@weiji14
Copy link
Member

weiji14 commented Aug 1, 2021

Description of the desired feature

GitHub added a new feature for built-in citation support on 29 Jul 2021 (see https://github.blog/changelog/2021-07-29-enhanced-citation-support/), and we should totally add this! See tweet at https://twitter.com/natfriedman/status/1420122675813441540

GitHub citation Image from https://twitter.com/natfriedman/status/1420122675813441540

For those who aren't familiar, CITATION.cff is a YAML file which is both machine and human readable containing information on how to cite a software repository. I.e. it contains the project title, authors list (with ORCID support!), DOI, version, release date, etc.

Any thoughts on whether we should add this CITATION.cff file? Vote 👍 or 👎, or leave a comment below. If we do decide to add one, probably best to just link to the Zenodo DOI until we have a proper PyGMT paper (#677). We should also decide whether to keep the 'Citing PyGMT' BibTeX at https://github.com/GenericMappingTools/pygmt/tree/v0.4.0#citing-pygmt as it is or remove it (my preference is to keep it so people see it on the PyGMT PyPI page at https://pypi.org/project/pygmt/).

References:

Are you willing to help implement and maintain this feature? Yes, but someone can give this a go too by translating the BibTeX on the main README.md

@weiji14 weiji14 added documentation Improvements or additions to documentation help wanted Helping hands are appreciated labels Aug 1, 2021
@seisman
Copy link
Member

seisman commented Aug 1, 2021

Before translating BibTeX to CFF, see https://twitter.com/arfon/status/1420677272927866882.

image

@seisman
Copy link
Member

seisman commented Aug 20, 2021

It seems GitHub now supports a CITATION.bib file. This is what it looks like in the matplotlib repository:

image

Click the "View Citation File" button will open the CITATION.bib file.

@seisman
Copy link
Member

seisman commented Aug 20, 2021

The GMT repository already has a "CITATION.md" file and it also works well.

@seisman
Copy link
Member

seisman commented Aug 24, 2021

I think we should:

  • Add the BibTeX entry to the "CITATION.bib" file
  • Remove the BibTeX entry in the Citing PyGMT section and add a link to the "CITATION.bib" file.
  • Update the release checklist and maintainers' guide

@weiji14
Copy link
Member Author

weiji14 commented Aug 24, 2021

So we prefer to make a new CITATION.bib file instead of a CITATION.cff file? The .cff file allows people to copy the APA citation directly I think, but the .bib file is shorter to write.

On a semi-related note, do we want to keep the AUTHORS.md and AUTHORSHIP.md files as they are now, or consolidate them all into a CITATION file?

@maxrjones
Copy link
Member

So we prefer to make a new CITATION.bib file instead of a CITATION.cff file? The .cff file allows people to copy the APA citation directly I think, but the .bib file is shorter to write.

I would be glad to support the decision of whoever wants to put in the effort of making the .bib or .cff file, as either would be a nice addition.

On a semi-related note, do we want to keep the AUTHORS.md and AUTHORSHIP.md files as they are now, or consolidate them all into a CITATION file?

The nice part about AUTHORS.md is that it is super easy for new contributors to add themselves and more findable than if it were in CITATION.cff or CITATION.bib. Currently, we also offer the option for people to specify that they would like to be in AUTHORS.md but not in the citation (by saying something like not included in Zenodo).

For the AUTHORSHIP.md, I do not think this needs to be in the base of the repository. We could put it in the developer documentation somewhere (maintaining or contributing or a separate page) and link from the citation and authors documents.

@michaelgrund
Copy link
Member

So we prefer to make a new CITATION.bib file instead of a CITATION.cff file? The .cff file allows people to copy the APA citation directly I think, but the .bib file is shorter to write.

I would be glad to support the decision of whoever wants to put in the effort of making the .bib or .cff file, as either would be a nice addition.

On a semi-related note, do we want to keep the AUTHORS.md and AUTHORSHIP.md files as they are now, or consolidate them all into a CITATION file?

The nice part about AUTHORS.md is that it is super easy for new contributors to add themselves and more findable than if it were in CITATION.cff or CITATION.bib. Currently, we also offer the option for people to specify that they would like to be in AUTHORS.md but not in the citation (by saying something like not included in Zenodo).

For the AUTHORSHIP.md, I do not think this needs to be in the base of the repository. We could put it in the developer documentation somewhere (maintaining or contributing or a separate page) and link from the citation and authors documents.

Agree with @meghanrjones but I'm also fine with the suggestions of @seisman.

@seisman
Copy link
Member

seisman commented Aug 24, 2021

I just changed my mind and agree that the CITATION.cff file is a better option because it's easy to export the citation information in both APA or BibTeX formats.

I also agree with @meghanrjones about the AUTHORS.md and AUTHORSHIP.md.

@weiji14 weiji14 added the good first issue Good for newcomers label Sep 21, 2021
@weiji14
Copy link
Member Author

weiji14 commented Oct 29, 2021

Just found this nice Pangeo Showcase Webinar "Software Citation Guidance for Geoscience Communities" at https://discourse.pangeo.io/t/october-13-2021-software-citation-guidance-for-geoscience-communities/1873. Worth a look if people have time.

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 good first issue Good for newcomers help wanted Helping hands are appreciated
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants