Please reduce the dependencies of the dbus backend

オープン
#356 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
backend

調査の方向性

scp-dbus-service.py から始め、そこにある Gtk およびその他の UI の import を、Plasma print-manager が使用する D-Bus 機能と対応付けます。デバイス通知、検出とグループ化、および推奨ドライバーの検出が UI 依存チェーンなしで動作するように分離を定義します。これらのサービスが UI ツールキットを必要としなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

KDE Plasma's print-manager relies on the system-config-printer dbus services for some functionality:

  • New device notifications
  • Device discovery and grouping
  • Recommended driver discovery

It doesn't use the UI parts of system-config-printer (that look a bit out of place in a Plasma desktop). Nevertheless, because system-config-printer is currently quite monolithic (even scp-dbus-service.py imports Gtk and friends and their python bindings), it pulls in a large dependency chain.

It would be great if the dbus functionality relied upon by alternative UIs like plasma print-manager could be made independent of the UI portions to avoid the dependency chain (and memory usage by multiple toolkits etc).

主要言語
Python
スター
209
フォーク
111
平均マージ
2日 3時間
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

OpenPrinting/system-config-printer のほかの issue

OpenPrinting/system-config-printer の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。