kernelci / kernelci-backend

Upstream Linux Kernel Validation Project API
http://api.kernelci.org
GNU Lesser General Public License v2.1
40 stars 27 forks source link

T23358 Enable range keys in batch count queries #255

Closed gctucker closed 3 years ago

gctucker commented 4 years ago

Enable keys to count using range keys such as "gte" (greater or equal than) or "lt" (less than) when doing batch count queries. This is useful in particular to count the documents with a number of errors or warnings greather than 0 (gte 1).

Signed-off-by: Guillaume Tucker guillaume.tucker@collabora.com

gctucker commented 3 years ago

Tested OK on staging, to get builds with 1 or more warnings using 'status=PASS&gte=warnings,1

gctucker commented 3 years ago

See the warning counts on staging: https://staging.kernelci.org/job/kernelci/branch/staging.kernelci.org/