Bug 10464

Summary: recipetool: create: shows warning when fetching npm modules
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: Scripts and ToolsAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Medium CC: ross.burton
Version: 2.2   
Target Milestone: 2.3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 10653    

Description Paul Eggleton 2016-10-19 20:21:36 UTC
If you run devtool add / recipetool create on an npm module you'll get the following warnings:

----------- snip -----------
$ recipetool create "npm://registry.npmjs.org;name=cute-files;version=1.0.2"
NOTE: Fetching npm://registry.npmjs.org;name=cute-files;version=1.0.2...
WARNING: Missing shrinkwrap file in NPM_SHRINKWRAP for cute-files, this will lead to unreliable builds!
WARNING: Missing lockdown file in NPM_LOCKDOWN for cute-files, this will lead to unreproducible builds!
...
----------- snip -----------

These are entirely harmless (NPM_SHRINKWRAP and NPM_LOCKDOWN get calculated subsequently and set in the resulting recipe), and thus we should suppress them in this situation.