Skip to content

devtool improvements

Paul Eggleton openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9scriptutils: split out simple fetching function from recipetoolscripts/lib/recipetool/create.py scripts/lib/scriptutils.py+28 -290 replies
2/9devtool: improve modified file preservation to handle directory structuresscripts/lib/devtool/standard.py+21 -90 replies
3/9devtool: add upgrade featuremeta-selftest/recipes-test/devtool/devtool-upgrade_0.1.bb meta-selftest/recipes-test/devtool/files/0001-helloword.c-exit-with-EXIT_SUCCESS-instead-of-a-magi.patch meta-selftest/recipes-test/devtool/files/devtool-upgrade-0.1.tar.gz +4 more+445 -10 replies
4/9devtool: Create a single file for the build devtool featurescripts/lib/devtool/build.py scripts/lib/devtool/standard.py+50 -220 replies
5/9devtool: Allow disabling make parallelism on build commandscripts/lib/devtool/build.py+30 -30 replies
6/9devtool: update-recipe: better 'auto' modemeta/lib/oeqa/selftest/devtool.py scripts/lib/devtool/standard.py+53 -130 replies
7/9devtool: update-recipe: add a warning when recipe is inside the workspacescripts/lib/devtool/standard.py+4 -00 replies
8/9devtool: add package plugin that lets you create package via devtoolscripts/lib/devtool/package.py+61 -00 replies
9/9devtool: fix running from a different directoryscripts/devtool+3 -00 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/9] devtool improvements

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
Signature · 1 line
2.1.0