[elbe-devel] [PATCH v2 0/5] elbepack: control: migrate to argparse

Thomas Weißschuh thomas.weissschuh at linutronix.de
Mon Jul 15 17:31:25 CEST 2024


This is the first migration of an Action-class-based command dispatcher
to argparse.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Changes in v2:
- Move arguments to correct subcommands
- Move actions to control.py

---
Thomas Weißschuh (5):
      elbepack: pbuilderaction: move argument specific for "control get_files"
      elbepack: pbuilderaction: move generic argument
      elbepack: add helper for declarative commandline parsing
      elbepack: control: migrate to argparse
      elbepack: control: move client actions out of soapclient.py

 debian/python3-elbe-common.install |   1 +
 elbepack/cli.py                    |  32 ++
 elbepack/commands/control.py       | 487 ++++++++++++++++++++++++------
 elbepack/pbuilderaction.py         |   6 +-
 elbepack/soapclient.py             | 591 +------------------------------------
 5 files changed, 427 insertions(+), 690 deletions(-)
---
base-commit: 97fd95a0f4d5f99b86eb5195df059cf87ad37e0a
change-id: 20240710-argparse-control-63b2f00f97e7

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



More information about the elbe-devel mailing list