* [PULL] fixes in Dependency Explorer
@ 2016-06-07 15:15 Woronicz, Bartosz ( NSN - PL/Wroclaw)
2016-06-10 11:58 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: Woronicz, Bartosz ( NSN - PL/Wroclaw) @ 2016-06-07 15:15 UTC (permalink / raw)
To: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 111 bytes --]
--
Kind regards,
Bartosz Woronicz
Engineer, Software Configuration (SCM)
Nokia Networks - PL/Wroclaw
[-- Attachment #2: 0001-depexp-remove-the-requirement-for-g-flag.patch --]
[-- Type: text/x-patch, Size: 984 bytes --]
From 11f4a3e137e2eda76c8dce44c053d0db68d6b208 Mon Sep 17 00:00:00 2001
From: Bartosz Wieslaw Woronicz <bartosz.woronicz@nokia.com>
Date: Tue, 7 Jun 2016 17:08:16 +0200
Subject: [PATCH 1/2] depexp: remove the requirement for -g flag
---
bitbake/lib/bb/ui/depexp.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py
index 240aafc..6a6bfd5 100644
--- a/bitbake/lib/bb/ui/depexp.py
+++ b/bitbake/lib/bb/ui/depexp.py
@@ -202,9 +202,6 @@ def main(server, eventHandler, params):
print(cmdline['msg'])
return 1
cmdline = cmdline['action']
- if not cmdline or cmdline[0] != "generateDotGraph":
- print("This UI requires the -g option")
- return 1
ret, error = server.runCommand(["generateDepTreeEvent", cmdline[1], cmdline[2]])
if error:
print("Error running command '%s': %s" % (cmdline, error))
--
2.5.0
[-- Attachment #3: 0002-depexp-fix-progress-bar.patch --]
[-- Type: text/x-patch, Size: 2074 bytes --]
From 12215390bb16980c6aae5039c7cc6f6eceb1fa4e Mon Sep 17 00:00:00 2001
From: Bartosz Wieslaw Woronicz <bartosz.woronicz@nokia.com>
Date: Tue, 7 Jun 2016 17:09:16 +0200
Subject: [PATCH 2/2] depexp: fix progress bar
---
bitbake/lib/bb/ui/depexp.py | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/ui/depexp.py b/bitbake/lib/bb/ui/depexp.py
index 6a6bfd5..0778f9d 100644
--- a/bitbake/lib/bb/ui/depexp.py
+++ b/bitbake/lib/bb/ui/depexp.py
@@ -264,7 +264,6 @@ def main(server, eventHandler, params):
continue
if isinstance(event, bb.event.CacheLoadCompleted):
- bardialog.hide()
continue
if isinstance(event, bb.event.ParseStarted):
@@ -277,6 +276,17 @@ def main(server, eventHandler, params):
gtk.gdk.threads_leave()
+ if isinstance(event, bb.event.TreeDataPreparationStarted):
+ bardialog.set_title("Processing tree data")
+ bardialog.vbox.remove(pbar)
+ bardialog.vbox.pack_start(
+ gtk.Label(str="Generating dependency graph data... please wait..."))
+ bardialog.show_all()
+ continue
+
+ if isinstance(event, bb.event.TreeDataPreparationProgress):
+ continue
+
if isinstance(event, bb.event.ParseProgress):
x = event.current
gtk.gdk.threads_enter()
@@ -286,13 +296,13 @@ def main(server, eventHandler, params):
continue
if isinstance(event, bb.event.ParseCompleted):
- bardialog.hide()
continue
if isinstance(event, bb.event.DepTreeGenerated):
gtk.gdk.threads_enter()
dep.parse(event._depgraph)
gtk.gdk.threads_leave()
+ bardialog.hide()
if isinstance(event, bb.command.CommandCompleted):
continue
--
2.5.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PULL] fixes in Dependency Explorer
2016-06-07 15:15 [PULL] fixes in Dependency Explorer Woronicz, Bartosz ( NSN - PL/Wroclaw)
@ 2016-06-10 11:58 ` Burton, Ross
2016-06-10 16:28 ` Woronicz, Bartosz ( NSN - PL/Wroclaw)
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2016-06-10 11:58 UTC (permalink / raw)
To: Woronicz, Bartosz ( NSN - PL/Wroclaw); +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 474 bytes --]
Hi Bartosz,
Please can you re-send these to the bitbake list?
Thanks,
Ross
On 7 June 2016 at 16:15, Woronicz, Bartosz ( NSN - PL/Wroclaw) <
bartosz.woronicz@nokia.com> wrote:
>
> --
> Kind regards,
> Bartosz Woronicz
> Engineer, Software Configuration (SCM)
> Nokia Networks - PL/Wroclaw
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
[-- Attachment #2: Type: text/html, Size: 1042 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PULL] fixes in Dependency Explorer
2016-06-10 11:58 ` Burton, Ross
@ 2016-06-10 16:28 ` Woronicz, Bartosz ( NSN - PL/Wroclaw)
0 siblings, 0 replies; 3+ messages in thread
From: Woronicz, Bartosz ( NSN - PL/Wroclaw) @ 2016-06-10 16:28 UTC (permalink / raw)
Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 798 bytes --]
Yeah, sure. I will send them on Monday. Thanks!
Kind regards,
Bartosz Woronicz
Engineer, Software Configuration (SCM)
Nokia Networks - PL/Wroclaw
On 10.06.2016 13:58, Burton, Ross wrote:
> Hi Bartosz,
>
> Please can you re-send these to the bitbake list?
>
> Thanks,
> Ross
>
> On 7 June 2016 at 16:15, Woronicz, Bartosz ( NSN - PL/Wroclaw)
> <bartosz.woronicz@nokia.com <mailto:bartosz.woronicz@nokia.com>> wrote:
>
>
> --
> Kind regards,
> Bartosz Woronicz
> Engineer, Software Configuration (SCM)
> Nokia Networks - PL/Wroclaw
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
>
>
[-- Attachment #2: Type: text/html, Size: 2344 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-10 19:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 15:15 [PULL] fixes in Dependency Explorer Woronicz, Bartosz ( NSN - PL/Wroclaw)
2016-06-10 11:58 ` Burton, Ross
2016-06-10 16:28 ` Woronicz, Bartosz ( NSN - PL/Wroclaw)
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.