-
Notifications
You must be signed in to change notification settings - Fork 1
Description
(discussed with @mboudet today)
There are a few flaws that need to be adressed in the CI process (as implemented in https://github.com/BioContainers/ci/blob/master/github-ci/src/biocontainersci/biotools.py
) that updates the metadata in the RSEc each time a new pull request is merged on the biocontainers containers repository:
Unique biocontainers filenames
We need to generate unique filenames for the biocontainers metadata files generated, e.g. instead of data/fastqc/biocontainers.yaml
, https://github.com/research-software-ecosystem/content/blob/master/data/fastqc/fastqc.biocontainers.yaml
. Here, the new filename pattern is data/[bio.tools ID]/[biocontainers ID].biocontainers.yaml
. This will avoid collisions in case multiple containers refer to the same software in bio.tools, in which case any new container wrapping a bio.tools already packaged in another container would end replacing the contents of the previous file.
Generate files locally
biocontainers metadata files should be generated, at least as an option, in a local copy of the git repository, instead of creating a pull request, for easier testing.
Batch files generation
It would be practical to enable generating/updating metadata files for all the containers available in the repository, instead of only one, crawling all Dockerfile
files in a local checkout of BioContainers/containers, and generating/updating the *.biocontainers.yaml
files of a local checkout of research-software-ecosystem/content.
review metadata mapping
Have a exhaustive metadata review, to check that all metadata (at least LABEL, FROM, MAINTAINER) are mapped to the yaml file.