Red Hat Bugzilla – Bug 500690
channel.listSoftwareChannels should be deprecated
Last modified: 2014-07-04 09:28:41 EDT
Description of problem:
channel.listSoftwareChannels seems to be returning the same results as channel.listAllChannels.
webUI is using listAllChannels in the query. So, it seems that somewhere down the line, all new channel.list* api were added but listSoftwareChannels which was old was not deprecated.
After a further look, these APIs are not identical with respect to the information being returned.
listSoftwareChannels includes (which isn't in listAllChannels):
* string "parent_label"
* string "end_of_life"
* string "arch"
listAllChannels includes (which isn't in listSoftwareChannels):
* int "id"
* string "provider_name"
* int "packages"
* int "systems"
So, to maintain backward compatability, we need to update listAllChannels to include retrieving parent_label, end_of_life and arch. I haven't determined yet, if this will complicate the query; however, wanted to raise the point now, since this bug will require more than labelling the old API as deprecated. We'll need to be sure to update/regression test the listAllChannels as well as the web UI for listing all channels to be sure that the changes have not side affect.
Throwing back on triage for Cliff and I to review today.
After review, we are going to punt this to a later release.