[openSUSE/osc] 29274b: avoid importing the config global variable
Branch: refs/heads/master Home: https://github.com/openSUSE/osc Commit: 29274b528995f9e105543c1bff1dfbb036155e80 https://github.com/openSUSE/osc/commit/29274b528995f9e105543c1bff1dfbb036155... Author: Dirk Müller <dirk@dmllr.de> Date: 2022-10-27 (Thu, 27 Oct 2022) Changed paths: M osc/build.py Log Message: ----------- avoid importing the config global variable in build we imported "conf" and "from .conf import config" which let to two different instances of config: "global config" at import was the DEFAULTS array, and conf.config the updated config after reading the user configuration. Convert everything to use conf.config as everywhere else, which makes setting of build defaults in the oscrc work again (like build-jobs). Commit: e9156e5fe6ca9a362bbfa01e6d212649eafe3833 https://github.com/openSUSE/osc/commit/e9156e5fe6ca9a362bbfa01e6d212649eafe3... Author: Daniel Mach <daniel.mach@suse.com> Date: 2022-10-31 (Mon, 31 Oct 2022) Changed paths: M osc/build.py Log Message: ----------- Merge pull request #1185 from dirkmueller/master avoid importing the config global variable Compare: https://github.com/openSUSE/osc/compare/774f8406a81a...e9156e5fe6ca
participants (1)
-
Daniel Mach