Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 00/18] devtool / recipetool fixes
Date: Mon, 23 Nov 2015 15:09:19 +1300	[thread overview]
Message-ID: <cover.1448244474.git.paul.eggleton@linux.intel.com> (raw)

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

-- 
2.1.0



             reply	other threads:[~2015-11-23  2:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23  2:09 Paul Eggleton [this message]
2015-11-23  2:09 ` [PATCH 01/18] devtool: upgrade: fix removing other recipes from workspace on reset Paul Eggleton
2015-11-23  2:09 ` [PATCH 02/18] devtool: upgrade: fix updating PV and SRCREV Paul Eggleton
2015-11-23  2:09 ` [PATCH 03/18] devtool: upgrade: remove erroneous error when not renaming recipe Paul Eggleton
2015-11-23  2:09 ` [PATCH 04/18] devtool: upgrade: fetch remote repository before checking out new revision Paul Eggleton
2015-11-23  2:09 ` [PATCH 05/18] devtool: upgrade: provide a means to update the source branch Paul Eggleton
2015-11-23  2:09 ` [PATCH 06/18] lib/oe/patch: improve extraction of patch header Paul Eggleton
2015-11-23  2:09 ` [PATCH 07/18] devtool: disable creating workspace for extract and search subcommands Paul Eggleton
2015-11-23  2:09 ` [PATCH 08/18] devtool: package: use DEPLOY_DIR_<pkgtype> to get deploy directory Paul Eggleton
2015-11-23  2:09 ` [PATCH 09/18] devtool: drop unused plugin_init() functions Paul Eggleton
2015-11-23  2:09 ` [PATCH 10/18] devtool: search: print SUMMARY value Paul Eggleton
2015-11-23  2:09 ` [PATCH 11/18] devtool: ensure we change back to the original dir on error Paul Eggleton
2015-11-23  2:09 ` [PATCH 12/18] lib/oe/recipeutils: check in validate_pn() for names instead of filenames Paul Eggleton
2015-11-23  2:09 ` [PATCH 13/18] devtool: build: use bbappend to set PARALLEL_MAKE Paul Eggleton
2015-11-23  2:09 ` [PATCH 14/18] devtool: build: enable showing default task in help Paul Eggleton
2015-11-23  2:09 ` [PATCH 15/18] devtool: clarify help text Paul Eggleton
2015-11-23  2:09 ` [PATCH 16/18] lib/oe/recipeutils: refactor patch_recipe_file() to use edit_metadata() Paul Eggleton
2015-11-23  2:09 ` [PATCH 17/18] recipetool: add setvar subcommand Paul Eggleton
2015-11-23  2:09 ` [PATCH 18/18] recipetool: make plugin registration function name consistent with devtool Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1448244474.git.paul.eggleton@linux.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox