[PATCH v2] pwclient: Add heuristics to find a whole series of patches

Mauro Carvalho Chehab mchehab at redhat.com
Sat Dec 22 07:32:18 EST 2012

Em Fri, 21 Dec 2012 09:23:30 +0800
Jeremy Kerr <jk at ozlabs.org> escreveu:

> Hi Doug,
> > Add a new filter option '-r' that attempts to list all patches in a
> > series.  Since there's no built-in way in patman to do this, we use
> > some heuristics to try to find the series.
> Interesting idea, something I'm sure would be useful for many patchwork 
> users.
> Do you think it would be possible to do this in the actual server code 
> instead, so that the "series relations" are captured in the database? 
> This way, the series would be available through the web interface too, 
> and the pwclient method of accessing these series would be much more 
> straightforward.
> The difficult part of this is how to present the series relations in the 
> web UI, but I can work something out there.

Btw, there are two cases that should likely be handled as well:

1) on a patch series with a patch 0/x, patches 1/x to x/x refers to
patch 0/x;

2) sometimes, someone sends an ack/nack/... tag to the a hole patch series,
replying to patch 0/x.

It would be really nice if patchwork server/database could handle both.


More information about the Patchwork mailing list