Fix for #9636: wic script should use argparse instead of optparse
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | wic: Use argparse instead of optparsescripts/ scripts/ scripts/ | +154 | 0 replies | |
| 2/3 | wic: Add missing text to usage and help stringsscripts/ | +1 | 0 replies | |
| 3/3 | selftest: fix test_unsupported_subcommand test casemeta/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Fix for #9636: wic script should use argparse instead of optparse
Hi,
This patchset contains two patches from Andreas J. Reichel's patchset and a fix for wic test case.
Description taken from the original patchset:
wic uses optparse and a rather complicated approach of its initialization. It is much easier to switch from the deprecated optparse to the argparse library, which also supports sub-commands, which wic heavily makes use of.
The following changes since commit 381897c64069ea43d595380a3ae913bcc79cf7e1:
build-appliance-image: Update to master head revision (2017-05-01 08:56:47 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib ed/wic/wip
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/wic/wip
Andreas J. Reichel (2):
wic: Use argparse instead of optparse
wic: Add missing text to usage and help strings
Ed Bartosh (1):
selftest: fix test_unsupported_subcommand test case
meta/lib/oeqa/selftest/wic.py | 3 +- scripts/lib/wic/engine.py | 11 ++- scripts/lib/wic/help.py | 25 +++-- scripts/wic | 213 ++++++++++++++++++++++++++---------------- 4 files changed, 156 insertions(+), 96 deletions(-)
--
Regards,
Ed