devtool/recipetool improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest26 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | scripts: print usage in argparse-using scripts when a command-line error occursscripts/ scripts/ scripts/ +7 more | +38 | 0 replies | |
| 2/26 | recipetool: create: handle https://....git URLsscripts/ | +5 | 0 replies | |
| 3/26 | recipetool: create: avoid traceback on fetch errorscripts/ | +5 | 0 replies | |
| 4/26 | recipetool: create: fix do_install handling for makefile-only softwarescripts/ | +1 | 0 replies | |
| 5/26 | recipetool: create: minor fix for potential issue in python handlingscripts/ | +4 | 0 replies | |
| 6/26 | recipetool: create: prevent attempting to unpack entire DL_DIRscripts/ | +4 | 0 replies | |
| 7/26 | recipetool: create: detect when specified URL returns a web pagescripts/ | +11 | 0 replies | |
| 8/26 | recipetool: create: set up priority system for recipe handlersscripts/ | +14 | 0 replies | |
| 9/26 | recipetool: create: support extracting name and version from build scriptsmeta/ meta/ scripts/ +2 more | +344 | 0 replies | |
| 10/26 | recipetool: create: basic extraction of name/version from filenamemeta/ scripts/ | +40 | 0 replies | |
| 11/26 | devtool: edit-recipe: add new subcommandscripts/ | +44 | 0 replies | |
| 12/26 | devtool: add: tweak help textscripts/ | +2 | 0 replies | |
| 13/26 | devtool: split out function for naming bbappendscripts/ scripts/ | +20 | 0 replies | |
| 14/26 | devtool: update-recipe: use correct method to get bbappend filenamescripts/ | +3 | 0 replies | |
| 15/26 | scripts/lib/argparse_oe: handle intermixing of optional positional argumentsscripts/ | +39 | 0 replies | |
| 16/26 | devtool: add: allow source tree to be omittedscripts/ | +26 | 0 replies | |
| 17/26 | devtool: add: figure out recipe name from recipetoolscripts/ | +90 | 0 replies | |
| 18/26 | devtool: add: allow specifying URL as positional argumentscripts/ scripts/ scripts/ | +55 | 0 replies | |
| 19/26 | devtool: modify: default source tree pathscripts/ scripts/ | +19 | 0 replies | |
| 20/26 | devtool: status: list recipe file within workspace if one existsscripts/ | +11 | 0 replies | |
| 21/26 | devtool: reset: print message about leaving source tree behindscripts/ | +11 | 0 replies | |
| 22/26 | devtool: sync: tweak help / messagesscripts/ | +5 | 0 replies | |
| 23/26 | recipetool: create: improve autotools supportscripts/ | +27 | 0 replies | |
| 24/26 | recipetool: create: fix error when extracting source to a specified directoryscripts/ | +2 | 0 replies | |
| 25/26 | oe-selftest: add tests for simple devtool add / recipetool create URL casemeta/ meta/ | +76 | 0 replies | |
| 26/26 | oe-selftest: devtool: add more explicit check for ls outputmeta/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/26] devtool/recipetool improvements
Apologies for the flood of patches today, this is the last one.
There are quite a few changes here, but the common theme is making devtool (and recipetool) a bit easier to use, as well as making "devtool add" and "recipetool create" more effective at picking up things from the specified source tree.
I also extended the argparse fix to show the help text on error to all of the command-line utilities that use it.
The following changes since commit 2a1edfd9cfa16ec334c0758b47677d4fee5e79a8:
bitbake.conf: Add filename and lineno to BB_SIGNATURE_EXCLUDE_FLAGS (2015-12-22 00:01:31 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/devtool11
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/devtool11
Paul Eggleton (26):
scripts: print usage in argparse-using scripts when a command-line error occurs
recipetool: create: handle https://....git URLs
recipetool: create: avoid traceback on fetch error
recipetool: create: fix do_install handling for makefile-only software
recipetool: create: minor fix for potential issue in python handling
recipetool: create: prevent attempting to unpack entire DL_DIR
recipetool: create: detect when specified URL returns a web page
recipetool: create: set up priority system for recipe handlers
recipetool: create: support extracting name and version from build scripts
recipetool: create: basic extraction of name/version from filename
devtool: edit-recipe: add new subcommand
devtool: add: tweak help text
devtool: split out function for naming bbappend
devtool: update-recipe: use correct method to get bbappend filename scripts/lib/argparse_oe: handle intermixing of optional positional arguments
devtool: add: allow source tree to be omitted
devtool: add: figure out recipe name from recipetool
devtool: add: allow specifying URL as positional argument
devtool: modify: default source tree path
devtool: status: list recipe file within workspace if one exists
devtool: reset: print message about leaving source tree behind
devtool: sync: tweak help / messages
recipetool: create: improve autotools support
recipetool: create: fix error when extracting source to a specified directory
oe-selftest: add tests for simple devtool add / recipetool create URL case
oe-selftest: devtool: add more explicit check for ls output
meta/lib/oeqa/selftest/devtool.py | 82 +++++- meta/lib/oeqa/selftest/recipetool.py | 21 +- scripts/contrib/devtool-stress.py | 5 +- scripts/devtool | 13 +- scripts/lib/argparse_oe.py | 66 +++++ scripts/lib/devtool/__init__.py | 15 ++ scripts/lib/devtool/standard.py | 315 +++++++++++++++++------ scripts/lib/recipetool/create.py | 206 ++++++++++++--- scripts/lib/recipetool/create_buildsys.py | 296 +++++++++++++++++---- scripts/lib/recipetool/create_buildsys_python.py | 7 +- scripts/lib/scriptutils.py | 5 + scripts/oe-pkgdata-util | 5 +- scripts/oe-publish-sdk | 5 +- scripts/oe-selftest | 3 +- scripts/recipetool | 7 +- scripts/send-error-report | 6 +- scripts/test-remote-image | 3 +- 17 files changed, 872 insertions(+), 188 deletions(-) create mode 100644 scripts/lib/argparse_oe.py
Signature · 1 line
2.5.0