Proposal: Make all HW interfaces plugins

Ouverte
#2,159 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
5/5
Temps estimé
Plus d'une semaine
Accessibilité débutants
25/100
Type d'issue
Refactorisation
Clarté
Plutôt claire
Activité
Active
Stack technique
python
Domaine
backend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Python
Étoiles
1.6k
Forks
715
Merge moyen
2 j 4 h
PR mergées (30 j)
42

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de hardbyte/python-can

Toutes les issues de hardbyte/python-can

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.