Support dependency relations between patch series
還沒有人認領這個 Issue。
評估
研究方向
從 git pw patch apply 和 git pw series apply 入口點開始,並檢視相關 issue #71 以了解現有的脈絡。完成的標準是:依列出的順序收集補丁或 cover letter 中的 Depends-on 標籤,將其轉換為系列間相依性,並在不進行遞迴走訪的情況下自動套用。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- Python
- 星號
- 317
- 分支
- 91
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
getpatchwork/patchwork 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
getpatchwork/patchwork#668 ·
-
bug web-ui
難度 2/5 1-3 小時 新手友好度 74/100
getpatchwork/patchwork#546 · 2 則留言 ·
-
難度 3/5 1-2 天 新手友好度 52/100
getpatchwork/patchwork#664 ·
-
難度 4/5 3-5 天 新手友好度 48/100
getpatchwork/patchwork#663 ·
-
難度 3/5 1-2 天 新手友好度 45/100
getpatchwork/patchwork#645 ·
查看 getpatchwork/patchwork 的全部 Issue
相似的 Issue
-
bug confirmed issue
難度 2/5 1-3 小時 新手友好度 75/100
open-webui/open-webui#30750 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 75/100
-
enhancement
難度 2/5 1-3 小時 新手友好度 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
-
good first issue
難度 1/5 1 小時以內 新手友好度 90/100