[elbe-devel] [PATCH v2 00/13] Debianize Urwid
dion at linutronix.de
dion at linutronix.de
Thu Aug 1 17:49:21 CEST 2019
From: Olivier Dion <dion at linutronix.de>
npyscreen was a problem for moving Elbe to Python3. Thus, I've
rewritten the whole debianize code with urwid, see
<http://urwid.org/>.
The code is copy-paste from one of my previous collaborate project
with a friend at <https://github.com/abelfodil/inf1900-grader> and is
under GPL-3.
I've also made some modifications to fits the debianizer needs.
* Changelog v1
- Python2 compatible
- Mispells
- elbe-debianize -> python2|3-debianize
- Keep original authors in moved code
- Authors of inf1900-grader project contacted for GPL-v3+
Olivier Dion (13):
Debianize - TUI
Debianize - Edit widget factory
Debianize - Button widget
Debianize - Radio buttons widget
Debianize - Grid widget
Debianize - Form widget
Debianize - Panel widget
Debianize - Panel factory
Debianize - More panels
Debianize commands now use urwid's TUI
Debianize - Delete old code
Add __init__.py for debianize
Update debian control for elbe-debianize
debian/control | 20 +++-
elbepack/commands/debianize.py | 15 ++-
elbepack/debianize/base.py | 151 ------------------------
elbepack/debianize/base/__init__.py | 0
elbepack/debianize/base/tui.py | 180 +++++++++++++++++++++++++++++
elbepack/debianize/debianize.py | 21 ----
elbepack/debianize/kernel.py | 98 ----------------
elbepack/debianize/panels/__init__.py | 0
elbepack/debianize/{ => panels}/barebox.py | 49 +++-----
elbepack/debianize/panels/base.py | 112 ++++++++++++++++++
elbepack/debianize/panels/factory.py | 31 +++++
elbepack/debianize/panels/kernel.py | 86 ++++++++++++++
elbepack/debianize/{ => panels}/uboot.py | 71 +++++-------
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 +++++++++
19 files changed, 794 insertions(+), 359 deletions(-)
delete mode 100644 elbepack/debianize/base.py
create mode 100644 elbepack/debianize/base/__init__.py
create mode 100644 elbepack/debianize/base/tui.py
delete mode 100644 elbepack/debianize/debianize.py
delete mode 100644 elbepack/debianize/kernel.py
create mode 100644 elbepack/debianize/panels/__init__.py
rename elbepack/debianize/{ => panels}/barebox.py (52%)
create mode 100644 elbepack/debianize/panels/base.py
create mode 100644 elbepack/debianize/panels/factory.py
create mode 100644 elbepack/debianize/panels/kernel.py
rename elbepack/debianize/{ => panels}/uboot.py (56%)
create mode 100644 elbepack/debianize/widgets/__init__.py
create mode 100644 elbepack/debianize/widgets/button.py
create mode 100644 elbepack/debianize/widgets/edit.py
create mode 100644 elbepack/debianize/widgets/form.py
create mode 100644 elbepack/debianize/widgets/grid.py
create mode 100644 elbepack/debianize/widgets/radio.py
--
2.11.0
More information about the elbe-devel
mailing list