Fixes: https://pagure.io/koji/issue/1603
Rework and simplify the code that updates reserved build entries for cg imports. Removes redundancy with checks in prep_build(). Avoids duplicate *BuildStateChange callbacks.
prep_build()
Seems to work in my (limited) local testing.
The test script from #1599 runs ok against it.
Works also for me.
Metadata Update from @tkopecek: - Pull-request tagged with: testing-ready
Should we report the latest buildinfo to 'postBuildStateChange' callbacks?
buildinfo
Ah, good point.
1 new commit added
pass correct buildinfo to callbacks
:thumbsup:
Commit 916e70c1 fixes this pull-request
Pull-Request has been merged by mikem
Fixes: https://pagure.io/koji/issue/1603
Rework and simplify the code that updates reserved build entries for cg imports.
Removes redundancy with checks in
prep_build().Avoids duplicate *BuildStateChange callbacks.