<?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>3352</bug_id>
          
          <creation_ts>2012-10-29 17:21:12 +0000</creation_ts>
          <short_desc>Improve smart error/status reporting</short_desc>
          <delta_ts>2013-03-21 14:13:19 +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>OE-Core</product>
          <component>core</component>
          <version>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Bogdan Marinescu">bogdan.a.marinescu</assigned_to>
          <cc>alexandru.damian</cc>
    
    <cc>alexandrux.palalau</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</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>27015</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-10-29 17:21:12 +0000</bug_when>
    <thetext>The smart utility&apos;s output leaves something to be desired. For example:

* smart doesn&apos;t seem to produce an error on invalid use of commands e.g. smart config name=value (should be smart config --set name=value in this case)
* --log-level=debug doesn&apos;t seem to actually print any additional information
* Blank lines seem to be printed a lot when ideally the output would be a bit more compact

This is a little open-ended and probably will involve some cooperation with upstream. We can sit down and document more of the undesirable reporting situations first if needed.

(This is less important than the rest of the smart work however and should not hold that back.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28341</commentid>
    <comment_count>1</comment_count>
    <who name="Bogdan Marinescu">bogdan.a.marinescu</who>
    <bug_when>2012-12-18 08:56:11 +0000</bug_when>
    <thetext>I uploaded a patch that addresses the first of the issues mentioned by Paul. The second one needs a bit of discussion. What kind of additional information would be needed in this case? I don&apos;t want to add too much information in the output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29038</commentid>
    <comment_count>2</comment_count>
    <who name="Bogdan Marinescu">bogdan.a.marinescu</who>
    <bug_when>2013-01-22 14:39:40 +0000</bug_when>
    <thetext>Swithing to NEEDINFO (see my previous question).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29084</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-01-23 14:24:44 +0000</bug_when>
    <thetext>It&apos;s hard to specify exactly what should be in the debug output, but a very good start would be to ensure RPM&apos;s own debugging output gets printed when --log-level=debug is specified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29812</commentid>
    <comment_count>4</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2013-02-14 15:57:47 +0000</bug_when>
    <thetext>Bogdan,

Please see Paul&apos;s last comments</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30443</commentid>
    <comment_count>5</comment_count>
    <who name="Bogdan Marinescu">bogdan.a.marinescu</who>
    <bug_when>2013-03-05 12:28:23 +0000</bug_when>
    <thetext>The general consensus seems to be that this bug is already fixed and additional bugs should be opened for more improvements in the areas of error reporting/improved debug information, so I&apos;m going to close this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30969</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-03-21 14:13:19 +0000</bug_when>
    <thetext>Verified on master branch.
Commit ID: a317cc911abe33d0f513d48e7bc4afd319c7e040</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>