<?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>10515</bug_id>
          
          <creation_ts>2016-10-28 00:09:06 +0000</creation_ts>
          <short_desc>devtool: if npm module version not specified, use latest</short_desc>
          <delta_ts>2020-05-17 02:52:24 +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>devtools / tool chain</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>Future</target_milestone>
          
          <blocked>10653</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry Bruce">henry.bruce</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jeanmarie.lemetayer</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67701</commentid>
    <comment_count>0</comment_count>
    <who name="Henry Bruce">henry.bruce</who>
    <bug_when>2016-10-28 00:09:06 +0000</bug_when>
    <thetext>Currently npm module version MUST be specified or &apos;devtool add&apos; will fail. 
Latest version this can be awkward to find so if version is not specified, automatically find latest and use it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87221</commentid>
    <comment_count>1</comment_count>
    <who name="Jean-Marie Lemetayer">jeanmarie.lemetayer</who>
    <bug_when>2020-05-17 02:52:24 +0000</bug_when>
    <thetext>Now the &apos;latest&apos; keyword can be used. A warning is displayed to inform that the build is not reproducible using this feature. But this is really handy when creating the recipe with &apos;devtool add&apos;.

% devtool add &apos;npm://registry.npmjs.org;package=JSONStream;version=latest&apos;

...

WARNING: The npm package JSONStream@latest is using the latest version available. This could lead to non-reproducible builds.

...


INFO: Recipe /home/jmlemetayer/development/yolo-yocto/build/workspace/recipes/jsonstream/jsonstream_1.3.5.bb has been automatically created; further editing may be required to make it fully functional</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>