Proposal: add a Flatpak packager
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- java
- 領域
- build-system
調査の方向性
Read the AppImage and DEB packager structures mentioned in the proposal to understand how NBPackage organizes packagers. Check how package.runtime and image-only behavior are handled there, then compare the proposed flatpak-builder flow and options with the existing design. Done means the maintainers agree on the approach and scope before implementation begins.
索引モデルが issue の本文から書いたものです。
説明
Hi,
I would like to add Flatpak support to NBPackage, as a new packager type linux-flatpak. Before I write any code, I want to ask if you are interested in this feature, and if the design below is OK for you.
Idea
- A new package
org.apache.netbeans.nbpackage.flatpak, with the same structure as the AppImage and DEB packagers. - The image is a flatpak-builder project folder: a YAML manifest, the application files, a .desktop file, a metainfo file and icons. With
--image-only, users get a manifest they can edit. - The package step runs
flatpak-builder --repoand thenflatpak build-bundle, to create a single.flatpakfile. - Java: the JDK from
package.runtimeis copied to/app/jdk. If no runtime is set, the user can choose an OpenJDK SDK extension instead. - New options, for example
package.flatpak.app-id(required), runtime and SDK version, and finish-args (sandbox permissions).
Why
NetBeans is already on Flathub (flathub/org.apache.netbeans), but that manifest is maintained outside the project and only covers the IDE. With a packager in NBPackage, platform (RCP) applications could also be packaged as Flatpak, with the same tool and configuration as the other formats. For example, the jMonkeyEngine SDK already uses NBPackage to build its DEB, Windows and macOS installers. A linux-flatpak packager would let projects like this publish a Flatpak with the same configuration.
Questions
- Are you interested in this feature?
- Is this design OK, or do you prefer a different approach (for example
flatpak build-init/build-finishdirectly, without flatpak-builder)? - Is it OK to install flatpak and flatpak-builder in the Linux CI job?
If you agree, I can open a first PR with the packager, unit tests and README changes, and a second PR for CI.
Thanks!
- 主要言語
- Java
- スター
- 35
- フォーク
- 13
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/netbeans-nbpackage のほかの issue
-
Add option to skip signing of runtime on macOS対応中かも @geertjanw が 36 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
apache/netbeans-nbpackage#138 · コメント 2 件 ·
-
Update Windows packaging to support Open With... on files対応中かも @geertjanw が 36 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
apache/netbeans-nbpackage#133 ·
apache/netbeans-nbpackage の issue をすべて見る
似ている issue
-
Visual COBOL: missing 11.0 and 12.0, and 9.0 date differs from Rocket Software's lifecycle pageオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
endoflife-date/endoflife.date#11561 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Surefire report output creates the parent folder also when "Create parent folder" is offオープンawaiting triage P3 Transforms
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
floci-io/floci#7707 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
checkstyle/checkstyle#22491 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100