#2015 Return all builds if package is set
Closed by mattia. Opened by mattia.
Unknown source master

Download 2015.patch

When using getLatestBuilds() I would like to get all latest builds for a specific package. Currently there's no way to do this.

See https://github.com/fedora-infra/bodhi/issues/3925#issuecomment-585883845

You could directly call listTagged(<tagname>, package=<pkgname>, inherit=True) API instead.

This change doesn't meet the API's purpose I think.

Thank you!
I didn't know about listTagged(). Is there a comprehensive and clear list of all methods available? I saw getLatestBuilds() uses readTaggedBuilds(), but the latter doesn't seem to be exposed to the user (I get an InvalidMethod error when trying to use it). The documentation focuses on the CLI rather than on Python module.

@mattia You can list whole API for specific instance (plugins can be varying across the instances) by koji list-api or e.g. via https://koji.fedoraproject.org/koji/api

Can we close this one?

Pull-Request has been closed by mattia

Metadata