Proposal: Make all HW interfaces plugins

Abierto
#2,159 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
1.6k
Forks
715
Merge medio
2 d 4 h
PR fusionados (30 d)
42

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de hardbyte/python-can

Todos los issues de hardbyte/python-can

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.