Proposal: Make all HW interfaces plugins

未關閉
#2,159 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
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 小時
30 天內合併 PR
42

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

hardbyte/python-can 的其他 Issue

查看 hardbyte/python-can 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。