All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hob: during recipe parsing, progress bar text provides details about the process state
@ 2012-10-25 13:43 Cristiana Voicu
  2012-10-27  8:56 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Cristiana Voicu @ 2012-10-25 13:43 UTC (permalink / raw)
  To: bitbake-devel

- indicating on progress bar that hob has gone from parsing
recipes to "Generating dependency tree"; this will provide
some visibility of what has caused the "stop" button state
to change

[YOCTO #3282]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
---
 bitbake/lib/bb/ui/crumbs/builder.py |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index 2fc4a29..67d7de8 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -962,7 +962,10 @@ class Builder(gtk.Window):
         else:
             self.image_configuration_page.stop_button.set_sensitive(True)
 
-        self.image_configuration_page.update_progress_bar(message["title"], fraction)
+        if message["eventname"] == "TreeDataPreparationProgress":
+            self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction)
+        else:
+            self.image_configuration_page.update_progress_bar(message["title"], fraction)
 
     def handler_parsing_cb(self, handler, message):
         if self.current_step != self.RCPPKGINFO_POPULATING:
@@ -973,7 +976,10 @@ class Builder(gtk.Window):
             fraction = 0.6 + 0.38 * fraction
         else:
             fraction = 0.6 * fraction
-        self.image_configuration_page.update_progress_bar(message["title"], fraction)
+        if message["eventname"] == "TreeDataPreparationProgress":
+            self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction)
+        else: 
+            self.image_configuration_page.update_progress_bar(message["title"], fraction)
 
     def handler_parsing_completed_cb(self, handler, message):
         if self.current_step != self.RCPPKGINFO_POPULATING:
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hob: during recipe parsing, progress bar text provides details about the process state
  2012-10-25 13:43 [PATCH] hob: during recipe parsing, progress bar text provides details about the process state Cristiana Voicu
@ 2012-10-27  8:56 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2012-10-27  8:56 UTC (permalink / raw)
  To: Cristiana Voicu; +Cc: bitbake-devel

On Thu, 2012-10-25 at 16:43 +0300, Cristiana Voicu wrote:
> - indicating on progress bar that hob has gone from parsing
> recipes to "Generating dependency tree"; this will provide
> some visibility of what has caused the "stop" button state
> to change
> 
> [YOCTO #3282]
> Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
> ---
>  bitbake/lib/bb/ui/crumbs/builder.py |   10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-27  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-25 13:43 [PATCH] hob: during recipe parsing, progress bar text provides details about the process state Cristiana Voicu
2012-10-27  8:56 ` Richard Purdie

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.