finding koji builds within date range

Peter Robinson pbrobinson at gmail.com
Wed Oct 15 15:56:32 UTC 2014


>> Are there any suggestions for finding all koji builds between two
>> dates?  The search seems very package name specific and I'm looking for
>> date criteria instead.
>
>
> You'll need to use the API.
>
> listBuilds(completedBefore=<timestamp>, completedAfter=<timestamp>)
>
> should do what you want.  <timestamp> can be a number (seconds since the
> epoch) or a string (date/time in ISO 8601 format).

There's a script in the Fedora rel-eng repository called
find-bad-builds.py which will allow you to do this using the above
API. Might be a useful reference.

P


More information about the buildsys mailing list