fair-software/howfairis-github-action
GitHub Action to analyze a GitHub repository’s compliance with the fair-software.eu recommendations.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.7%) to scientific vocabulary
Keywords
Repository
GitHub Action to analyze a GitHub repository’s compliance with the fair-software.eu recommendations.
Basic Info
Statistics
- Stars: 20
- Watchers: 5
- Forks: 6
- Open Issues: 8
- Releases: 3
Topics
Metadata Files
README.md
Assess compliance with fair-software.eu
To enable this checker, add the following snippet as .github/workflows/fair-software.yml in your GitHub repository.
```yaml name: fair-software
on: push
jobs: verify: name: "fair-software" runs-on: ubuntu-latest steps: - uses: fair-software/howfairis-github-action@0.2.1 name: Measure compliance with fair-software.eu recommendations env: PYCHARMHOSTED: "Trick colorama into displaying colored output" with: MYREPO_URL: "https://github.com/${{ github.repository }}" ```
FAIR badges explained
This GitHub action will suggest a badge visualizing compliance with the FAIR Software recommendations as described on fair-software.eu.
The Netherlands eScience Center and DANS launched fair-software.eu with five actionable and practical recommendations that help researchers to make their software more FAIR (Findable, Accessible, Interoperable, Reusable).
What do we mean by compliance
The GitHub Action does checks on the repository it runs on, and rates the repository according to these 5 aspects:
repository: Is the software in a publicly accessible repository with version control?license: Is there a license file? The license does not have to be OSI approved license, but it has to be one of the standard licenses.registry: Is the software registered in one or more software registries? You can find an extensive list of registries in the Awesome Research Software Registriescitation: Can the repository be cited easily? For example, this can be done by including aCITATION.cfffile, that uses Citation File Format.checklist: Do the developers of the software use a software quality checklist?
Through this GitHub action and the badges that it generates, we want to incentivize Research Software Engineers and researchers who develop software to implement these Five recommendations for FAIR software, by making their effort and compliance with the fair-software.eu recommendations more visible to the rest of the world. We also want to promote the recommendations to a wider audience.
How to interpret FAIR badges?
The color of the badge depends on the level of compliance; the pattern of filled and empty circles will vary depending what aspects the software complies with.
Each circle represents one of the recommendations, meaning the first symbol represents the first recommendation, Use a publicly accessible repository with version control, the second symbol represents the second recommendations, and so on. You can find more information about the recommendations on fair-software.eu.
Here are some examples:
This badge's red color means that the repository complies with 0 or 1 recommendations. The state of the third circle indicates the software has been registered in a community registry.
The repository with this badge complies with 3 out of 5 recommendations, hence its color is orange. It is a publicly accessible repository with version control. It has been registered in a community registry, and it contains citation information. There is no license in this repository, and the project does not use a checklist.
A yellow badge means the repository complies with 4 recommendations.
A green badge means the repository complies with all 5 recommendations.
For developers
Building the docker image:
```shell
(from project root directory)
docker build -t howfairis . ```
Running the dockerized howfairis locally:
```shell
show howfairis'es help
docker run -ti howfairis --help ```
```shell
start the analysis for a github repo
docker run -ti howfairis https://github.com/owner/repo
start the analysis for a gitlab repo
docker run -ti howfairis https://gitlab.com/owner/repo ```
```shell
show howfairis'es version
docker run -ti howfairis --version ```
Owner
- Name: fair-software
- Login: fair-software
- Kind: organization
- Repositories: 9
- Profile: https://github.com/fair-software
Citation (CITATION.cff)
# YAML 1.2
---
abstract: "GitHub Action to analyze compliance with fair-software.eu recommendations."
authors:
-
affiliation: "Netherlands eScience Center"
family-names: Spaaks
given-names: "Jurriaan H."
orcid: "https://orcid.org/0000-0002-7064-4069"
-
affiliation: "Netherlands eScience Center"
family-names: Kuzak
given-names: Mateusz
orcid: "https://orcid.org/0000-0003-0087-6021"
-
affiliation: "Netherlands eScience Center"
family-names: "Martinez-Ortiz"
given-names: Carlos
orcid: "https://orcid.org/0000-0001-5565-7577"
-
family-names: Etuk
given-names: Edidiong
orcid: "https://orcid.org/0000-0002-1511-0523"
-
affiliation: "California Institute of Technology"
family-names: Saladi
given-names: Shyam
orcid: "https://orcid.org/0000-0001-9701-3059"
-
affiliation: "University of Cambridge"
family-names: Holding
given-names: Andrew
orcid: "https://orcid.org/0000-0002-8459-7048"
cff-version: "1.2.0"
keywords:
- "GitHub Actions"
- "FAIR software"
license: "Apache-2.0"
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/fair-software/howfairis-github-action"
title: howfairis-github-action
version: "0.2.1"
...
GitHub Events
Total
- Issues event: 1
- Watch event: 1
- Push event: 1
- Fork event: 1
- Create event: 1
Last Year
- Issues event: 1
- Watch event: 1
- Push event: 1
- Fork event: 1
- Create event: 1
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 16
- Total versions: 3
github actions: fair-software/howfairis-github-action
Analyze compliance with fair-software.eu recommendations
- License: apache-2.0
-
Latest release: 0.2.1
published almost 4 years ago