Define system integration data to use for registering MIME types
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- linux
調査の方向性
提案されている AppDir パス usr/share/mime/packages と、参照されている AddingMIMETutor のガイダンスから始めます。AppImage 仕様で、システム統合ツールが $XDG_DATA_HOME/mime/packages にデプロイすべき *.xml ファイル、ユニークな名前によってアンデプロイをどのようにサポートするか、そしていつ update-mime-database を実行するかを定義します。
索引モデルが issue の本文から書いたものです。
説明
Some applications are handlers for certain MIME types which might not (yet) be part of the shared-mime-info database at least on most target systems.
So for proper system integration those MIME types should be registered with the system, so that the app from the appimage can as well be registered as handler for files of those MIME types.
The spec should define what data in what files could be added to the appdir, so that system integrators (like appimaged) know what to look for and what to use.
The typical GUI linux system uses shared-mime-info. Info about deploying custom extensions (per user) can be found here: https://www.freedesktop.org/wiki/Specifications/AddingMIMETutor/
So applications which deploy custom MIME types following the XDG/FHS/shared-mime-info would normally deploy one or more files to $PREFIX/usr/share/mime/packages and then expect the package installer to invoke update-mime-database so all the new and old separate data about MIME types is integrated in the actual system database.
So for a start with the spec, given that other parts are already picking up optionally files from the XDG/FHS layout, the idea could be to point out that if there are any *.xml files in the AppDir at usr/share/mime/packages, system integration tools with XDG-based systems are recommended to deploy those files to the proper user directory ($XDG_DATA_HOME/mime/packages) with some unique name as also needed for undeployment, and then run update-mime-database.
What do you think?
- 主要言語
- 言語のデータがありません
- スター
- 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 日以内に返信