Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix all Nextflow dependencies in a pipeline to specific versions #18

Open
apetkau opened this issue Feb 20, 2024 · 0 comments
Open

Fix all Nextflow dependencies in a pipeline to specific versions #18

apetkau opened this issue Feb 20, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@apetkau
Copy link
Member

apetkau commented Feb 20, 2024

Problem

If plugins in Nextflow are defined without a version number (like below), then the latest version will be downloaded and used on each pipeline run. These are loaded from a JSON file maintained on https://github.com/nextflow-io/plugins/

plugins {
  id 'nf-validation'
}

This may lead to issues if there are breaking changes to new versions of a plugin.

Recommendation

On release of pipelines, all plugins should be fixed to specific versions:

plugins {
  id '[email protected]'
}

That way, fixed versions of plugins will always be used.

@apetkau apetkau added the documentation Improvements or additions to documentation label Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant