Skip to content

RFC process cmd line parsing result by individual UI

Lianhao Lu bitbake-devel 1 version Applied

Status from this message: Merged to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest1 patch 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1bitbake cooker/ui: handle cmd line parsing result by individual UI.bitbake/lib/bb/cooker.py bitbake/lib/bb/ui/depexp.py bitbake/lib/bb/ui/goggle.py +2 more+36 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/1] process cmd line parsing result by individual UI

This patch tries to allow the individual UI to decide whether it should display the cmd line parsing result.

The command "getCmdLineAction" now returns either None or a dictionary with the key of {'action', 'msg'}.

If it returns None, it means no command line action parameters are provided.

If it returns a dictionary, the entry of the key 'action' stores the list which should be used with server.runCommand(); the entry of the key 'msg' stores the error message from the cmd line parsing result (in which case the 'action' entry is None).

It is up to the individual UI to decide whether and how to display those parsing result.

Please review the following changes for suitability for inclusion. If you have any objections or suggestions for improvement, please respond to the patches. If you agree with the changes, please provide your Acked-by.

The following changes since commit a27fbe5e25a5aee956d2a43a2e2bf671c6d985f2:
Scott Rifenbark (1):
documentation/yocto-project-qs/yocto-project-qs.xml: removed 5.0 references

are available in the git repository at:

git://git.pokylinux.org/poky-contrib llu/cmdLineParsing
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/cmdLineParsing

Lianhao Lu (1):
bitbake cooker/ui: handle cmd line parsing result by individual UI.

 bitbake/lib/bb/cooker.py     |   34 ++++++++++++++++------------------
 bitbake/lib/bb/ui/depexp.py  |    7 +++++--
 bitbake/lib/bb/ui/goggle.py  |    6 +++++-
 bitbake/lib/bb/ui/knotty.py  |    6 +++++-
 bitbake/lib/bb/ui/ncurses.py |    6 +++++-
 5 files changed, 36 insertions(+), 23 deletions(-)