Andrew Donnellan <[email protected]> writes: > On 15/06/17 09:59, Daniel Axtens wrote: >> Aaron Conole <[email protected]> writes: >> >>> Aaron Conole <[email protected]> writes: >>> >>>> This commit allows users of the REST API to query for events based on >>>> the date field. This will allow utility writers to select a smaller >>>> subset of events when polling. >>>> >>>> Signed-off-by: Aaron Conole <[email protected]> >>>> --- >>> >>> It should be noted that my motivation for this is to implement a git-pw >>> event poll command for CI integration. >>> >>> If you think there's a better way of achieving this, let me know. >> >> You should check out Snowpatch: Andrew Donnellan and Russell Currey (on >> this list) are the developers. >> >> https://developer.ibm.com/open/openprojects/snowpatch/ >> >> I don't know how they do it but I'm sure they'd be happy to explain it >> at length :) > > We don't currently use the events API at all - we just poll the > patches API at fixed intervals and look for patches that don't already > have test results. We might change this approach in future.
Thanks for the pointers. I'll check this out. _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
