Skip to content

devtool / recipetool bbappend support

Paul Eggleton openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5devtool / recipetool: ensure bb.note() gets printedscripts/lib/devtool/__init__.py scripts/lib/devtool/standard.py scripts/recipetool+9 -20 replies
2/5lib/oe/patch: use with open() for all file operationsmeta/lib/oe/patch.py+19 -210 replies
3/5oe-selftest: move recipetool tests to their own modulemeta/lib/oeqa/selftest/devtool.py meta/lib/oeqa/selftest/recipetool.py+77 -590 replies
4/5recipetool: add appendfile subcommandmeta-selftest/recipes-test/recipetool/files/add-file.patch meta-selftest/recipes-test/recipetool/files/file1 meta-selftest/recipes-test/recipetool/files/installscript.sh +15 more+1167 -70 replies
5/5devtool: update-recipe: add option to write changes to bbappendmeta/lib/oeqa/selftest/devtool.py scripts/lib/devtool/standard.py+278 -410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] devtool / recipetool bbappend support

Add support for creating/updating bbappends in both devtool (within the update-recipe subcommand) and in recipetool (with a new appendfile subcommand), as well as some related tidy-ups.

The following changes since commit aa2e02a4f78d87bd466bbf92ca57147066c5367f:

README: add "Contributing" section (2015-05-16 22:37:15 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/devtool-bbappends
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/devtool-bbappends

Paul Eggleton (5):
devtool / recipetool: ensure bb.note() gets printed lib/oe/patch: use with open() for all file operations
oe-selftest: move recipetool tests to their own module
recipetool: add appendfile subcommand
devtool: update-recipe: add option to write changes to bbappend

 .../recipes-test/recipetool/files/add-file.patch   |   8 +
 meta-selftest/recipes-test/recipetool/files/file1  |   2 +
 .../recipes-test/recipetool/files/installscript.sh |   3 +
 .../recipetool/files/selftest-replaceme-inst-func  |   1 +
 .../files/selftest-replaceme-inst-globfile         |   1 +
 .../files/selftest-replaceme-inst-todir-globfile   |   1 +
 .../recipetool/files/selftest-replaceme-orig       |   1 +
 .../files/selftest-replaceme-src-globfile          |   1 +
 .../recipetool/files/selftest-replaceme-todir      |   1 +
 .../recipetool/files/subdir/fileinsubdir           |   1 +
 .../recipetool/selftest-recipetool-appendfile.bb   |  42 +++
 meta/lib/oe/patch.py                               | 103 ++++--
 meta/lib/oe/recipeutils.py                         | 328 ++++++++++++++++++-
 meta/lib/oeqa/selftest/devtool.py                  | 283 ++++++++++++----
 meta/lib/oeqa/selftest/recipetool.py               | 364 +++++++++++++++++++++
 meta/lib/oeqa/utils/commands.py                    |  11 +
 scripts/lib/devtool/__init__.py                    |   2 +-
 scripts/lib/devtool/standard.py                    | 155 ++++++---
 scripts/lib/recipetool/append.py                   | 360 ++++++++++++++++++++
 scripts/recipetool                                 |   8 +-
 20 files changed, 1548 insertions(+), 128 deletions(-)
 create mode 100644 meta-selftest/recipes-test/recipetool/files/add-file.patch
 create mode 100644 meta-selftest/recipes-test/recipetool/files/file1
 create mode 100644 meta-selftest/recipes-test/recipetool/files/installscript.sh
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-func
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-globfile
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-inst-todir-globfile
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-orig
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-src-globfile
 create mode 100644 meta-selftest/recipes-test/recipetool/files/selftest-replaceme-todir
 create mode 100644 meta-selftest/recipes-test/recipetool/files/subdir/fileinsubdir
 create mode 100644 meta-selftest/recipes-test/recipetool/selftest-recipetool-appendfile.bb
 create mode 100644 meta/lib/oeqa/selftest/recipetool.py
 create mode 100644 scripts/lib/recipetool/append.py
Signature · 1 line
2.1.0