Skip to content

devtool / recipetool fixes

Paul Eggleton openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18devtool: upgrade: fix removing other recipes from workspace on resetscripts/lib/devtool/standard.py+1 -10 replies
2/18devtool: upgrade: fix updating PV and SRCREVscripts/lib/devtool/upgrade.py+20 -140 replies
3/18devtool: upgrade: remove erroneous error when not renaming recipescripts/lib/devtool/upgrade.py+0 -10 replies
4/18devtool: upgrade: fetch remote repository before checking out new revisionscripts/lib/devtool/upgrade.py+1 -00 replies
5/18devtool: upgrade: provide a means to update the source branchscripts/lib/devtool/upgrade.py+30 -20 replies
6/18lib/oe/patch: improve extraction of patch headermeta/lib/oe/patch.py+43 -150 replies
7/18devtool: disable creating workspace for extract and search subcommandsmeta/lib/oeqa/selftest/devtool.py scripts/devtool scripts/lib/devtool/search.py +1 more+8 -80 replies
8/18devtool: package: use DEPLOY_DIR_<pkgtype> to get deploy directoryscripts/lib/devtool/package.py+12 -80 replies
9/18devtool: drop unused plugin_init() functionsscripts/lib/devtool/build.py scripts/lib/devtool/package.py scripts/lib/devtool/sdk.py +2 more+0 -210 replies
10/18devtool: search: print SUMMARY valuescripts/lib/devtool/search.py+42 -350 replies
11/18devtool: ensure we change back to the original dir on errorscripts/lib/devtool/__init__.py+14 -120 replies
12/18lib/oe/recipeutils: check in validate_pn() for names instead of filenamesmeta/lib/oe/recipeutils.py+2 -00 replies
13/18devtool: build: use bbappend to set PARALLEL_MAKEscripts/lib/devtool/build.py+26 -190 replies
14/18devtool: build: enable showing default task in helpscripts/devtool scripts/lib/devtool/build.py+5 -20 replies
15/18devtool: clarify help textscripts/devtool scripts/lib/devtool/build.py scripts/lib/devtool/standard.py +1 more+16 -210 replies
16/18lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata()meta/lib/oe/recipeutils.py scripts/lib/devtool/upgrade.py+97 -930 replies
17/18recipetool: add setvar subcommandscripts/lib/recipetool/setvar.py scripts/recipetool+78 -10 replies
18/18recipetool: make plugin registration function name consistent with devtoolscripts/lib/recipetool/append.py scripts/lib/recipetool/create.py scripts/lib/recipetool/newappend.py +2 more+9 -50 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/18] devtool / recipetool fixes

Fix some issues I found when trying to use devtool upgrade on a git recipe; improve extraction of patch header from original commit in devtool; recipetool setvar; and other fixes and cleanups I have been working on for a while.

All devtool/recipetool tests pass with these patches (plus the two bitbake bb.utils patches I sent the other day, though this patchset should not depend on those.)

The following changes since commit 6f98c39418c60b7c0b25b30983d2e5257158a6a4:

gcc: Drop 4.8 (2015-11-16 14:59:07 +0000)

are available in the git repository at:

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

Paul Eggleton (18):
devtool: upgrade: fix removing other recipes from workspace on reset
devtool: upgrade: fix updating PV and SRCREV
devtool: upgrade: remove erroneous error when not renaming recipe
devtool: upgrade: fetch remote repository before checking out new revision
devtool: upgrade: provide a means to update the source branch lib/oe/patch: improve extraction of patch header
devtool: disable creating workspace for extract and search subcommands
devtool: package: use DEPLOY_DIR_<pkgtype> to get deploy directory
devtool: drop unused plugin_init() functions
devtool: search: print SUMMARY value
devtool: ensure we change back to the original dir on error lib/oe/recipeutils: check in validate_pn() for names instead of filenames
devtool: build: use bbappend to set PARALLEL_MAKE
devtool: build: enable showing default task in help
devtool: clarify help text
lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata()
recipetool: add setvar subcommand
recipetool: make plugin registration function name consistent with devtool

 meta/lib/oe/patch.py                |  58 +++++++++----
 meta/lib/oe/recipeutils.py          | 162 +++++++++++++++++++++---------------
 meta/lib/oeqa/selftest/devtool.py   |   8 +-
 scripts/devtool                     |   7 +-
 scripts/lib/devtool/__init__.py     |  26 +++---
 scripts/lib/devtool/build.py        |  54 ++++++------
 scripts/lib/devtool/package.py      |  24 +++---
 scripts/lib/devtool/sdk.py          |   4 -
 scripts/lib/devtool/search.py       |  79 ++++++++++--------
 scripts/lib/devtool/standard.py     |  32 ++++---
 scripts/lib/devtool/upgrade.py      |  98 ++++++++++++----------
 scripts/lib/recipetool/append.py    |   2 +-
 scripts/lib/recipetool/create.py    |   2 +-
 scripts/lib/recipetool/newappend.py |   7 +-
 scripts/lib/recipetool/setvar.py    |  75 +++++++++++++++++
 scripts/recipetool                  |  10 ++-
 16 files changed, 397 insertions(+), 251 deletions(-)
 create mode 100644 scripts/lib/recipetool/setvar.py
Signature · 1 line
2.1.0