Showing a diff between two versions of the same series

未關閉
#636 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
javascript, python

研究方向

首先檢視所參照的 Patchew diff 模組和 series-diff.html 範本,接著檢查 Patchwork 如何識別系列和訊息 ID。完成的標準是使用者可以查看兩個已提交系列版本之間的 diff;如果尚未實作版本追蹤,則一開始使用兩個訊息 ID。

由索引模型根據 Issue 內容生成。

描述

Hello,

First, thank you for developing and maintaining this great tool!

For the MPTCP project, we are also using Patchew, mainly to apply patches in a Git repo, but also for extra features like showing a diff between two versions of the same series. Example: when looking at a series on Patchew, you can see at the top "Diff against v1 v2 v3"

Showing the diff between versions only need access to the patches, no need to apply them in a repo. Here is what Patchew is doing with the help of jsdifflib: diff module & diff template. Ideally, patchwork would need the ability to track series' versions (which would be great for the reviewers to quickly jump between versions), but this can also be optional: the first version could start with only showing a diff between two series' message-ids given by the user for example.

(Note that having Patchwork being able to directly apply patches in a repo would be great, not depends on another service regularly polling for new events, but that's another topic :) )

主要語言
Python
星號
317
分支
91
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

getpatchwork/patchwork 的其他 Issue

查看 getpatchwork/patchwork 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。