Patchwork includes full patch in diff, resulting in hash mismatch
還沒有人認領這個 Issue。
評估
研究方向
比較連結的電子郵件附件、Patchwork 結果和最終的 glibc commit,以重現完整 patch 如何進入 diff 欄位。追蹤附件解析路徑,並驗證將附件縮減為其 diff 後,commit hook 能夠比對 diff 雜湊並可靠地更新 patch 狀態。
由索引模型根據 Issue 內容生成。
描述
Example email, its result on patchwork and the final commit:
https://sourceware.org/pipermail/libc-alpha/2020-December/120687.html
https://patchwork.sourceware.org/project/glibc/patch/CAMe9rOoe8m3KXs3CDyhXFZ1eEKBWFV+-v-=LnevR=ZNHoRjw9A@mail.gmail.com/
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2ee7711bdd7de9dd30073b223ce29d5cd50320f6
It looks like patch sent as an attachment is assumed to be just a diff and gets pasted into the diff field; patchwork should try and reduce the attachment to a diff instead so that when the patch gets committed, the commit hook may reliably match the diff hashes and change patch status.
- 主要語言
- 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
-
agent-ready documentation needs-triage
難度 1/5 1-3 小時 新手友好度 88/100
-
documentation
難度 1/5 1 小時以內 新手友好度 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" 未關閉
難度 1/5 1 小時以內 新手友好度 92/100
-
instance instance add
難度 1/5 1 小時以內 新手友好度 72/100
searxng/searx-instances#939 · 1 則留言 ·
-
area-deployment area-integrations triage:bot-seen
難度 2/5 半天 新手友好度 86/100