The listBuilds RPC only accepts package IDs (ints), not package names (strings).
listBuilds
Most of the user just cares about a package name, so this means that Koji clients must always make a getPackage RPC to get the ID number prior to making the listBuilds RPC.
getPackage
It would be great to make listBuilds accept either an int or a name for packageID. Something like:
packageID
if packageID and not isinstance(packageID, int): packageID = get_package_id(packageID) if not packageID: return []
PR 2867
Metadata Update from @jcupova: - Custom field Size adjusted to None
Metadata Update from @tkopecek: - Issue set to the milestone: 1.26
Metadata Update from @jcupova: - Issue tagged with: testing-ready
Metadata Update from @mfilip: - Issue tagged with: testing-done
Commit 65e8593f fixes this issue
Commit c4a2f011 fixes this issue
PR 2922
Metadata Update from @jcupova: - Issue status updated to: Open (was: Closed)
Metadata Update from @jcupova: - Issue untagged with: testing-done
Metadata Update from @jobrauer: - Issue tagged with: testing-done
Commit fada0c9d fixes this issue
Commit 12481d43 fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/1209
Please continue any further discussion there.