#10619: refactor wic codebase (start)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | wic: creator: stop using config managerscripts/ | +0 | 0 replies | |
| 2/18 | wic: direct_plugin: stop using config managerscripts/ scripts/ | +20 | 0 replies | |
| 3/18 | wic: removed conf.py and empty config file.scripts/ scripts/ | +0 | 0 replies | |
| 4/18 | wic: moved content of direct.py to direct_pluginscripts/ scripts/ scripts/ | +380 | 0 replies | |
| 5/18 | wic: get rid of __rootfs_dir_to_dict methodscripts/ | +5 | 0 replies | |
| 6/18 | wic: improve naming in direct_plugin classesscripts/ | +22 | 0 replies | |
| 7/18 | wic: pylinted direct_pluginscripts/ | +7 | 0 replies | |
| 8/18 | wic: simplified code of direct_pluginscripts/ | +2 | 0 replies | |
| 9/18 | wic: renamd direct_plugin.py -> direct.pyscripts/ | +0 | 0 replies | |
| 10/18 | wic: removed test filescripts/ | +0 | 0 replies | |
| 11/18 | wic: partition: simlify calling plugin methodsscripts/ scripts/ | +25 | 0 replies | |
| 12/18 | wci: misc: removed build_name APIscripts/ | +0 | 0 replies | |
| 13/18 | wic: move 2 APIs to wic.enginescripts/ scripts/ scripts/ +3 more | +37 | 0 replies | |
| 14/18 | wic: move oe/misc.py one level upscripts/ scripts/ scripts/ +12 more | +21 | 0 replies | |
| 15/18 | wic: removed code from __init__.pyscripts/ | +0 | 0 replies | |
| 16/18 | wic: msger.py: remove unused APIsscripts/ | +0 | 0 replies | |
| 17/18 | wic: code cleanupscripts/ scripts/ scripts/ +12 more | +36 | 0 replies | |
| 18/18 | wic: remove syslinux.pyscripts/ scripts/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/18] #10619: refactor wic codebase (start)
Hi,
This patchset consolidates wic APIs in a more maintainable way, removes unused APIs and cleans up wic code.
This is a first series of a refactoring work. The changes in this patchset are relatively simple. They're a preparation for upcoming heavy work on making wic codebase less complex and more maintainable.
The following changes since commit ec3d83f9a90288403b96be25da855fa280aadd8d:
xmlto: Don't hardcode the path to tail (2017-01-31 23:47:33 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ed/wic/refactoring-10619
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wic/refactoring-10619
Ed Bartosh (18):
wic: creator: stop using config manager
wic: direct_plugin: stop using config manager
wic: removed conf.py and empty config file.
wic: moved content of direct.py to direct_plugin
wic: get rid of __rootfs_dir_to_dict method
wic: improve naming in direct_plugin classes
wic: pylinted direct_plugin
wic: simplified code of direct_plugin
wic: renamd direct_plugin.py -> direct.py
wic: removed test file
wic: partition: simlify calling plugin methods
wci: misc: removed build_name API
wic: move 2 APIs to wic.engine
wic: move oe/misc.py one level up
wic: removed code from __init__.py
wic: msger.py: remove unused APIs
wic: code cleanup
wic: remove syslinux.py
scripts/lib/wic/__init__.py | 4 -
scripts/lib/wic/__version__.py | 1 -
scripts/lib/wic/conf.py | 103 --------
scripts/lib/wic/config/wic.conf | 6 -
scripts/lib/wic/creator.py | 19 --
scripts/lib/wic/engine.py | 39 ++-
scripts/lib/wic/help.py | 4 +-
scripts/lib/wic/imager/__init__.py | 0
scripts/lib/wic/ksparser.py | 2 +-
scripts/lib/wic/msger.py | 26 --
scripts/lib/wic/partition.py | 66 ++---
scripts/lib/wic/plugin.py | 5 +-
scripts/lib/wic/pluginbase.py | 1 -
scripts/lib/wic/{ => plugins}/imager/direct.py | 139 ++++++-----
scripts/lib/wic/plugins/imager/direct_plugin.py | 103 --------
scripts/lib/wic/plugins/source/bootimg-efi.py | 20 +-
.../lib/wic/plugins/source/bootimg-partition.py | 6 +-
scripts/lib/wic/plugins/source/bootimg-pcbios.py | 12 +-
scripts/lib/wic/plugins/source/fsimage.py | 2 +-
.../lib/wic/plugins/source/isoimage-isohybrid.py | 15 +-
scripts/lib/wic/plugins/source/rawcopy.py | 3 +-
scripts/lib/wic/plugins/source/rootfs.py | 6 +-
.../lib/wic/plugins/source/rootfs_pcbios_ext.py | 46 +++-
scripts/lib/wic/test | 1 -
scripts/lib/wic/utils/misc.py | 274 +++++++++++++++------
scripts/lib/wic/utils/oe/misc.py | 247 -------------------
scripts/lib/wic/utils/partitionedfs.py | 7 +-
scripts/lib/wic/utils/syslinux.py | 58 -----
scripts/wic | 2 +-
29 files changed, 426 insertions(+), 791 deletions(-)
delete mode 100644 scripts/lib/wic/__version__.py
delete mode 100644 scripts/lib/wic/conf.py
delete mode 100644 scripts/lib/wic/config/wic.conf
delete mode 100644 scripts/lib/wic/imager/__init__.py
rename scripts/lib/wic/{ => plugins}/imager/direct.py (80%)
delete mode 100644 scripts/lib/wic/plugins/imager/direct_plugin.py
delete mode 100644 scripts/lib/wic/test
delete mode 100644 scripts/lib/wic/utils/oe/misc.py
delete mode 100644 scripts/lib/wic/utils/syslinux.pySignature · 1 line
2.1.4