Currently, we use the channel param to make_task() as both a user override mechanism a way for the call handler to adjust the default.
Channel is always ultimately determined by policy, but the policy cannot distinguish between the user passing a channel override for a maven task and the call handler indicating that the default should be "maven" instead of "default".
This PR adds a separate mechanism for specifying the default and alters call handlers to use that instead (but still use channel for user overrides).
Currently, we use the
channelparam tomake_task()as both a user override mechanism a way for the call handler to adjust the default.Channel is always ultimately determined by policy, but the policy cannot distinguish between the user passing a channel override for a maven task and the call handler indicating that the default should be
"maven"instead of"default".This PR adds a separate mechanism for specifying the default and alters call handlers to use that instead (but still use
channelfor user overrides).Fixes https://pagure.io/koji/issue/4399