All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 00/18] #10619: refactor wic codebase (start)
Date: Wed,  1 Feb 2017 15:48:07 +0200	[thread overview]
Message-ID: <cover.1485953483.git.ed.bartosh@linux.intel.com> (raw)

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



             reply	other threads:[~2017-02-01 14:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-01 13:48 Ed Bartosh [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1485953483.git.ed.bartosh@linux.intel.com \
    --to=ed.bartosh@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.