<?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>1145</bug_id>
          
          <creation_ts>2011-06-06 14:16:42 +0000</creation_ts>
          <short_desc>Make bitbake output less noisy for non-error cases</short_desc>
          <delta_ts>2012-04-23 14:20:26 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P1)(QA Testing Completed) (Testing)</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          <blocked>1543</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Scott Garman">scott.a.garman</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</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>14194</commentid>
    <comment_count>0</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-06-06 14:16:42 +0000</bug_when>
    <thetext>When soliciting input on error annoyances with bitbake, multiple people brought up that they felt the default UI is too verbose. 

Phil Blundell suggested that the task &quot;Started&quot; and &quot;Succeeded&quot; messages could be removed without losing important information. However, Chris Larson noted that postprocessing scripts may need to know when tasks start and complete. 

This suggests to me that some way of enabling/disabling this behavior may be a good compromise - disable the messages by default for humans, but allow it to be enabled for postprocessing (autobuilders, etc).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18019</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-01-09 06:29:49 +0000</bug_when>
    <thetext>For the feature, I think QA need to design test case to disable/enable the &quot;Start&quot; &quot;Succeeded&quot; messages and check if it works. I will mark the bug as &quot;Test Plan Ready&quot;.
Scott,
If you have more suggestions about testing for the feature, pls. tell me.

Thanks a lot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19130</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-15 11:50:20 +0000</bug_when>
    <thetext>This issue is a tricky one since we do want the user to be aware of bitbake&apos;s progress but we don&apos;t want to drown them in information.

I&apos;ve been experimenting with a alternative terminal UI to the progress information in the form of an updating footer to the log messages, see http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/wip2&amp;id=f815e2120b22f011b16f6f31b9e049937562e45b

Here, we add a footer to the output which states task X of Y completed and then lists the currently active tasks. Existing log messages scroll as usual above the footer. Since the footer has all the appropriate information, we could then suppress the started/succeeded messages from the console.

For application compatibility, this functionality is only active on interactive terminals, non-interactive terminals would see the usual messages.

Current status of the code is that it works but:
  * We need to suppress the started/suceeded/running X messages
  * For larger numbers of processes, it refreshes too fast to read (need to time 
    limit the refresh)
  * The list of currently active processes should be sorted (currently 
    effectively random)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19629</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-03-29 18:49:49 +0000</bug_when>
    <thetext>This has been implemented as an alternative UI for the 1.2 release. It can be used adding the &quot;-u knotty2&quot; option to bitbake. This may become the default depending on user feedback.

The issues I mentioned in a previous entry here were all fixed.

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=eeb0529e138fa95db8fc6ed74bcaee87804fcb6c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20694</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-04-19 02:50:35 +0000</bug_when>
    <thetext>Test the feature with denzil branch, it could work. Verify the bug as fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>