<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4352</bug_id>
          
          <creation_ts>2013-04-19 11:32:32 +0000</creation_ts>
          <short_desc>prune pn-depends.dot, packages-depends.dot and task-depends.dot</short_desc>
          <delta_ts>2013-07-15 03:21:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=4349</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.5 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>kai.kang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>32386</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-04-19 11:32:32 +0000</bug_when>
    <thetext>There are too many lines in pn-depends.dot, packages-depends.dot and task-depends.dot, which makes the output picture very big and hard to read, for example:

1) bitbake -g core-image-sato
2) dot -Tpng -o pn-depend.png pn-depends.dot

Then pn-depend.png would be around 5M, and the size is 32767 * 438 pixes, a very *long* picture.

Maybe we can remove the indirect depends to make it more readable, for example:

   A -&gt; B
   B -&gt; C
   A -&gt; C 

The &quot;A -&gt; C&quot; can be removed/hided

We may do it in either of the following way:

1) Enhance &quot;bitbake -g&quot; to remove/hide the indirect depends.

Or

2) Add a single script in oe-core/scripts to remove/hide the indirect depends for the dot file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34551</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2013-07-15 03:21:49 +0000</bug_when>
    <thetext>Command &apos;tred&apos; from package ghaphviz is used to remove edges implied by transitivity in dot file.

See also: http://manned.org/tred/fa776c87

So this feature could be closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>