Extending the tool in bug 6653, add the ability to "edit" an existing recipe and point it an external source tree managed with git. This will need the ability to translate from a set of patch files in the recipe to commits in a git tree and vice-versa.
This may obviate bug 6561.
And possibly bug 1652.
To be discussed internally with Lucian and Costin.
A new "devtool" utility with a "modify" command 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.
Verified with devtool selftest. [fed@fed build]$ oe-selftest --run-tests devtool │················· 2015-03-19 11:38:13,645 - selftest - INFO - Checking that everything is in order before running the tests │················· 2015-03-19 11:38:14,415 - selftest - INFO - Running bitbake -p │················· 2015-03-19 11:38:16,613 - selftest - INFO - Loading tests from: oeqa.selftest.devtool │················· 2015-03-19 11:38:16,622 - selftest - INFO - Adding: "include selftest.inc" in local.conf │················· test_create_workspace (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_devtool_add (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_devtool_add_library (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_devtool_extract (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_devtool_modify (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_devtool_modify_git (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_devtool_update_recipe (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_devtool_update_recipe_git (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_recipetool_create (oeqa.selftest.devtool.DevtoolTests) ... ok │················· test_recipetool_create_git (oeqa.selftest.devtool.DevtoolTests) ... ok │················· │················· ---------------------------------------------------------------------- │················· Ran 10 tests in 586.325s │················· │················· OK