Closed kontura closed 1 year ago
I have also substituted the _setup_modular_excludes()
call with the functions implementation but I switched the parameter update_only
to True
for the call of filter_modules(...)
. I believe update_only=True
is sufficient because we don't need to rebuild the whole ModulePackageContianer
.
I have also substituted the
_setup_modular_excludes()
call with the functions implementation but I switched the parameterupdate_only
toTrue
for the call offilter_modules(...)
. I believeupdate_only=True
is sufficient because we don't need to rebuild the wholeModulePackageContianer
.
The perfect suggestion :+1:
LGTM!
Rebased.
The patch is inly for the Fedora downstream.
:umbrella: The latest upstream changes (presumably 609abb3) made this pull request unmergeable. Please resolve the merge conflicts.
Downstream hack only
During system-upgrade to F31 or F32 (F >= 33 don't have defaults) reset modules to resolve missing upgrade path only if they don't have default stream or are not enabled.
The module reset is not applied to offline-distrosync and offline-upgrade commands.
Also fixes a fix from RhBug:1767351 where we ran the same module reset during
run_upgrade
which was needed becase the new state fromrun_download
wasn't saved to the module persistor.https://bugzilla.redhat.com/show_bug.cgi?id=1767351 https://bugzilla.redhat.com/show_bug.cgi?id=1811234