All of lore.kernel.org
 help / color / mirror / Atom feed
From: brian avery <avery.brian@gmail.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 0/7] toaster: allow setEventMask to be called by bitbake observer
Date: Wed,  2 Mar 2016 22:47:41 -0800	[thread overview]
Message-ID: <cover.1456987460.git.avery.brian@gmail.com> (raw)

This patchset is a preparation for the #7880 fix. This will allow the toasterui to work in build mode, i.e. with
bitbake <target> -u toasterui.

If you want to test this functionality you can do the following:
 - start Toaster
 - kill bitbake server and observer processes
 - unset BBSERVER
 - add INHERIT+="toaster buildhistory" line to conf/local.conf
 - run bitbake <target> -u toasterui

Expected outcome: you should see commandline build in UI without bitbake server
                  and observer running.

Also, I've discovered nasty bug in handling setEventMask by bitbake server while
working on this. It causes ignoring of the event mask set by toasterui. The result
of this is that list of events in _ev_list variable is different from the actual
list of events processed by toasterui.

Upstreamed for Ed,
-bavery

The following changes since commit ffce6a18876c3a0c949eb75f0ce2f9dc36054c83:

  toaster: remove sshbecontroller module (2016-03-02 20:31:08 -0800)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib bavery/submit/ed/toaster/toasterui-in-build-mode
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=bavery/submit/ed/toaster/toasterui-in-build-mode

Ed Bartosh (7):
  toasterui: reformat list of events
  toasterui: update list of events
  command: make setEventMask readonly
  toasterui: check if setEventMask succeeded
  toasterui: make toasterui to work in build mode
  toasterui: exit on final events
  toasterui: fix warning 'Unknown event'

 lib/bb/command.py      |  1 +
 lib/bb/ui/toasterui.py | 90 +++++++++++++++++++++++++++++++++++---------------
 2 files changed, 64 insertions(+), 27 deletions(-)

--
1.9.1


             reply	other threads:[~2016-03-03  6:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-03  6:47 brian avery [this message]
2016-03-03  6:47 ` [PATCH 1/7] toasterui: reformat list of events brian avery
2016-03-03  6:47 ` [PATCH 2/7] toasterui: update " brian avery
2016-03-03  6:47 ` [PATCH 3/7] command: make setEventMask readonly brian avery
2016-03-03  6:47 ` [PATCH 4/7] toasterui: check if setEventMask succeeded brian avery
2016-03-03  6:47 ` [PATCH 5/7] toasterui: make toasterui to work in build mode brian avery
2016-03-03  6:47 ` [PATCH 6/7] toasterui: exit on final events brian avery
2016-03-03  6:47 ` [PATCH 7/7] toasterui: fix warning 'Unknown event' brian avery

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.1456987460.git.avery.brian@gmail.com \
    --to=avery.brian@gmail.com \
    --cc=bitbake-devel@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.