[elbe-devel] [PATCH 00/19] use importlib and trim down elbepack.directories

Thomas Weißschuh thomas.weissschuh at linutronix.de
Tue Mar 19 08:47:29 CET 2024


Reduce the amount of paths and use resource APIs which are compatible
with zip distributions.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (19):
      elbepack: simplify implementation of function template
      elbepack: write templates from arbitrary pathlike objects
      elbepack/init: simplify template writing
      elbepack: drop init_template_dir
      elbepack: drop mako_template_dir
      elbepack: drop default_preseed_fname
      elbepack: drop xsdtoasciidoc_mako_fname
      setup.py: make flake8 compatible
      conftest.py: make flake8 compatible
      test: make flake8 compatible
      test_flake8: only call flake8 once
      elbepack: drop pack_dir
      elbepack: tests: introduce helpers for xml testcases
      test_xml: use test parameter helpers
      test_preproc: use test parameter helpers
      elbepack: validate devel mode without using elbe_dir
      elbepack: init: simplify devel packaging
      elbepack: delete now unused elbe_dir
      elbepack: delete test_version.py

 conftest.py                        | 14 ++++-----
 elbepack/commands/init.py          | 61 +++++++++++++++++++-------------------
 elbepack/commands/xsdtoasciidoc.py |  6 ++--
 elbepack/directories.py            | 10 -------
 elbepack/templates.py              | 29 ++++++++++--------
 elbepack/tests/__init__.py         | 26 ++++++++++++++++
 elbepack/tests/test_flake8.py      | 20 ++++---------
 elbepack/tests/test_preproc.py     | 18 ++---------
 elbepack/tests/test_version.py     | 26 ----------------
 elbepack/tests/test_xml.py         | 17 +++--------
 elbepack/version.py                |  9 ++----
 setup.py                           | 45 ++++++++++++++--------------
 test/updated.py                    | 47 ++++++++++++++---------------
 13 files changed, 146 insertions(+), 182 deletions(-)
---
base-commit: 0494866f13a20374514e056391138199803f0060
change-id: 20240313-elbedir-185b72c9157a

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



More information about the elbe-devel mailing list