[OE-core] [PATCH 0/9] devtool improvements

Paul Eggleton paul.eggleton at linux.intel.com
Tue Sep 8 10:39:06 UTC 2015


Adds "upgrade" and "package" subcommands to devtool, provides a way to
disable parallel make, improves the default behaviour of update-recipe
with git recipes, and fixes running devtool from a different directory.

This rolls up and fixes some previously posted patches; changes from
the previously posted versions:

* devtool: add upgrade feature:
  - Handle upgrading git recipes i.e. where version may not change, we
    need to be able to specify the SRCREV, md5sum/sha256sum aren't used
    and most importantly we don't want to munge the existing repository
  - Fix rebasing logic - we want to be rebasing the old patched branch
    onto the new branch, not the other way around
  - Fix branching/tagging
  - Use branch name for the new version branch not the old one
  - Ensure we delete/preserve copied in recipe files when resetting
  - Use common fetch_uri function instead of duplicating
  - Fix handling recipes that use BBCLASSEXTEND
  - Tweak some messages and command line help
  - Squash in test commits (we probably need additional tests - to be
    added later)
* devtool: Allow disabling make parallelism on build command:
  - Add a short option (-s for "single")
  - Use traditional spacing in created postfile
  - Delete postfile after building, there's not much point keeping it
  - Tweak log output
* devtool: add package plugin that lets you create package via devtool:
  - Fix config file reading
  - Make this available only within the extensible SDK (since it's not
    particularly useful outside of it)
* devtool: update-recipe: better 'auto' mode
  - Fix oe-selftest tests for this behaviour change


The following changes since commit 8402958cd2cb87b8283c8ee4e2d08e1a6717d67a:

  pseudo_1.7.3.bb: New version of pseudo (2015-09-06 15:24:28 +0100)

are available in the git repository at:

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

Brendan Le Foll (1):
  devtool: add package plugin that lets you create package via devtool

Leonardo Sandoval (3):
  devtool: add upgrade feature
  devtool: Create a single file for the build devtool feature
  devtool: Allow disabling make parallelism on build command

Markus Lehtonen (1):
  devtool: update-recipe: better 'auto' mode

Paul Eggleton (4):
  scriptutils: split out simple fetching function from recipetool
  devtool: improve modified file preservation to handle directory
    structures
  devtool: update-recipe: add a warning when recipe is inside the
    workspace
  devtool: fix running from a different directory

 .../recipes-test/devtool/devtool-upgrade_0.1.bb    |  25 ++
 ...-exit-with-EXIT_SUCCESS-instead-of-a-magi.patch |  27 ++
 .../devtool/files/devtool-upgrade-0.1.tar.gz       | Bin 0 -> 411 bytes
 .../devtool/files/devtool-upgrade-0.2.tar.gz       | Bin 0 -> 411 bytes
 meta/lib/oeqa/selftest/devtool.py                  |  68 +++-
 scripts/devtool                                    |   3 +
 scripts/lib/devtool/build.py                       |  77 +++++
 scripts/lib/devtool/package.py                     |  61 ++++
 scripts/lib/devtool/standard.py                    |  94 +++---
 scripts/lib/devtool/upgrade.py                     | 354 +++++++++++++++++++++
 scripts/lib/recipetool/create.py                   |  30 +-
 scripts/lib/scriptutils.py                         |  27 ++
 12 files changed, 692 insertions(+), 74 deletions(-)
 create mode 100644 meta-selftest/recipes-test/devtool/devtool-upgrade_0.1.bb
 create mode 100644 meta-selftest/recipes-test/devtool/files/0001-helloword.c-exit-with-EXIT_SUCCESS-instead-of-a-magi.patch
 create mode 100644 meta-selftest/recipes-test/devtool/files/devtool-upgrade-0.1.tar.gz
 create mode 100644 meta-selftest/recipes-test/devtool/files/devtool-upgrade-0.2.tar.gz
 create mode 100644 scripts/lib/devtool/build.py
 create mode 100644 scripts/lib/devtool/package.py
 create mode 100644 scripts/lib/devtool/upgrade.py

-- 
2.1.0




More information about the Openembedded-core mailing list