smoltcp: use a fork instead of a local copy

Abierto
#744 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
Medio día
Aptitud para principiantes
35/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
git, github, rust

Línea de trabajo

The work is the vendored smoltcp copy inside the Awkernel repository and the Cargo dependency entries that point at it. First confirm with the maintainer (@ytakano, who is asked directly in the issue) that a tier4 fork is wanted, and identify which local changes are the Awkernel patches. Done means a tier4 smoltcp fork holds those patches in one commit, the local copy is removed, and Awkernel's Cargo manifests build against the fork.

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

Descripción

I noticed that the current smoltcp is a customized copy of the official smoltcp crate.

In order to make it easier to benefit from future improvements in smoltcp, I suggest the following actions:

  1. Make a fork of the original smoltcp in https://github.com/tier4
  2. Push a commit to this new fork with all the patches required for Awkernel
  3. Remove the copy of smoltcp from Awkernel
  4. Point to this fork in Awkernel dependency lists

The main advantage of this is that it is possible to sync the fork with the original repo, thus benefitting from potential future improvements and error fixes.

@ytakano what do you think?

Lenguaje dominante
Rust
Estrellas
282
Forks
12
Merge medio
2 d 9 h
PR fusionados (30 d)
28

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 tier4/awkernel

Todos los issues de tier4/awkernel

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.