[elbe-devel] [PATCH 0/9] elbepack: remove global configuration dictionary

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Aug 1 12:40:21 CEST 2024


Removing the global configuration makes the flow of data more obvious.
It also opens the way for more refactorings.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (9):
      elbepack: remove global configuration soaptimeout
      elbepack: preprocess: use keyword arguments
      elbepack: cli: add helper add_argument_to_parser_or_function()
      elbepack: remove global configuration sshport
      elbepack: remove global configuration initvm_domain
      elbepack: pass around soapport explicitly
      elbepack: init: stop passing configuration to templates
      elbepack: soapclient: centralize of soapclient creation from cli args
      elbepack: config: drop global configuration dict

 elbepack/cli.py                 | 15 ++++++++
 elbepack/commands/control.py    | 41 ++-------------------
 elbepack/commands/pbuilder.py   |  6 +++-
 elbepack/commands/preprocess.py |  7 +++-
 elbepack/commands/prjrepo.py    | 37 ++-----------------
 elbepack/commands/updated.py    |  4 +++
 elbepack/config.py              | 80 ++++++++++++++++++++++++++++-------------
 elbepack/init/__init__.py       |  9 +++--
 elbepack/init/libvirt.xml.mako  |  6 ++--
 elbepack/initvm.py              | 29 +++++++--------
 elbepack/initvmaction.py        | 29 +++++++++++----
 elbepack/soapclient.py          | 10 ++++--
 elbepack/updated.py             |  6 ++--
 elbepack/xmlpreprocess.py       | 17 ++++-----
 14 files changed, 156 insertions(+), 140 deletions(-)
---
base-commit: 149efadc6da6dbf3b26acc2979f24e173a7bbf2c
change-id: 20240731-config-soaptimeout-095974ac673f

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh at linutronix.de>



More information about the elbe-devel mailing list