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

URGENT: pin nf-validation version #342

Closed
nvnieuwk opened this issue Feb 22, 2024 · 2 comments
Closed

URGENT: pin nf-validation version #342

nvnieuwk opened this issue Feb 22, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nvnieuwk
Copy link

Description of the bug

To prevent breaking this pipeline in the near future, the nf-validation version should be pinned to version 1.1.3 like:

plugins {
    id 'nf-validation@1.1.3'
}

Command used and terminal output

No response

Relevant files

No response

System information

No response

@nvnieuwk nvnieuwk added the bug Something isn't working label Feb 22, 2024
@mirpedrol
Copy link
Member

Hello!

⚠️ The nf-validation plugin will have soon a new release (v2.0) which has breaking changes.
This will break the usage of all pipelines that don't pin the version of this plugin, as Nextflow tries to pull the latest version.

  • ❓ How to pin the version:
    Add this to your nextflow.config file (notice the @1.1.3):
plugins {
    nf-validation@1.1.3
}
  • 🚨 Release a patch release as soon as possible!
    Either if you already pinned the version on your dev branch or if you are going to add it now, please release this changes ASAP, to avoid breaking the usage of the latest version of your pipeline when the new version of nf-validation comes out.

  • 🤓 How to use the new version of nf-validation?
    If you want to be prepared for the new version of nf-validation, this will use the latest version of a JSON Schema draft. You will have to update the nextflow_schema.json and input_schema.json files (and any other JSON schemas that you use!).
    You can find a migration guide here.

@jasmezz
Copy link
Collaborator

jasmezz commented Apr 4, 2024

Done in #346.

@jasmezz jasmezz closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants