Red Hat Bugzilla – Bug 616839
koji tag-pkg doesn't check if build is finished
Last modified: 2013-01-10 01:05:02 EST
Created attachment 433431 [details]
When I run 'koji tag-pkg' on build which is not valid (e.g. FAILED), I got error message that policy checking has failed (ActionNotAllowed: policy violation xxx). It could give more descriptive message.
Simple patch attached.
It checks, just not early enough.
The patch isn't quite how I want to fix it. Setting pkg_error is not the right thing to do here. I should have a patch tomorrow.