RFE: Ability to retrieve only non-superseded series
Stephen Finucane
stephen at that.guru
Mon Feb 25 21:22:16 AEDT 2019
On Wed, 2018-11-28 at 16:57 -0500, Konstantin Ryabitsev wrote:
> Hello:
>
> It would be handy to have an ability on the REST API side of things to
> retrieve series containing patches matching only certain states, such
> that if all patches in series v1 are marked as "superseded", then it's
> filtered out of the returned results when querying /series/.
>
> Unless I'm not reading the code right (not familiar with Django at all,
> unfortunately), I don't appear to have a way to apply any filtering to
> series at the moment.
Unfortunately not yet, though it is planned. Currently there's no
mapping of patch states to series. What I'd like to do is make patch
state a boolean (i.e. it's either open or closed) and use "labels" a la
GitHub issues to track all the other metadata (RFC, rejected,
accepted). I had some PoC patches locally but I haven't gotten around
to finishing them. Hopefully I'll get a free weekend sometime soon so I
can sit down and do that and the dozen other things I need to finish up
:)
Stephen
> Best,
> -K
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork
More information about the Patchwork
mailing list