Running mbs-build local against platform:f28 requires pulling all packages from F28 into a local cache. This is both extremely heavyweight in terms of space usage as well as entirely unnecessary since Koji already generates a repo for the f28-build tag that could be used instead.
mbs-build local
platform:f28
f28-build
Based on an IRC discussion, we want to figure out a way to automatically determine which tags have generated repos and use that rather than caching them locally. In the short-term, it may be acceptable to hard-code f28-build to do this while a more complete solution is found.
Proposed solution, pseudocode:
repo = koji_session.getRepo(module_tag) if repo: repo_url = koji.PathInfo(topdir='https://kojipkgs.fedoraproject.org').repo(repo['id'], module_tag) else: download rpms and run createrepo on them, like currently
Metadata Update from @mprahl: - Issue assigned to mprahl
Proposed solution, pseudocode: repo = koji_session.getRepo(module_tag) if repo: repo_url = koji.PathInfo(topdir='https://kojipkgs.fedoraproject.org').repo(repo['id'], module_tag) else: download rpms and run createrepo on them, like currently
Thank you for the suggestion.
PR #841 should address this
Metadata Update from @mprahl: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.