Skip to content

Improvements for devtool/recipetool

Peter Kjellerstedt openembedded-core 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 1 replyIn review
  2. v19 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9oeqa/selftest/devtool: Correct git clone of local repositorymeta/lib/oeqa/selftest/cases/devtool.py+1 -10 replies
2/9oeqa/selftest/devtool: Avoid global Git hooks when amending a patchmeta/lib/oeqa/selftest/cases/devtool.py+1 -10 replies
3/9oeqa/selftest/devtool: Make test_devtool_load_plugin more resilientmeta/lib/oeqa/selftest/cases/devtool.py+20 -50 replies
4/9oeqa/selftest/recipetool: Make test_recipetool_load_plugin more resilientmeta/lib/oeqa/selftest/cases/recipetool.py+20 -50 replies
5/9lib/oe/recipeutils: Avoid wrapping any SRC_URI[sha*sum] variablesmeta/lib/oe/recipeutils.py+1 -10 replies
6/9recipetool: create: Improve identification of licensesscripts/lib/recipetool/create.py+45 -460 replies
7/9recipetool: create: Only include the expected SRC_URI checksumsmeta/lib/oeqa/selftest/cases/recipetool.py scripts/lib/recipetool/create.py+3 -201 reply
8/9devtool: upgrade: Update all existing checksums for the SRC_URImeta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb +3 more+148 -230 replies
9/9devtool: modify: Make --no-extract work againscripts/lib/devtool/standard.py+2 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 0/9] Improvements for devtool/recipetool

The recent Yocto Project Summit and the devtool hands-on class triggered a couple of questions for me, and when I investigated them, I stumbled upon a number of problems. This series of patches solves them.

The first four patches are needed for me to be able to execute the devtool and recipetool selftests in our environment. The next four patches improve the identification of the license(s) used by a recipe, and makes the SRC_URI checksums used by devtool and recipetool consistent. Finally, there is a patch to make devtool --no-extract work again (it regressed with the recent devtool changes that improved git submodule support).

[PATCHv2] Update the commit message for patch 8/9 to make it clear(er) that md5sum is still being removed when updating recipes.

//Peter

Peter Kjellerstedt (9):
oeqa/selftest/devtool: Correct git clone of local repository oeqa/selftest/devtool: Avoid global Git hooks when amending a patch oeqa/selftest/devtool: Make test_devtool_load_plugin more resilient oeqa/selftest/recipetool: Make test_recipetool_load_plugin more
resilient
lib/oe/recipeutils: Avoid wrapping any SRC_URI[sha*sum] variables
recipetool: create: Improve identification of licenses
recipetool: create: Only include the expected SRC_URI checksums
devtool: upgrade: Update all existing checksums for the SRC_URI
devtool: modify: Make --no-extract work again

 .../devtool/devtool-upgrade-test3_1.5.3.bb    | 16 ++++
 .../devtool-upgrade-test3_1.5.3.bb.upgraded   | 15 +++
 .../devtool/devtool-upgrade-test4_1.5.3.bb    | 22 +++++
 .../devtool-upgrade-test4_1.5.3.bb.upgraded   | 19 ++++
 meta/lib/oe/recipeutils.py                    |  2 +-
 meta/lib/oeqa/selftest/cases/devtool.py       | 77 +++++++++++++--
 meta/lib/oeqa/selftest/cases/recipetool.py    | 44 ++++-----
 scripts/lib/devtool/standard.py               |  3 +-
 scripts/lib/devtool/upgrade.py                | 51 +++++-----
 scripts/lib/recipetool/create.py              | 95 ++++++++++---------
 10 files changed, 241 insertions(+), 103 deletions(-)
 create mode 100644 meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb
 create mode 100644 meta-selftest/recipes-test/devtool/devtool-upgrade-test3_1.5.3.bb.upgraded
 create mode 100644 meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb
 create mode 100644 meta-selftest/recipes-test/devtool/devtool-upgrade-test4_1.5.3.bb.upgraded