[PATCH RFC] events-api: allow filtering by date
andrew.donnellan at au1.ibm.com
Thu Jun 15 13:42:39 AEST 2017
On 15/06/17 09:59, Daniel Axtens wrote:
> Aaron Conole <aconole at bytheb.org> writes:
>> Aaron Conole <aconole at bytheb.org> 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 <aconole at bytheb.org>
>> 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.
> 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.
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com IBM Australia Limited
More information about the Patchwork