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

add citation file and validating GHA #5483

Merged
merged 9 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
30 changes: 30 additions & 0 deletions .github/workflows/ci-citation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: ci-citation

on:
pull_request:
paths:
- "CITATION.cff"

push:
paths:
- "CITATION.cff"

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
validate:
name: "validate"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "check CITATION.cff"
uses: citation-file-format/cffconvert-github-action@4cf11baa70a673bfdf9dad0acc7ee33b3f4b6084
with:
args: "--validate"
23 changes: 23 additions & 0 deletions CITATION.cff
trexfeathers marked this conversation as resolved.
Show resolved Hide resolved
trexfeathers marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
cff-version: 1.2.0
message: "If Iris played an important part in your research then please add us to your reference list by using the references below."
title: "Iris"
keywords:
- "cf-metadata"
- "data-analysis"
- "earth-science"
- "grib"
- "netcdf"
- "meteorology"
- "oceanography"
- "space-weather"
- "ugrid"
- "visualisation"
authors:
- name: "Iris contributors"
trexfeathers marked this conversation as resolved.
Show resolved Hide resolved
abstract: "A powerful, format-agnostic, and community-driven Python package for analysing and visualising Earth science data"
license: "BSD-3-Clause"
license-url: "https://spdx.org/licenses/BSD-3-Clause.html"
doi: "10.5281/zenodo.595182"
trexfeathers marked this conversation as resolved.
Show resolved Hide resolved
url: "http://scitools.org.uk/"
repository-code: "https://github.com/SciTools/iris"
type: "software"
trexfeathers marked this conversation as resolved.
Show resolved Hide resolved
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ exclude .ruff.toml
exclude CHANGES
exclude CODE_OF_CONDUCT.md
exclude codecov.yml
include COPYING
include COPYING.LESSER
include CITATION.cff
include LICENSE
exclude Makefile
exclude noxfile.py
Expand Down
57 changes: 10 additions & 47 deletions docs/src/userguide/citation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,53 +5,16 @@ Citing Iris
===========

If Iris played an important part in your research then please add us to your
reference list by using one of the recommendations below.
reference list by using the recommendations below.

************
BibTeX Entry
************
Iris can be cited directly from the `GitHub repository <https://github.com/SciTools/iris>`_
, for more information including where to find the citation on the repo please
see the `GitHub documentation`_.

For example::
The Iris citation does not contain the version of the software used. We
recommend that you use the version number of the release you used, and the
commit hash if you checked out a unreleased version of Iris. This will allow
others to reproduce the environment that you worked in. You can see what a
citation should look like for a particular version of Iris, on the `GitHub documentation`_.

@manual{Iris,
author = {{Met Office}},
title = {Iris: A powerful, format-agnostic, and community-driven Python package for analysing and visualising Earth science data},
edition = {v3.7},
year = {2010 - 2023},
address = {Exeter, Devon},
url = {https://github.com/SciTools/iris},
doi = {10.5281/zenodo.8305232}
}


*******************
Downloaded Software
*******************

Suggested format::

ProductName. Version. ReleaseDate. Publisher. Location. DOIorURL. DownloadDate.

For example::

Iris. v3.7. 31-Aug-2023. Met Office. UK. https://doi.org/10.5281/zenodo.8305232 22-12-2022


********************
Checked Out Software
********************

Suggested format::

ProductName. Publisher. URL. CheckoutDate. RepositorySpecificCheckoutInformation.

For example::

Iris. Met Office. https://github.com/SciTools/iris.git 31-08-2023

.. _How to cite and describe software: https://software.ac.uk/how-cite-software


Reference: [Jackson]_.

.. [Jackson] Jackson, M. 2012. `How to cite and describe software`_. Accessed 06-03-2013.
.. _GitHub documentation: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files/
4 changes: 4 additions & 0 deletions docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ This document explains the changes made to Iris for this release

#. `@lbdreyer`_ relicensed Iris from LGPL-3 to BSD-3. (:pull: `5577`)

#. `@HGWright`_, `@bjlittle`_ and `@trexfeathers`_ (reviewers) added a
CITATION.cff file to Iris and updated the :ref:`citation documentation <Citing_Iris>`
, to help users cite Iris in their work. (:pull:`5483`)


✨ Features
===========
Expand Down