smoltcp: use a fork instead of a local copy

Ouverte
#744 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 2 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
35/100
Type d'issue
Refactorisation
Clarté
Plutôt claire
Activité
Active
Stack technique
git, github, rust

Piste de recherche

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.

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

Description

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?

Langage dominant
Rust
Étoiles
282
Forks
12
Merge moyen
2 j 9 h
PR mergées (30 j)
28

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

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

Toutes les issues de tier4/awkernel

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

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