Bug 6653

Summary: Add development wrapper tool
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: devtools / tool chainAssignee: Paul Eggleton <bluelightning>
Status: VERIFIED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: enhancement    
Priority: Medium+ CC: alexandru.c.georgescu, costin.c.constantin, georgex.l.musat, meta.mr.watcher, meta.watcher
Version: 1.7   
Target Milestone: 1.8 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 6406    
Bug Blocks: 6654, 6655, 6656, 6657, 6658, 6661, 6662    

Description Paul Eggleton 2014-08-24 16:45:45 UTC
Create a tool for developers which wraps around bitbake to provide an easy way to add a recipe and build it without having to deal with the build system directly. The tool should have a record of which recipes the user is working on. The base functionality of the tool should be as follows:

* Add a recipe, have point its build from a local source tree (using externalsrc) and have it tracked by the tool
* View status i.e. added recipes
* Reset (remove local changes)
* Build a recipe which has been added
* Add options to force reconfigure, clean, etc.

We probably want to think about what kind of output we want during the build - verbose output from the build tasks is probably more interesting to the user than just bitbake listing what tasks have executed.

(This tool will form part of the SDK, but may also be able to be used outside of the SDK as well).
Comment 1 Paul Eggleton 2014-12-26 12:23:22 UTC
A new "devtool" utility was added to master in the following commit (a number of earlier supporting commits are also required):

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cd5ca4a11daff2089ba3031103b9b9dab5b3c94e

Some basic QA tests have been added in meta/lib/oeqa/selftest/devtool.py. Documentation is still pending.
Comment 2 Alexandru Georgescu 2015-03-19 10:06:40 UTC
Verified. The tool works fine using the latest master (2015-03-19)