This request stems from the modularity/MBS folks. Hi!
Today, when repos are generated, their pkglist comes from a call to listTaggedRPMS(...., latest=True, inherit=True). The logic behind this chooses rpms for the repo in a depth-first manner, ordered by:
pkglist
listTaggedRPMS(...., latest=True, inherit=True)
We would like to introduce a new tag extras option that instructs make_pkglist to pass latest=False to listTaggedRPMS. This would result in a repo which includes all rpms from all inherited tags. Resolution of which binary rpm will be used by the build would occur at buildtime, determined by dnf/yum.
extras
make_pkglist
latest=False
listTaggedRPMS
The only make_pkglist function is in the createdistrepo handler. Are we asking specifically for dist repos to do this?
createdistrepo
(I'm guessing this is just a mistaken reference, but if modularity is somehow using dist repos, please indicate)
Your guess is correct. We're just using general tag-repo creation. The createrepo handler is the one we're interested in, and on a second look make_pkglist is indeed not in play there.
createrepo
@jkaluza found that the more likely place to focus on is https://pagure.io/koji/blob/master/f/hub/kojihub.py#_2319
PR #590
Commit e8d46e2e fixes this issue
Metadata Update from @julian8628: - Issue set to the milestone: 1.14
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/588
Please continue any further discussion there.