[PATCH RFC] events-api: allow filtering by date

Aaron Conole aconole at bytheb.org
Thu Jun 15 23:58:13 AEST 2017

Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:

> 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.
>> 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.

More information about the Patchwork mailing list