Provide facility to invoke alternate payload applications
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
ファイルやテストは指定されていないため、まず AppImage 仕様と既存の起動規則を確認します。仕様で標準化すべきプログラム選択方法を明確にし、AppDir の検索およびフォールバック動作、argv[0] の扱い、引数の受け渡しを完了条件として定義します。
索引モデルが issue の本文から書いたものです。
説明
While most applications do have a main entry point to get to all their functionality, plenty of apps ship with additional executables for various purposes, like cvlc (a command-line-only interface for VLC), editcap (a command-line pcap file splicer with Wireshark), and so forth. These might be additional binaries, or might be a change of behavior based on the argv[0] value of the main application at runtime.
There should be some way to invoke these alternate programs.
-
The spec should provide a way to invoke an alternate program than the main payload.
-
The spec could provide a way to enumerate additional names and the locations of the respective programs within the AppDir explicitly, through a metadata file (not strictly necessary if the other options below are also implemented).
-
In the absence of explicit enumeration, or if an attempted program name was not enumerated, the AppImage should fallback by looking for the program name in a standard search path within the AppDir, e.g.,
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin. -
If there is still no matching program after looking at the explicit list and the search path, fallback to invoking the main payload application.
-
In all cases, set
argv[0]to the attempted program name, possibly with a prepended path if one is found within the AppDir. This allows a program to change behavior based only on the name used to invoke it.
-
-
The spec should specify one or more standard ways to identify which program was intended to be invoked by the user. Possibilities include (any or all could be implemented; the first two are probably the most useful):
-
Use
argv[0]of the invoked AppImage to select the desired program (this works simply by symlinking the AppImage itself to the desired alternate name). -
Use a special command argument at the start of the argument list which is unlikely to be meaningful to payload applications, e.g.
--AppImageRun foobarcontained inargv[1]andargv[2], with the remaining arguments passed through to the application. This could be used in .desktop files. -
Use a predefined environment variable name, which could be used in a wrapper script.
-
- 主要言語
- 言語のデータがありません
- スター
- 94
- フォーク
- 30
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AppImage/AppImageSpec のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
AppImage/AppImageSpec#60 · コメント 7 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
AppImage/AppImageSpec#59 · コメント 15 件 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
AppImage/AppImageSpec#48 · コメント 2 件 ·
-
help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
AppImage/AppImageSpec#44 · コメント 10 件 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
AppImage/AppImageSpec#40 · コメント 1 件 ·
AppImage/AppImageSpec の issue をすべて見る
似ている issue
-
F-Droid FOSS question
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
d4rken-org/butler#365 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ShaftHQ/chaosengine-harness#423 ·
メンテナーはふだん 1 日以内に返信
-
external-plugin ready-for-review
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/awesome-copilot#6655 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
X11Libre/xserver#4255 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
nightly-cleanup
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
max-sixty/worktrunk#4939 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信