#1662 CGUninitBuild for cancelling CG reservations
Merged by tkopecek. Opened by tkopecek.
tkopecek/koji issue1610  into  master

Download 1662.patch

Fixes: https://pagure.io/koji/issue/1610

Not sure about name of the method. Any better proposal?

rebased onto fe24972c2e68ffcdf9f8210d00036caa094d0e0f

ping @mikem, @breilly, @julian8628

Code LGTM.

For the method name, how about 'cg_cancel_build'? Might be more clear than 'uninit', and this would be used in cases where the CG cancels the build on its end right?

@breilly This method has sense only if build fails, but reservation stays in place. For cancellation standard cancel method works (and deletes reservation). So, this does a little bit different thing.

+1 for code
What about CGRefundBuild?

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

rebased onto 4e6171a92fa5acc87ef82e8fe06dfb9d85518517

Commit 87685df5 fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata