On 11/06/2015 04:49 PM, Mike Bonnet wrote:
The attached patch causes Maven builds to fail if they produce a
file
type that Koji doesn't know about. This is preferable to silently
ignoring them.
I had sort of assumed the code was already doing this. It does for
images, and for manual imports (the latter because we run
get_archive_type with strict on).
So, we're going from silently ignoring a condition to failing on it. Do
we have any sense of how often this happens?
Thinking further down the road, this really seems like the wrong place
to have this check. I'm not sure the hub should really care about this.
Also, seems silly for the builder to bother uploading content that's
going to be rejected. ...maybe not something we're going to manage to
fix in 1.x though
While we're at it should we also make the same change in completeWinBuild?