Detect commit_ref automatically

Mete Polat metepolat2000 at
Wed Aug 28 16:17:12 AEST 2019

Hi Michael, hi all,

As you are currently working on adding commit_url_format to Project...
How is commit_ref actually set? As far as I have seen the only way
setting this field right now is by manually using the API (or git-pw)

As pointed out in a former mail [1], we are currently working on
combining a tool called PaStA with Patchwork. Besides finding related
patches (e.g. revisions) on a mailing list, PaStA is also capable of
comparing patches on a mailing list with commits in an upstream git
repository by using sophisticated heuristics. This allows us to
automatically find and set the commit-sha (commit_ref field) for a
patch. If anyone else (or you?) is working on a similar feature or is
just interested, feel free to contact us.

Best regards,



More information about the Patchwork mailing list