snakemake / snakedeploy

deploy a snakemake pipeline directly from version control (under development)
Mozilla Public License 2.0
19 stars 8 forks source link

Add subcommand for conda env version and wrapper bumping #17

Open johanneskoester opened 3 years ago

johanneskoester commented 3 years ago

We should add a subcommand

snakedeploy bump-conda-versions [ENVYAML, [ENVYAML, ...]]

which does the following. Given paths to environment YAML files, it would

This can (a) be used to update all environments (except wrappers) in a workflow to the latest minor release, and (b) be used to update all wrapper envs in snakemake/snakemake-wrappers. The latter can be used in a weekly CI job which would automatically create a PR in case of new changes. The same github action can also be offered for workflows actually.

In addition, we should have another subcommand

snakedeploy bump-wrappers [SNAKEFILE, [SNAKEFILE, ...]]

which would bump all wrapper directives in a given Snakefile to the latest stable wrapper release. Again, this can come in combination with a github action that automatically creates a PR.