Showing a diff between two versions of the same series

オープン
#636 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript, python

調査の方向性

まず、参照されているPatchewのdiffモジュールとseries-diff.htmlテンプレートを確認し、その後、PatchworkがシリーズとメッセージIDをどのように識別しているかを調べます。バージョントラッキングが実装されていない場合は、まず2つのメッセージIDを使用して、ユーザーが送信済みの2つのシリーズバージョン間のdiffを表示できれば完了です。

索引モデルが 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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getpatchwork/patchwork のほかの issue

getpatchwork/patchwork の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。