#1621 rework update of reserved builds
Merged by mikem. Opened by mikem.
mikem/koji import-double-update  into  master

Download 1621.patch

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.

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?

Should we report the latest buildinfo to 'postBuildStateChange' callbacks?

Ah, good point.

1 new commit added

  • pass correct buildinfo to callbacks

:thumbsup:

:thumbsup:

Commit 916e70c1 fixes this pull-request

Pull-Request has been merged by mikem

Metadata