#1628 Consolidate chunked build queries
Opened by mikem. Modified

Following up on a note from review of #1589

We probably need to consolidate the chunked builds query code, since we have different versions of it different places (including in koji-tools).

Also, it would be nice to have a guaranteed stable way of doing these chunked queries. At the moment, it's technically possible to miss a build or see a duplicate if the query results change in the middle.


a) we can create helper function in library for this usecase (something like listBuildsIterator) yielding builds and running subsequent queries when needed
b) Is it possible to do that somehow statelessly? We can do it in a multicall but it still means separate transactions.

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/1628

Please continue any further discussion there.

Metadata