mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-10 08:34:59 +08:00
Before this commit, the base modules used in the `get_reusable_module` have not been sorted and therefore when `get_reusable_module` tried to find out the reusable module built against some base module, it could find a module built against some old version of base module. This could lead to situation when MBS tried to reuse components from quite old module despite the fact that newer module build existed. This commit fixes this by sorting the base modules by stream_version, so MBS always tries to get the reusable module built against the latest base module.