#2912 dist-repo takes inherited arch when arch is not set
Merged by tkopecek. Opened by jcupova.
jcupova/koji issue-2805  into  master

Download 2912.patch

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

It could be simplified to if taginfo['arches']

1) That cycle should stop on first tag which has any arch.
2) There is a whole second branch (when user specifies some arch) which compares that arch again against taginfo. This should use same test. I would place whole inheritance check before the "if" and have something like "allowed_archs" which can be used in both parts.

rebased onto 7dc4444c14d5f0d58199118dd470c69edfa45e60

rebased onto 9e0fbfc150e24a033fcaa5b4eb98c5a65e5a8f25

rebased onto 1c679667eb2dde09d0c43468f4f786a36d026f41

@tkopecek fixed

:thumbsup:

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

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

Commit 562e970a fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata