[elbe-devel] [PATCH 00/11] elbepack: (partial) migrate to subprocess APIs.

Thomas Weißschuh thomas.weissschuh at linutronix.de
Wed Mar 13 16:54:49 CET 2024


The subprocess APIs are more powerful, better documented and
standardized.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (11):
      test_xml: fix simple builds
      elbepack: handle absence of interpreter-firmware element
      elbepack: delete unused function system_out_stderr
      elbepack: replace custom CommandError with subprocess.CalledProcessError
      elbepack: migrate system_out to subprocess package
      elbepack: introduce run_elbe helper
      elbepack: migrate command_out_stderr to subprocess package
      elbepack: migrate command_out to subprocess package
      elbepack: migrate tests to subprocess package
      elbepack: migrate os.system to subprocess package
      elbepack: migrate some usages of system() to native python apis

 docs/conf.py                           |   4 +-
 elbepack/cdroms.py                     |   5 +-
 elbepack/commands/buildchroot.py       |   4 +-
 elbepack/commands/check-build.py       |  25 +++--
 elbepack/commands/chroot.py            |   7 +-
 elbepack/commands/fetch_initvm_pkgs.py |   7 +-
 elbepack/commands/init.py              |   7 +-
 elbepack/commands/parselicence.py      |   7 +-
 elbepack/commands/test.py              |  25 -----
 elbepack/commands/toolchainextract.py  |  48 ++++-----
 elbepack/daemons/soap/esoap.py         |  20 ++--
 elbepack/debinstaller.py               |   7 +-
 elbepack/debpkg.py                     |  50 ++++-----
 elbepack/directories.py                |   6 ++
 elbepack/efilesystem.py                |  10 +-
 elbepack/egpg.py                       |   5 +-
 elbepack/elbeproject.py                |   5 +-
 elbepack/finetuning.py                 |   7 +-
 elbepack/fstab.py                      |   5 +-
 elbepack/hashes.py                     |   7 +-
 elbepack/hdimg.py                      |  11 +-
 elbepack/initvmaction.py               |  64 ++++++------
 elbepack/packers.py                    |   7 +-
 elbepack/pbuilderaction.py             |  61 +++++------
 elbepack/repomanager.py                |   7 +-
 elbepack/rfs.py                        |  11 +-
 elbepack/shellhelper.py                | 185 +++------------------------------
 elbepack/tests/test_flake8.py          |  11 +-
 elbepack/tests/test_preproc.py         |   6 +-
 elbepack/tests/test_xml.py             |  40 +++----
 elbepack/updated.py                    |  10 +-
 elbepack/updatepkg.py                  |   8 +-
 elbepack/xmlpreprocess.py              |  19 ++--
 33 files changed, 269 insertions(+), 432 deletions(-)
---
base-commit: ef9eeca734b372faba47b88df94950d5b465751d
change-id: 20240312-shellhelper-46cbb3d5a7e2

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



More information about the elbe-devel mailing list