Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [PATCH 0/1] Hob: bug-fixes
@ 2012-04-16 10:09 Liming An
  0 siblings, 0 replies; 10+ messages in thread
From: Liming An @ 2012-04-16 10:09 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 2ddf7d3e8326e8cb07101ddb2d6e5dc6866371e2:

  gcc-configure-common.inc: Stop gcc looking at build system paths (2012-04-15 18:09:57 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-another
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-another

Liming An (1):
  Hob: fixed a little view issue about package selection page

 bitbake/lib/bb/ui/crumbs/hobwidget.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-- 
1.7.5.4




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

* [PATCH 0/1] Hob: bug-fixes
@ 2012-04-16 10:11 Liming An
  0 siblings, 0 replies; 10+ messages in thread
From: Liming An @ 2012-04-16 10:11 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 2ddf7d3e8326e8cb07101ddb2d6e5dc6866371e2:

  gcc-configure-common.inc: Stop gcc looking at build system paths (2012-04-15 18:09:57 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-another
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-another

Liming An (1):
  Hob: fixed a little view issue about package selection page

 bitbake/lib/bb/ui/crumbs/hobwidget.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

-- 
1.7.5.4




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

* [PATCH 0/1] Hob: bug-fixes
@ 2012-05-24 11:07 Liming An
  2012-05-25 10:11 ` Richard Purdie
  0 siblings, 1 reply; 10+ messages in thread
From: Liming An @ 2012-05-24 11:07 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 6558abda67956e4fab1304b0cdf03c65f18fabd5:

  qemu: disable vnc-jpeg compression (2012-05-24 08:53:57 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue

Liming An (1):
  Hob:fixed the issue of primary button is not an 'orange hob button'

 bitbake/lib/bb/ui/crumbs/imagedetailspage.py |   27 +++++++++++++++----------
 meta/conf/machine/include/qemu.inc           |    2 +-
 2 files changed, 17 insertions(+), 12 deletions(-)

-- 
1.7.5.4




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

* Re: [PATCH 0/1] Hob: bug-fixes
  2012-05-24 11:07 Liming An
@ 2012-05-25 10:11 ` Richard Purdie
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Purdie @ 2012-05-25 10:11 UTC (permalink / raw)
  To: Liming An; +Cc: bitbake-devel

On Thu, 2012-05-24 at 19:07 +0800, Liming An wrote:
> The following changes since commit 6558abda67956e4fab1304b0cdf03c65f18fabd5:
> 
>   qemu: disable vnc-jpeg compression (2012-05-24 08:53:57 +0100)
> 
> are available in the git repository at:
>   git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue
> 
> Liming An (1):
>   Hob:fixed the issue of primary button is not an 'orange hob button'
> 
>  bitbake/lib/bb/ui/crumbs/imagedetailspage.py |   27 +++++++++++++++----------
>  meta/conf/machine/include/qemu.inc           |    2 +-
>  2 files changed, 17 insertions(+), 12 deletions(-)

Merged to master, thanks.

Richard





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

* [PATCH 0/1] Hob: bug-fixes
@ 2012-05-25 10:37 Liming An
  0 siblings, 0 replies; 10+ messages in thread
From: Liming An @ 2012-05-25 10:37 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 17f3435f68932056c44f4f8a2ba7838225eac396:

  Hob:fixed the issue of primary button is not an 'orange hob button' (2012-05-25 18:33:34 +0800)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue

Liming An (1):
  Hob: Fixed a compatible issue for indicator icon view

 bitbake/lib/bb/ui/crumbs/hobwidget.py |   51 +++++---------------------------
 1 files changed, 8 insertions(+), 43 deletions(-)

-- 
1.7.5.4




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

* [PATCH 0/1] Hob: bug-fixes
@ 2012-06-28 11:54 Liming An
  0 siblings, 0 replies; 10+ messages in thread
From: Liming An @ 2012-06-28 11:54 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit bcc04b2880b44140176e1d2dcc955a3d3942c392:

  tiny-init: Basic init mechanism for poky-tiny (2012-06-26 15:34:40 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue

Liming An (1):
  Hob: change 'run image' and 'deploy' Gui and work flow for building
    detail page

 bitbake/lib/bb/ui/crumbs/imagedetailspage.py |  212 ++++++++++++--------------
 1 files changed, 98 insertions(+), 114 deletions(-)

-- 
1.7.5.4




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

* [PATCH 0/1] Hob: bug-fixes
@ 2012-07-03 11:15 Liming An
  2012-07-04 13:43 ` Richard Purdie
  0 siblings, 1 reply; 10+ messages in thread
From: Liming An @ 2012-07-03 11:15 UTC (permalink / raw)
  To: bitbake-devel

Due in my mistake there has a high level bug, so fixed it, please to review.
Thanks!

The following changes since commit 644ad4bf1e30fcee4b9d5abb819046d1f2193d27:

  documentation/bsp-guide/bsp.xml: Yocto term paring (2012-07-02 16:47:45 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue

Liming An (1):
  Hob: fixed some variables not clean bug in detail page

 bitbake/lib/bb/ui/crumbs/imagedetailspage.py |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

-- 
1.7.5.4




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

* Re: [PATCH 0/1] Hob: bug-fixes
  2012-07-03 11:15 [PATCH 0/1] Hob: bug-fixes Liming An
@ 2012-07-04 13:43 ` Richard Purdie
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Purdie @ 2012-07-04 13:43 UTC (permalink / raw)
  To: Liming An; +Cc: bitbake-devel

On Tue, 2012-07-03 at 19:15 +0800, Liming An wrote:
> Due in my mistake there has a high level bug, so fixed it, please to review.
> Thanks!
> 
> The following changes since commit 644ad4bf1e30fcee4b9d5abb819046d1f2193d27:
> 
>   documentation/bsp-guide/bsp.xml: Yocto term paring (2012-07-02 16:47:45 +0100)
> 
> are available in the git repository at:
>   git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue
> 
> Liming An (1):
>   Hob: fixed some variables not clean bug in detail page

Merged to master, thanks.

Richard




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

* [PATCH 0/1] hob:bug-fixes
@ 2012-08-17  2:47 Liming An
  2012-08-17  2:47 ` [PATCH 1/1] Hob: fixed the build image failure scenario Liming An
  0 siblings, 1 reply; 10+ messages in thread
From: Liming An @ 2012-08-17  2:47 UTC (permalink / raw)
  To: bitbake-devel

The following changes since commit 85c005d71c30bc5de61f9a9eb9818f37183af54b:

  tzdata: Upgrade tzdata to upstream 2012d (2012-08-02 23:21:12 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib limx/hob-bug-fixes-continue
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=limx/hob-bug-fixes-continue

Liming An (1):
  Hob: fixed the build image failure scenario

 bitbake/lib/bb/ui/crumbs/builddetailspage.py |   14 ++++++--------
 bitbake/lib/bb/ui/crumbs/builder.py          |    3 ++-
 bitbake/lib/bb/ui/crumbs/hobwidget.py        |    2 +-
 3 files changed, 9 insertions(+), 10 deletions(-)

-- 
1.7.5.4




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

* [PATCH 1/1] Hob: fixed the build image failure scenario
  2012-08-17  2:47 [PATCH 0/1] hob:bug-fixes Liming An
@ 2012-08-17  2:47 ` Liming An
  0 siblings, 0 replies; 10+ messages in thread
From: Liming An @ 2012-08-17  2:47 UTC (permalink / raw)
  To: bitbake-devel

As ui design,
1)change the primary button always to 'Edit image',
2)change the title to 'Hob cannot build the packages' when build
packages failure occur,
3)make the page transfer to 'Issue'

[YOCTO #2183]

Signed-off-by: Liming An <limingx.l.an@intel.com>
---
 bitbake/lib/bb/ui/crumbs/builddetailspage.py |   14 ++++++--------
 bitbake/lib/bb/ui/crumbs/builder.py          |    3 ++-
 bitbake/lib/bb/ui/crumbs/hobwidget.py        |    2 +-
 3 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
index 30eab29..9700de0 100755
--- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py
@@ -199,9 +199,7 @@ class BuildDetailsPage (HobPage):
         for child in children:
             self.remove(child)
 
-    def add_build_fail_top_bar(self, actions, log_file=None):
-        primary_action = "Edit %s" % actions
-
+    def add_build_fail_top_bar(self, primary_action, log_file=None):
         self.notebook.set_page("Issues")
 
         color = HobColors.ERROR
@@ -228,7 +226,7 @@ class BuildDetailsPage (HobPage):
         build_fail_tab.attach(label, 4, 40, 4, 9)
 
         # create button 'Edit packages'
-        action_button = HobButton(primary_action)
+        action_button = HobButton('Edit image')
         action_button.set_size_request(-1, 40)
         action_button.connect('clicked', self.failure_primary_action_button_clicked_cb, primary_action)
         build_fail_tab.attach(action_button, 4, 13, 9, 12)
@@ -249,7 +247,7 @@ class BuildDetailsPage (HobPage):
 
     def show_fail_page(self, title, action_names):
         self._remove_all_widget()
-        self.title = "Hob cannot build your %s" % title
+        self.title = "Hob cannot build %s" % title
 
         self.build_fail_bar = self.add_build_fail_top_bar(action_names, self.builder.current_logfile)
 
@@ -318,11 +316,11 @@ class BuildDetailsPage (HobPage):
         self.config_tv.show(configurations, params)
 
     def failure_primary_action_button_clicked_cb(self, button, action):
-        if "Edit recipes" in action:
+        if "recipes" in action:
             self.builder.show_recipes()
-        elif "Edit packages" in action:
+        elif "packages" in action:
             self.builder.show_packages()
-        elif "Edit image configuration" in action:
+        elif "image configuration" in action:
             self.builder.show_configuration()
 
     def failure_open_log_button_clicked_cb(self, button, log_file):
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index cb2338e..2be363f 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -918,7 +918,8 @@ class Builder(gtk.Window):
             elif self.current_step == self.PACKAGE_GENERATING:
                 fail_to_next_edit = "recipes"
                 fraction = 1.0
-            self.build_details_page.show_fail_page(fail_to_next_edit.split(' ')[0], fail_to_next_edit)
+            title = "the packages" if (self.current_step == self.PACKAGE_GENERATING) else "your image"
+            self.build_details_page.show_fail_page(title, fail_to_next_edit)
             status = "fail"
             message = "Build failed: "
         self.build_details_page.update_progress_bar(message, fraction, status)
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py
index d10c56b..9ccb01f 100644
--- a/bitbake/lib/bb/ui/crumbs/hobwidget.py
+++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py
@@ -537,7 +537,7 @@ class HobNotebook(gtk.Notebook):
         for child in self.pages:
             if child.lbl.get_label() == title:
                 child.grab_focus()
-                self.set_current_page(self.page_num(child))
+                self.set_current_page(self.pages.index(child))
 
 class HobWarpCellRendererText(gtk.CellRendererText):
     def __init__(self, col_number):
-- 
1.7.5.4




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

end of thread, other threads:[~2012-08-17  2:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17  2:47 [PATCH 0/1] hob:bug-fixes Liming An
2012-08-17  2:47 ` [PATCH 1/1] Hob: fixed the build image failure scenario Liming An
  -- strict thread matches above, loose matches on Subject: below --
2012-07-03 11:15 [PATCH 0/1] Hob: bug-fixes Liming An
2012-07-04 13:43 ` Richard Purdie
2012-06-28 11:54 Liming An
2012-05-25 10:37 Liming An
2012-05-24 11:07 Liming An
2012-05-25 10:11 ` Richard Purdie
2012-04-16 10:11 Liming An
2012-04-16 10:09 Liming An

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox