Dne 01. 12. 23 v 18:00 Vít Ondruch napsal(a):
With MPB, trying to rebuild all Ruby related packages, I'd hoped I'll get the
results much faster.
The problem (to me) seems to be that packages are build in batches (as can be seen in attached screenshot). If there
is some build which takes ages (this time it seems to be qt5-qtwebkit) in some batch, nothing else is processed unless
that build finishes. But to me, the slow package has probably the lowest importance. I'd rather see the biggest chunk
done than to endlessly wait for some package.
See this blog post:
https://pavel.raiskup.cz/blog/build-ordering-by-batches-in-copr.html
and this documentation
https://docs.pagure.org/copr.copr/user_documentation.html#build-batches
> Can this behavior be modified? E.g. the batches could overlap slightly or rebatched with low number of tasks still
running. Dunno. But this makes MPB / Copr useless for this task.
Likely no. It does its job for most of the people. I.e. when you run two consequent 'copr build' then lots of users told
us that they expect that the second starts only when the first one finish. Therefore I think that most people likes this
behavior.
If you submit lots of builds at once, I recomend to utilize batches with --with-build-id and --after-build-id. With
these option you can easily divide hundreds build into several batches and be sure they will be built in right order.
IIRC KDE folks are utilizing this.
--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
--
_______________________________________________
copr-devel mailing list -- copr-devel@lists.fedorahosted.org
To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahosted.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue