smoltcp: use a fork instead of a local copy

Đang mở
#744 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, github, rust
Lĩnh vực
build-system, networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
Rust
Star
282
Fork
12
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
28

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tier4/awkernel

Tất cả issue của tier4/awkernel

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.