nextflow-io / nextflow-io/nextflow

Nextflow native package distribution

Open
#2,028 3 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

planned software/java
Dominant language
Groovy
Stars
3.5k
Forks
811
Avg merge
2d 11h
Merged PRs (30d)
61

Description

Summary

Provide a new Nextflow package distribution that runs natively in the target execution environment ie. deb and rpm on Linux and dmg on MacOs.

Goals

  • Provide a self-contained application package that runs natively in target OS without the need to install the Java virtual machine.
  • Streamline the installation of the Nexflow package.

Description

The core Nextflow application is distributed as a collection of JAR files that are downloaded by the launcher nextflow script. Managing the download of the required dependencies can create unexpected problems (see #1806), moreover, the need of having a preinstalled Java VM can be overkill for some users.

Recent versions of the Java (16 and later) includes the jpackage tool that allows the creation of a native platform executable including all the application dependencies and the Java runtime. This means that it can be created a self-contained executable that can run natively in the target environment.

See https://openjdk.java.net/jeps/392

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the nextflow launcher and the Java jpackage tool described in JEP 392. Define how the core application and dependencies should be packaged as Linux deb/rpm and macOS dmg distributions. Done means a self-contained package runs on its target OS without a preinstalled Java VM and simplifies installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, linux, macos
Domain
build-system, cli, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.