#2681 taginfo fail with older hub if external repos are set
Closed: Fixed 3 years ago by tkopecek. Opened 3 years ago by mikem.

Running the cli taginfo command against an older hub can result in the following:

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 4976, in anon_handle_taginfo
    if not rinfo['arches']:
KeyError: 'arches'

Metadata Update from @mikem:
- Custom field Size adjusted to None

3 years ago

This variation in the hub return comes from #2538, which was merged after 1.23.0.

That makes this a regression for 1.24. I think we should fix it before release.

Metadata Update from @mikem:
- Issue set to the milestone: 1.24

3 years ago

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

3 years ago

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

3 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2682 Merged 3 years ago