Proposal: Make all HW interfaces plugins

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

Start by reading the proposal and the current python-can package structure to understand how hardware interfaces are included and maintained. The issue describes a repository-wide restructuring, but does not identify files, tests, or a concrete first step. Done would mean agreeing on a migration plan and moving each non-virtual hardware interface into a consistently maintained plugin repository.

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

説明

enhancement

We are actively using python-can and it's a core library for our CANsub CAN interface end users.

However, we believe the library could become cleaner and more scalable by doing a one-time restructuring that streamlines the library towards the plugin interface route - including for existing HW interfaces.

Our suggestion would be the below restructuring:

  1. Move python-can into a GitHub org, e.g. github.com/python-can
  2. Each HW interface (excl virtual) moves to its own plugin repo
  3. Every interface is now consistently a plugin
  4. If needed, python-can could by default install very popular interfaces
  5. Docs/README would list all interfaces in one table
  6. Current maintainers are admins of all the new repos

We think this would have multiple benefits:

  • Inclusion depends on usage/activity (not on when the interface was added)
  • HW interface issues/PRs/CI move to the interface repos
  • A HW interface can ship a fix without waiting for a python-can release
  • Manufacturers can maintain their own interfaces directly

We would be happy to contribute to this restructuring work from our side at CSS Electronics. Let us know your thoughts.

主要言語
Python
スター
1.6k
フォーク
715
平均マージ
2日 4時間
マージ済み PR(30日)
42

環境構築

はじめの一歩

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

hardbyte/python-can のほかの issue

hardbyte/python-can の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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