Thanks to visit codestin.com
Credit goes to github.com

Skip to content

codecheckers/register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • Certificate: the certificate number or certificate identifier in the form YYYY-NNN (e.g., 2020-001), which must match the ; if we ever need to write down a range, we seperate the first and last complete ID by a "/", e.g., 2025-111/2025-222
  • Repository: qualified reference to the repository where the codecheck.yml file can be retrieved; the file must be in the project "root"; supported types and examples:
    • github:: for referencing a GitHub repository using org/name, e.g., github::codecheckers/Piccolo-2020 from codecheckers organisation; you may also append a path seperated by a pipe character | within a GitHub repository if the codecheck.yml file is not in the root, e.g., github::reproducible-agile/reviews-2025|reports/08
    • osf:: for referencing an OSF project using the project identifier, e.g., osf::ZTC7M
    • zenodo:: for referencing a Zenodo record using the record identifier, e.g., zenodo::1234567
    • gitlab:: for referencing a GitLab repository using org/name, e.g., gitlab::codecheckers/Piccolo-2020
  • Type: type of the check, e.g., solicited as part of peer review in a journal or conference, or initiated from the community; possible values:
    • community = check initiated independently by community members and following the CODECHECK community workflow guide; may be qualified further with a venue
    • journal = check conducted as part of a peer review process with a scientific journal, including a reference to the check in the published article
    • conference = check conducted as part of a peer review process at a scientific conference
    • institution = check conducted as part of a peer review process at an institution
  • Venue: name of the journal, conference, or institution where the check was conducted, including specifications such as preprint or in press
    • the journal abbreviation uses the ISO 4 standard name for the journal, using common capitalization and omitting full stops, for example J Geogr Syst or GigaScience (find the correct name via Wikipedia or the journal website)
  • Issue: number of the issue in the register project where the CODECHECK is managed (informative mostly, not for metadata retrieval)

To update the register, edit the register.csv file and submit the change. You can add preliminary information by starting the line with the comment character #, this row will be ignored.

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 requieres a PAT token to be added, because the default per-action-run token is not used by the R code that renders the package. See the docs about manual rendering below for details.

Deposit/archive

This repository is archived manually, in irregular 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:

  • add the record to the CODECHECK community (if not already included)
  • change the record type to "Dataset"
  • update the ORCIDs and affiliations of authors
  • set the license to "Open Data Commons Attribution License"
  • update the Desription text (see previous records)
  • add https://codecheck.org.uk/register/ as a related identifier with "is new version of this upload"

In the future, these steps may be automated, see issue #34.

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.

Important: 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. Alternatively, you may log into your GitHub account locally using the GitHub CLI (gh).

Local preview with nginx

After rendering the register, you can preview the generated website locally using an nginx Docker container:

make serve

This will start an nginx server on port 80 serving the contents of the docs/ directory. You can then view the register at http://localhost.

To stop the server:

make serve-stop

Note: The nginx container runs in detached mode (background). If port 80 is already in use on your system, you'll need to either stop the service using that port or modify the port mapping in the Makefile.

To render the register manually in a local Docker container, you must mount a local .Renviron file with the GITHUB_PAT variable to not hit the GitHub API rate limit. Example (see also Makefile):

docker run --rm -it --user rstudio -v $PWD:/register:rw -v $HOME/.Renviron:/home/rstudio/.Renviron:ro codecheckers/register:latest

Editing of codecheck.yml files

Copilot promts:

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

About

Register of CODECHECK certificates

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5