[elbe-devel] [PATCH 0/5] Remove elbe debianize

Bastian Germann bage at linutronix.de
Mon Mar 6 20:28:49 CET 2023


The `elbe debianize` subcommand is in a bad state.
It cannot generate debian directories for Linux >= 5.16.
Also, the templates are not aligned with current U-Boot/Linux.
I did not try Barebox as that seems to be used very rarely.

As there is currently an effort to modernize the Linux deb-src
make targets and there is a good u-boot package in Debian,
remove the command. It is very tedious to deal with and broke a
lot over time. Keeping unmaintained user-facing programs around
is very unpleasant for users.

Replace the man page with suggestions for alternatives.

Bastian Germann (5):
  debian: Remove python3-elbe-debianize
  tests: test_pylint: Remove debianize exceptions
  elbepack: commands: Remove debianize
  elbepack: debianize: Remove the module and templates
  docs: elbe-debianize: Explain alternatives

 .gitignore                                    |   1 -
 bash-completion                               |   5 +-
 debian/control                                |  15 --
 debian/python3-elbe-debianize.install         |  37 ----
 docs/elbe-debianize.txt                       |  78 +++++---
 elbepack/commands/debianize.py                |  25 ---
 elbepack/debianize/__init__.py                |   0
 elbepack/debianize/base/__init__.py           |   0
 elbepack/debianize/base/tui.py                | 180 ------------------
 elbepack/debianize/panels/__init__.py         |   0
 elbepack/debianize/panels/barebox.py          |  65 -------
 elbepack/debianize/panels/base.py             | 112 -----------
 elbepack/debianize/panels/factory.py          |  31 ---
 elbepack/debianize/panels/kernel.py           | 107 -----------
 elbepack/debianize/panels/uboot.py            |  92 ---------
 elbepack/debianize/widgets/__init__.py        |   0
 elbepack/debianize/widgets/button.py          |  52 -----
 elbepack/debianize/widgets/edit.py            |  14 --
 elbepack/debianize/widgets/form.py            |  70 -------
 elbepack/debianize/widgets/grid.py            | 130 -------------
 elbepack/debianize/widgets/radio.py           |  53 ------
 .../debianize/barebox/barebox-image.install   |   1 -
 .../debianize/barebox/barebox-tools.install   |   1 -
 .../makofiles/debianize/barebox/control.mako  |  25 ---
 .../makofiles/debianize/barebox/format.mako   |   7 -
 .../makofiles/debianize/barebox/rules.mako    |  73 -------
 .../makofiles/debianize/kernel/control.mako   |  39 ----
 .../makofiles/debianize/kernel/format.mako    |   6 -
 .../debianize/kernel/linux-headers.install    |   2 -
 .../debianize/kernel/linux-image.install      |   5 -
 .../debianize/kernel/linux-libc-dev.install   |   1 -
 .../makofiles/debianize/kernel/postinst.mako  |  18 --
 .../makofiles/debianize/kernel/postrm.mako    |  18 --
 .../makofiles/debianize/kernel/preinst.mako   |  18 --
 .../makofiles/debianize/kernel/prerm.mako     |  18 --
 .../makofiles/debianize/kernel/rules.mako     | 115 -----------
 .../makofiles/debianize/u-boot/control.mako   |  28 ---
 .../makofiles/debianize/u-boot/format.mako    |   6 -
 .../makofiles/debianize/u-boot/rules.mako     |  49 -----
 .../debianize/u-boot/u-boot-image.install     |   1 -
 .../debianize/u-boot/u-boot-tools.install     |   1 -
 .../debianize/u-boot/u-boot-tools.links       |   1 -
 elbepack/tests/test_pylint.py                 |  11 --
 setup.py                                      |   8 -
 44 files changed, 51 insertions(+), 1468 deletions(-)
 delete mode 100644 debian/python3-elbe-debianize.install
 delete mode 100644 elbepack/commands/debianize.py
 delete mode 100644 elbepack/debianize/__init__.py
 delete mode 100644 elbepack/debianize/base/__init__.py
 delete mode 100644 elbepack/debianize/base/tui.py
 delete mode 100644 elbepack/debianize/panels/__init__.py
 delete mode 100644 elbepack/debianize/panels/barebox.py
 delete mode 100644 elbepack/debianize/panels/base.py
 delete mode 100644 elbepack/debianize/panels/factory.py
 delete mode 100644 elbepack/debianize/panels/kernel.py
 delete mode 100644 elbepack/debianize/panels/uboot.py
 delete mode 100644 elbepack/debianize/widgets/__init__.py
 delete mode 100644 elbepack/debianize/widgets/button.py
 delete mode 100644 elbepack/debianize/widgets/edit.py
 delete mode 100644 elbepack/debianize/widgets/form.py
 delete mode 100644 elbepack/debianize/widgets/grid.py
 delete mode 100644 elbepack/debianize/widgets/radio.py
 delete mode 100644 elbepack/makofiles/debianize/barebox/barebox-image.install
 delete mode 100644 elbepack/makofiles/debianize/barebox/barebox-tools.install
 delete mode 100644 elbepack/makofiles/debianize/barebox/control.mako
 delete mode 100644 elbepack/makofiles/debianize/barebox/format.mako
 delete mode 100755 elbepack/makofiles/debianize/barebox/rules.mako
 delete mode 100644 elbepack/makofiles/debianize/kernel/control.mako
 delete mode 100644 elbepack/makofiles/debianize/kernel/format.mako
 delete mode 100644 elbepack/makofiles/debianize/kernel/linux-headers.install
 delete mode 100644 elbepack/makofiles/debianize/kernel/linux-image.install
 delete mode 100644 elbepack/makofiles/debianize/kernel/linux-libc-dev.install
 delete mode 100755 elbepack/makofiles/debianize/kernel/postinst.mako
 delete mode 100755 elbepack/makofiles/debianize/kernel/postrm.mako
 delete mode 100755 elbepack/makofiles/debianize/kernel/preinst.mako
 delete mode 100755 elbepack/makofiles/debianize/kernel/prerm.mako
 delete mode 100755 elbepack/makofiles/debianize/kernel/rules.mako
 delete mode 100644 elbepack/makofiles/debianize/u-boot/control.mako
 delete mode 100644 elbepack/makofiles/debianize/u-boot/format.mako
 delete mode 100755 elbepack/makofiles/debianize/u-boot/rules.mako
 delete mode 100644 elbepack/makofiles/debianize/u-boot/u-boot-image.install
 delete mode 100644 elbepack/makofiles/debianize/u-boot/u-boot-tools.install
 delete mode 100644 elbepack/makofiles/debianize/u-boot/u-boot-tools.links

-- 
2.39.2



More information about the elbe-devel mailing list