Learn more about these different git repos.
Other Git URLs
Since we now track historical host channel data (#778), a channel will have db references if it has ever been used (even if there are currently no hosts in the channel). These references prevent removal.
Furthermore, the force option to this call will happily delete historical entries from host_channels table. This is counter to the rest of Koji, which strictly avoids deleting history.
The only way this call can succeed without the force option is if the channel has never been used. However, there is no exposed way to add a new channel without also adding at least one host to it.
My inclination here is to simply deprecate this call, and the associated user command. It only made sense when we did not track historical channel data. However, I am open to argument.
Metadata Update from @mikem: - Issue tagged with: deprecation, discussion
We could also make removeChannel simply remove all hosts from the channel (with history), but not actually remove the entry.
removeChannel
I suppose we could also add a way to hide channels, or a versioned way to delete channels.
Metadata Update from @mikem: - Custom field Size adjusted to None
Metadata Update from @tkopecek: - Issue set to the milestone: 1.28
Now channels can be disabled which is more +1 to deprecate this call.
PR 3158
Metadata Update from @jcupova: - Issue tagged with: testing-ready
Metadata Update from @ksulayma: - Issue tagged with: testing-done
Commit 109feb5 fixes this issue
Commit c7fd26a fixes this issue
Login to comment on this ticket.