[PATCH] REST: allow filtering patch by hash

Stephen Finucane stephen at that.guru
Fri May 5 23:02:20 AEST 2017

On Thu, 2017-05-04 at 17:46 +0200, Philippe Pepiot wrote:
> On 05/04/2017 05:07 PM, Philippe Pepiot wrote:
> > This allow to get related patches for a given hash. For instance
> > this
> > could be used to find quickly relevant mail threads while looking
> > at a
> > single applied patch.
> I rejected my patch after realizing that patchwork hash is different 
> than commit hash :)

Yup, the hash is generated by the 'hasher.py' module/script [1] and
used in combination with the git hook found in 'tools' [2] to
automatically mark patches as complete.

We should probably document that configuration better. If you (or
anyone) fancies writing a doc on this, I'd be happy to merge it.


[1] https://github.com/getpatchwork/patchwork/blob/v2.0.0-rc1/patchwork
[2] https://github.com/getpatchwork/patchwork/blob/v2.0.0-rc1/tools/pos

More information about the Patchwork mailing list