#1474 RFE: Do not run mergerepo and just prepare proper dnf.conf
Opened 4 years ago by ignatenkobrain. Modified 4 years ago

I'm extensively using external repos and I found out that it is every time it takes huge amount of time merging repos... Is that only because of merging by sourcerpm is not supported in yum/dnf or there is something else too?

I think if we could get needed functionality in dnf, we could just generate proper dnf.conf for mock and save quite some time and resources by not running mergerepo.


Do you think, that this time is spent elsewhere than in downloading repodata from external location? I've these problems also, but it mostly happens with fedora's koji repos, which are not mirrored anywhere, so I spent tons of time in downloading these. In such situation I find much better to download it once during regenrepo, than downloading it for each build task (if it was in dnf.conf).

But of course, there could be other reasons related to yum/dnf implementation, I can measure it if you suspect this part.

mergerepo itself needs a lot of CPU cycles to merge repos, time needed to download repos is often just a small fraction of the overall mergerepo time.

Metadata Update from @mizdebsk:
- Custom field Size adjusted to None

4 years ago

Login to comment on this ticket.

Metadata