All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Lock <josh@linux.intel.com>
To: niqingliang@insigma.com.cn
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: HOB usage
Date: Mon, 19 Dec 2011 11:27:51 -0800	[thread overview]
Message-ID: <4EEF9037.5090700@linux.intel.com> (raw)
In-Reply-To: <1324284435.1294.150.camel@localhost.localdomain>

On 19/12/11 00:47, Ni Qingliang wrote:
> https://niqingliang2003.files.wordpress.com/2011/12/taijitu.png
> I have wrote a GUI tool for internal use, 
> is it possible to implement thus GUI tool for yocto?
> the attachement is the UI.
> 
> every circle represents one package, the arrow between them represents
> the dependency.
> indeed, the dependency relation in this tool is defined by custom config
> file, but I think maybe I can use the relation exported from bitbake, is
> it possible or easily to implement?

In short, yes - it's possible to implement such a tool for Yocto.

BitBake has a dependency viewer GUI already, it uses a set of tables
rather than a graph of nodes - presumably because the graph is *very*
large once you get past a trivial build.

You can play with the depexp by invoking:
bitbake -g -u depexp some-build-target

Internally BitBake generates a data structure of the interdependencies
(the g switch) which by default outputs a graphviz .dot file.
The -u depexp tells BitBake to instead draw the data structure using the
depexp GUI (lib/bb/ui/depexp.py).

Extending this GUI to offer a graph view might be interesting, the
difficulty will be in helping folks navigate the enormous graph...

Regards,
Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre


  reply	other threads:[~2011-12-19 19:27 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05 18:35 HOB usage madeeha javed
2011-12-08 21:57 ` Joshua Lock
2011-12-09  4:52   ` Sathishkumar Duraisamy
2011-12-09  4:58     ` Joshua Lock
2011-12-09  5:07       ` Sathishkumar Duraisamy
2011-12-09  5:18         ` Sathishkumar Duraisamy
2011-12-09 19:06           ` Joshua Lock
2011-12-09 19:38         ` Joshua Lock
2011-12-12  5:20           ` Sathishkumar Duraisamy
2011-12-13 20:14             ` Joshua Lock
2011-12-19  8:47   ` Ni Qingliang
2011-12-19 19:27     ` Joshua Lock [this message]
2011-12-20  1:02       ` Ni Qingliang
  -- strict thread matches above, loose matches on Subject: below --
2012-01-11  3:56 hob usage Jim Abernathy
2012-01-11  5:29 ` McClintock Matthew-B29882

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=4EEF9037.5090700@linux.intel.com \
    --to=josh@linux.intel.com \
    --cc=niqingliang@insigma.com.cn \
    --cc=yocto@yoctoproject.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.