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

nf-quilt support for NextFlow 23.04 #8

Merged
merged 15 commits into from
Apr 6, 2023
Merged

Conversation

drernie
Copy link
Contributor

@drernie drernie commented Apr 5, 2023

Turns out I did not properly update my manifest.
This also adds support for customizing the Quilt Package
and preliminary Benchling integration

@pditommaso
Copy link
Member

Hi, to simplify the testing of plugins in the latest nextflow release (23.04.1), the ability to specify the plugin manifest metadata has been added using the env variable. For example

export NXF_PLUGINS_TEST_REPOSITORY=https://github.com/quiltdata/nf-quilt/releases/download/0.3.5/nf-quilt-0.3.5-meta.json

nextflow run <your script> -plugins [email protected]

@drernie
Copy link
Contributor Author

drernie commented Apr 5, 2023

Sweet! Confirmed it works:

$ nextflow run ../nf-quilt/main.nf 
N E X T F L O W  ~  version 23.04.0
Launching `../nf-quilt/main.nf` [irreverent_lichterman] DSL2 - revision: 08f61c1c67
Downloading plugin [email protected]
Failed requirement - Plugin [email protected] requires Nextflow version <22.11.0-edge (current 23.04.0)

$ export NXF_PLUGINS_TEST_REPOSITORY=https://github.com/quiltdata/nf-quilt/releases/download/0.3.5/nf-quilt-0.3.5-meta.json

$ nextflow run ../nf-quilt/main.nf -plugins [email protected]                                                                 
N E X T F L O W  ~  version 23.04.0
WARN: =======================================================================
=                                WARNING                                    =
= You are running this script using a un-official plugin repository.        =
=                                                                           =
= https://github.com/quiltdata/nf-quilt/releases/download/0.3.5/nf-quilt-0.3.5-meta.json
=                                                                           =
= This is only meant to be used for plugin repos purposes.                  =
=============================================================================

Launching `../nf-quilt/main.nf` [intergalactic_coulomb] DSL2 - revision: 08f61c1c67
Downloading plugin [email protected]
...

@drernie
Copy link
Contributor Author

drernie commented Apr 5, 2023

Is there someplace I can set NXF_PLUGINS_TEST_REPOSITORY inside of Tower, so I can test pre-release plugins there?

@pditommaso
Copy link
Member

Sweet! Confirmed it works

Excellent

Is there someplace I can set

You can add in the pre-run script

export NXF_VER=23.04.0
export NXF_PLUGINS_TEST_REPOSITORY=http://your URI 

@pditommaso pditommaso merged commit 06b44dc into nextflow-io:main Apr 6, 2023
@pditommaso
Copy link
Member

ps. probably better to not use git rebase for these PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants