#1279 let hub decide, what headers are supported
Merged by mikem. Opened by tkopecek.
tkopecek/koji issue1261  into  master

Download 1279.patch

Currently web ui expects, that is it using same rpm version as hub -
this is wrong assumption, so let hub decide what is available there.

Fixes: https://pagure.io/koji/issue/1261

  • less calls
  • can't detect if weak deps are not supported or if they are really empty

:thumbsup:

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

Can we distinguish between "rpm doesn't have weak deps" and "hub doesn't report weak deps"?

@mikem It is lost in hub's getRPMDeps + get_header_field. We could return None instead of [], but it is changing API sligthly. Do you mean this level?

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

@mikem to file an issue for updating the getRPMDeps API to handle the situation where the hub doesn't have support for weak deps

Followup in #1496

Commit dcc23dcf fixes this pull-request

Pull-Request has been merged by mikem

Metadata