When I get the builds using listBuilds, I cannot use these build info to get the build type, because the build info not contain id filed, but listBuilds must use this id. This is a bug, in koji-1.25.1, first step is to get the build info(contain id filed) using get_build, but in koji-1.26.0 , if function parameter not contain id, the function will not get id
if no this id filed, will display the error in the attament
PR #3092
Metadata Update from @julian8628: - Custom field Size adjusted to None
Metadata Update from @julian8628: - Issue set to the milestone: 1.27 - Issue tagged with: easyfix
The dict structure of the items in listBuilds's result is not the same as the one of getBuild (build_id -> id, and getBuildType honors the latter). So in the old get_build_type, although there's no id too, the input will be checked and transferred to the result of getBuild.
listBuilds
getBuild
build_id
id
getBuildType
get_build_type
Metadata Update from @tkopecek: - Issue tagged with: testing-ready
Metadata Update from @jcupova: - Issue tagged with: testing-done
Commit 82e5fbde fixes this issue
Commit d367420c fixes this issue
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/3091
Please continue any further discussion there.