<?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>9537</bug_id>
          
          <creation_ts>2016-04-27 23:59:15 +0000</creation_ts>
          <short_desc>recipetool: support node.js code outside of npm</short_desc>
          <delta_ts>2016-09-08 04:58:55 +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.0</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>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Francisco Pedraza">francisco.j.pedraza.gonzalez</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61762</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-04-27 23:59:15 +0000</bug_when>
    <thetext>At the moment you can create a recipe for a Node.js module and its dependencies if you use npm to fetch the source, however if you point to a git repository or tarball of the source, it will recognise that it&apos;s Node.js code but doesn&apos;t know how to resolve the dependencies (since that his handled within BitBake&apos;s npm fetcher). We need to ensure the dependencies get brought in somehow.

An example:

 https://github.com/01org/SmartHome-Demo

We should also get to the point where creating the recipe for a module found through npm gives you pretty much the same built result (at least in terms of package names) as pointing recipetool at the git repository for that same module.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65792</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-09-05 04:10:20 +0000</bug_when>
    <thetext>I hadn&apos;t intended to but I&apos;ve pretty much ended up fixing this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65904</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-09-08 04:58:55 +0000</bug_when>
    <thetext>Merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eb53750ab705bf340a588f91e3da3a1c81234e9b
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=5ab68677140ad6ffab7fbdeee6caeb19f4d80cba
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3a0f5d95a7b6fc3557702c7fcd07ec64d37d2736
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fa90c2f54d7954dd3149404b38a0899d2e4962cf
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ff259b095d1a84d1dc9b004c669c8f35659c3c2b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>