#2990 list-channels is not working when Koji 1.26 CLI and older hub
Closed: Fixed by tkopecek. Opened by jcupova.

Older hub doesn't have comments in channels.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.26.1

Example traceback:

$ brew --debug list-channels
2021-08-25 10:22:41,751 [DEBUG] koji: Opening new requests session
Traceback (most recent call last):
  File "/home/mikem/Devel/koji/koji/cli2/brew", line 335, in <module>
    rv = locals()[command].__call__(options, session, args)
  File "/home/mikem/Devel/koji/koji/cli/koji_cli/commands.py", line 3002, in anon_handle_list_channels
    channel['comment'] = truncate_string(channel['comment'])
KeyError: 'comment'

Commit 1dd05bea fixes this issue

Commit 43421a8e fixes this issue

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

Metadata Update from @mfilip:
- Issue tagged with: testing-done

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2990

Please continue any further discussion there.

Metadata
Related Pull Requests