smoltcp: use a fork instead of a local copy

Aberta
#744 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 2 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
35/100
Tipo de issue
Refatoração
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
git, github, rust

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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?

Linguagem predominante
Rust
Estrelas
282
Forks
12
Merge médio
2d 9h
PRs com merge (30d)
28

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de tier4/awkernel

Todas as issues de tier4/awkernel

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.