Support dependency relations between patch series
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu từ các entry point git pw patch apply và git pw series apply , đồng thời xem xét issue #71 liên quan để nắm ngữ cảnh hiện có. Hoàn thành có nghĩa là các thẻ Depends-on trong patch hoặc cover letter được thu thập theo thứ tự được liệt kê, chuyển thành các dependency giữa các series và được tự động áp dụng mà không duyệt đệ quy.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The DPDK project has defined syntax for a "Depends-on" tag. A contributor can add this label to their patch or cover letter if it depends on another patch or series that has not yet been applied to the target branch.
The syntax for this tag and where it appears in a patch file is as follows:
... MIME headers and such go here ...
Some commit message
Signed-off-by: someone
---
Depends-on: patch-##### ("title of patch")
Depends-on: series-##### ("title of series")
... git diff summary goes here ...
---
... diff goes here ...
These tags may also appear in a cover letter for a series.
There can be multiple of these tags defined with differing values. An implementation is intended to collect them into a list. When applying a patch which has these tags, they should be applied in the order listed in the patch file. This process is not recursive, as in if the dependents of a patch have additional dependents, those are not applied.
All dependencies are translated to inter-series dependencies. As in, if a patch a in series A references a patch b in series B, then we can infer that series A depends on series B. Same thing if a patch a depends on series B.
The ask is for, when running git pw patch apply or git pw series apply , the command will scan for these dependent patches or series and apply them automatically as described above.
- Ngôn ngữ chính
- Python
- Star
- 317
- Fork
- 91
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getpatchwork/patchwork
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
getpatchwork/patchwork#668 ·
-
bug web-ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
getpatchwork/patchwork#546 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
getpatchwork/patchwork#664 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
getpatchwork/patchwork#663 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
getpatchwork/patchwork#645 ·
Tất cả issue của getpatchwork/patchwork
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
learningequality/ricecooker#747 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
BSData/horus-heresy-3rd-edition#3171 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
run-llama/llama_index#23199 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
KhronosGroup/glTF-Blender-IO#2769 ·