[Toaster] [PATCH v3 0/6] Fixes for toastergui

Barros Pena, Belen belen.barros.pena at intel.com
Tue Sep 29 05:50:54 PDT 2015



On 29/09/2015 08:55, "toaster-bounces at yoctoproject.org on behalf of Ed
Bartosh" <toaster-bounces at yoctoproject.org on behalf of
ed.bartosh at linux.intel.com> wrote:

>Hi,
>
>This patchset fixes creation of Target objects for command line builds
>and couple of usability fixes for toastergui module.
>
>Changes in v2: used better name for the API: get_or_create_targets.
>Changes in v3: made sure 'build' task is not set in Target objects.
>               rebased pathset on top of poky-contrib:master-next
>
>The following changes since commit
>f8bd18184a84e6de1976ecb4d0d929c55bc19a66:
>
>  toaster: orm remove the complicated querying on the ORM (2015-09-28
>20:07:38 -0700)
>
>are available in the git repository at:
>
>  git://git.yoctoproject.org/poky-contrib ed/toaster/target-task
>  
>http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ed/toaster/target
>-task

I am a bit confused about what the UI is showing with these changes. This
is what I am seeing:

In analysis (interactive) mode, everything looks good. If I run

bitbake -c clean core-image-minimal

The Toaster UI shows me core-image-minimal:clean while the build is in
progress, and shows the same thing when the build completes

In build (managed) mode, if I run

core-image-minimal:clean

The Toaster UI shows me core-image-minimal:clean while the build is in
progress, but just 'core-image-minimal' once the build completes.

The behaviour in analysis mode is the correct one. I should see
target:task while the build is in progress and when the build completes.

Cheers

Belén


>
>Ed Bartosh (6):
>  event: add new property to BuildBase class
>  event: add new parameter to Build* event APIs
>  toaster: add task to the target_information
>  toaster: add get_or_create_targets API
>  toaster: ignore ReachableStamps event
>  toaster: use meaningful logging levels
>
> bitbake/lib/bb/cooker.py             |  8 ++++----
> bitbake/lib/bb/event.py              | 18 +++++++++++++-----
> bitbake/lib/bb/ui/buildinfohelper.py | 35
>+++++++++++++++++++++--------------
> bitbake/lib/bb/ui/toasterui.py       | 11 ++++++-----
> 4 files changed, 44 insertions(+), 28 deletions(-)
>
>-- 
>2.1.4
>
>-- 
>_______________________________________________
>toaster mailing list
>toaster at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/toaster



More information about the toaster mailing list