#915 Allow overriding platform repo URLs for local builds
Opened 6 years ago by mizdebsk. Modified 5 years ago

Local builds use Koji repos as platform (eg. f29-build repo). This way each local component build ends up downloading repodata and RPMs from Koji. This is even worse than it used to be when whole Fedora was downloaded to disk once and used as platform module - now I need to download the same content from Koji thousands of times.

Please at least make it possible for users to override URLs used for platform repos, so that they can point MBS to local Fedora mirror or caching proxy.


@mizdebsk what are you trying to build?

Since the module-f29-build tag doesn't have any directly tagged builds but uses an external repo that points to f29-build, local module builds will only download the packages mock deems necessary. It really shouldn't be that many packages unless you're building a very large module.

The primary module I maintain is javapackages-tools, which consists of more than 200 components. Building the module locally just once means downloading the same set of packages 200+ times. But you typically use local builds when you don't have stable module build, which means downloading the same set of packages thousands of times until you get your build right. Because of that local module builds are totally unusable for me with current code.

Login to comment on this ticket.

Metadata