Conversation
modules/nextflow/src/main/groovy/nextflow/module/ModuleManifest.groovy
Outdated
Show resolved
Hide resolved
modules/nextflow/src/main/groovy/nextflow/util/NextflowSpecFile.groovy
Outdated
Show resolved
Hide resolved
|
Some updates: 1.- I have added the print of process outputs when finishing the process execution. 2.- I have investigated the remote module inclusion and a possible implemetation: However, when using syntax parser V2, the problem is that visitors and resolvers used for parsing are at So, what I have done is the following:
|
|
@jorgee let's move the remote module inclusion piece out of this PR. you can put it in a separate PR if you want, either way Paolo will experiment with it separately And for the module version config, in the interest of keeping the POC simple so that we can iterate quicker, let's keep the module versions in the JSON file. Paolo can also experiment with this separately if he wants |
23fc2f2 to
7dd3e52
Compare
|
Updated the branch as @bentsherman suggested
|
|
I was giving a try to this, but cannot compile it |
|
To test this branch you need to do the following:
|
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
1785870 to
2432e90
Compare
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
f4095a7 to
b091d73
Compare
|
@jorgee i've made a force push by mistake, please check I've not removed anything |
…te to v1 registry and other required fixes Signed-off-by: jorgee <jorge.ejarque@seqera.io>
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
|
Update:
To test, you must run with registry branch |
This pull request introduces a new
modulecommand-line interface for managing Nextflow modules, including installing, listing, and publishing modules. It adds a newmodulecommand with several subcommands, updates the CLI infrastructure to support unknown options for this command, and brings in new dependencies required for module packaging and extraction.Major new features and CLI enhancements:
CmdModuleclass implementing thenextflow modulecommand, with subcommands for install, list, publish, run, remove, and search. This includes full CLI argument parsing, usage/help handling, and subcommand delegation.ModuleRunextends CmdRun installing the module and calling CmdRun with the downloaded module.Launcher and CLI infrastructure updates:
CmdModulecommand in the mainLauncherclass so it is available as a top-level command.Launcherto allow unknown options for themodulecommand and to pass these unknown options to the command implementation. [1] [2]CmdBaseclass to support storing and retrieving unknown CLI options, enabling more flexible argument handling for subcommands.Dependency management:
org.apache.commons:commons-compressas a dependency for handling tar.gz extraction, which is necessary for module packaging and publishing.Building and Testing
Current CI is failing becuase it requires a local development registry instance with modules API implemented. You will need it to update build.gradle to updated npr-api package with the new module API classes. Either with
includeBuildor a Maven local repository. You will also need to deploy the registry locally and configure theregistryfield innextflow.configto test the new CLI commansOpen Issue and TODOs:
nextflow_spec.jsonfor simplicity.