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 > [email protected] > https://lists.ozlabs.org/listinfo/patchwork _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
