<?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>9563</bug_id>
          
          <creation_ts>2016-05-02 17:01:45 +0000</creation_ts>
          <short_desc>yocto-kernel script should use argparse instead of optparse library</short_desc>
          <delta_ts>2017-11-03 18:51: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>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Humberto Ibarra">humberto.ibarra.lopez</reporter>
          <assigned_to name="Daniela Plascencia">daniela.plascencia</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          <qa_contact name="Juan Ramos">juan.fernandox.ramos.frayle</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61848</commentid>
    <comment_count>0</comment_count>
    <who name="Humberto Ibarra">humberto.ibarra.lopez</who>
    <bug_when>2016-05-02 17:01:45 +0000</bug_when>
    <thetext>Similar issue to the one described in #8321, only this applies to yocto-kernel instead of yocto-bsp script.

optparse library is deprecated since 2.7, scripts should use argparse instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63061</commentid>
    <comment_count>1</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-16 16:52:21 +0000</bug_when>
    <thetext>Humberto, optparse in python3 is still available so priority is a bit lower on this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63226</commentid>
    <comment_count>2</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-21 20:35:41 +0000</bug_when>
    <thetext>some related info on this transition https://docs.python.org/2/library/argparse.html#upgrading-optparse-code</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63312</commentid>
    <comment_count>3</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2016-06-23 19:54:09 +0000</bug_when>
    <thetext>My fault, moving it to M1 again. CCB should agree on any milestone movement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70153</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-01-25 20:29:02 +0000</bug_when>
    <thetext>This is not a priority right now so moving it to next release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77955</commentid>
    <comment_count>5</comment_count>
    <who name="Daniela Plascencia">daniela.plascencia</who>
    <bug_when>2017-11-03 18:51:26 +0000</bug_when>
    <thetext>The yocto-kernel script, along with yocto-bsp and yocto-layer, will be removed from public repositories soon as they are no longer maintained. The request was sent to the mailing list [1], meaning this issue is obsolete.

[1] https://lists.yoctoproject.org/pipermail/poky/2017-October/011135.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>