Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 00/18] #10619: refactor wic codebase (start)
@ 2017-02-01 13:48 Ed Bartosh
  2017-02-01 13:48 ` [PATCH 01/18] wic: creator: stop using config manager Ed Bartosh
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Ed Bartosh @ 2017-02-01 13:48 UTC (permalink / raw)
  To: openembedded-core

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.py

-- 
2.1.4



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2017-02-01 14:11 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-01 13:48 [PATCH 00/18] #10619: refactor wic codebase (start) Ed Bartosh
2017-02-01 13:48 ` [PATCH 01/18] wic: creator: stop using config manager Ed Bartosh
2017-02-01 13:48 ` [PATCH 02/18] wic: direct_plugin: " Ed Bartosh
2017-02-01 13:48 ` [PATCH 03/18] wic: removed conf.py and empty config file Ed Bartosh
2017-02-01 13:48 ` [PATCH 04/18] wic: moved content of direct.py to direct_plugin Ed Bartosh
2017-02-01 13:48 ` [PATCH 05/18] wic: get rid of __rootfs_dir_to_dict method Ed Bartosh
2017-02-01 13:48 ` [PATCH 06/18] wic: improve naming in direct_plugin classes Ed Bartosh
2017-02-01 13:48 ` [PATCH 07/18] wic: pylinted direct_plugin Ed Bartosh
2017-02-01 13:48 ` [PATCH 08/18] wic: simplified code of direct_plugin Ed Bartosh
2017-02-01 13:48 ` [PATCH 09/18] wic: renamd direct_plugin.py -> direct.py Ed Bartosh
2017-02-01 13:48 ` [PATCH 10/18] wic: removed test file Ed Bartosh
2017-02-01 13:48 ` [PATCH 11/18] wic: partition: simlify calling plugin methods Ed Bartosh
2017-02-01 13:48 ` [PATCH 12/18] wci: misc: removed build_name API Ed Bartosh
2017-02-01 13:48 ` [PATCH 13/18] wic: move 2 APIs to wic.engine Ed Bartosh
2017-02-01 13:48 ` [PATCH 14/18] wic: move oe/misc.py one level up Ed Bartosh
2017-02-01 13:48 ` [PATCH 15/18] wic: removed code from __init__.py Ed Bartosh
2017-02-01 13:48 ` [PATCH 16/18] wic: msger.py: remove unused APIs Ed Bartosh
2017-02-01 13:48 ` [PATCH 17/18] wic: code cleanup Ed Bartosh
2017-02-01 13:48 ` [PATCH 18/18] wic: remove syslinux.py Ed Bartosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox