codecheckers / register

Register of CODECHECK certificates
https://codecheck.org.uk/register/
Other
6 stars 2 forks source link

Register of CODECHECK certificates

See the register online at https://codecheck.org.uk/register/.

DOI

Editing the register

The main register file is a simple CSV file, register.csv which connects the pieces published elsewhere to create a complete metadata set for each CODECHECK. The CSV file should not unneedingly replicate information from elsewhere, especially from the CODECHECK configuration files (i.e., codecheck.yml). Here are some possible values or rules for the specific columns in the file:

To update the register, simply edit the register.csv file and submit the change. A GitHub Action will apply the process outlined below for manual rendering to update the different representations of the register, including the website, in case the main register file changes.

Note: The GitHub action requiest a PAT token to be added, because the default per-action-run token is not used by the R code that renders the package.

Deposit/archive

This repository is archived manually, in regular intervals, on Zenodo using the GitHub-Zenodo-Integration. To deposit a new version on Zenodo, create a new release following the naming scheme of previous releases. Then, go to the new record and manually make the following changes:

Files in this repository

The above files are human-readable and machine-readable representations based on the register and metadata from the codecheck.yml files.

Do not edit any file in the docs directory by hand! Edit only register.csv.

Manual register rendering and checking

The representations above can also be generated manually using the following command from the codecheck R package:

# R -q -e "remotes::install_github('codecheckers/codecheck')"

R -q -e "codecheck::register_render(); warnings()"

You can also check the configuration files with

R -q -e "codecheck::register_check(); warnings()"

and clear the cache (in case you made a recent change to an online repo) with R -q -e "codecheck::register_clear_cache()".

To fix problems with hitting the GitHub API rate limit on local register management, go to your PAT page and save a PAT in the environment variable GITHUB_PAT to the file .Renviron next to this README file.

License

The data in this repository is published under a Open Data Commons Attribution License (ODC-BY).

The code and documentation in this repository is published under the MIT License.

See file LICENSE for details.


About CODECHECK