yast / yast-yast2

YaST module yast2
http://en.opensuse.org/Portal:YaST
GNU General Public License v2.0
54 stars 44 forks source link

Force package backend #1249

Closed imobachgs closed 2 years ago

imobachgs commented 2 years ago

In the recent past, we decided to merge Package, PackageSystem and PackageAI. The idea was to use Package as the entry point and rely on PackageAI and PackageSystem, depending on the situation. However, we found out later that things are not that easy. See bsc#1196963.

There might a scenario where you want to force Package to work with the real packages. For instance, while reading the configuration during a clone_system operation: the mode is still autoinst_config but you are dealing with the underlying system. In those cases, you can force Package to work with PackageSystem. Package to work with PackageSystem.

As an escape hatch, we have decided to add an option to Package to override the decision about which module to use. This behavior is now documented in the Package module.

coveralls commented 2 years ago

Coverage Status

Coverage increased (+0.02%) to 41.659% when pulling 7dfc8fcf8f5ca72be83e30b3ea19a700ba74ce93 on force-package-backend into 7b9a04b0697043c59f5346c32dc46045a423af8b on master.

yast-bot commented 2 years ago

:heavy_check_mark: Public Jenkins job #362 successfully finished :heavy_check_mark: Created OBS submit request #961100

yast-bot commented 2 years ago

:heavy_check_mark: Internal Jenkins job #196 successfully finished :heavy_check_mark: Created IBS submit request #267371