Skip to content

recipetool fetching fixes

Paul Eggleton openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v15 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Removed remaining references to scriptutils.fetch_uri() function which didn't work in conjunction with memres or Richard's pending persistent server changes
- Added a fix for unpacking rpms
- Tweaked description for 2/7
- Reordered and fixed "ensure npm available" patch

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7classes/staging: change fixme debug message from note to debugmeta/classes/staging.bbclass+1 -10 replies
2/7devtool: extract: refactor kern-tools-native handlingscripts/lib/devtool/standard.py+5 -320 replies
3/7recipetool: create: ensure meaningful error for malformed tarballsscripts/lib/recipetool/create.py+18 -40 replies
4/7recipetool: create: eliminate second fetch for packagesscripts/lib/recipetool/create.py+6 -150 replies
5/7recipetool: create: reimplement fetching with normal fetch/unpack tasksscripts/lib/devtool/upgrade.py scripts/lib/recipetool/create.py scripts/lib/recipetool/create_npm.py +1 more+153 -650 replies
6/7classes/base: set do_unpack dependencies for rpm filesmeta/classes/base.bbclass+2 -20 replies
7/7recipetool: create: refactor code for ensuring npm is availablescripts/lib/devtool/__init__.py scripts/lib/devtool/standard.py scripts/lib/recipetool/create.py +1 more+34 -790 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/7] recipetool fetching fixes

Some improvements to recipetool create (and hence devtool add) around handling dependencies during fetching, which required extensive reworking of the code in order to use normal task execution instead of calling the fetcher directly. This also fixes bug 11710 which blocked devtool add / recipetool create from working in memres mode. Also includes a couple of general fetching improvements.

NOTE: this patchset depends upon the tinfoil changes just sent to bitbake-devel.

Changes since v1:
- Removed remaining references to scriptutils.fetch_uri() function which didn't work in conjunction with memres or Richard's pending persistent server changes
- Added a fix for unpacking rpms
- Tweaked description for 2/7
- Reordered and fixed "ensure npm available" patch

The following changes since commit c4c2fb3732dbb290b7f0ca43af2e8662f99e4582:

libgcrypt: upgrade to 1.7.8 (2017-07-19 15:13:20 +0100)

are available in the git repository at:

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

Paul Eggleton (7):
classes/staging: change fixme debug message from note to debug
devtool: extract: refactor kern-tools-native handling
recipetool: create: ensure meaningful error for malformed tarballs
recipetool: create: eliminate second fetch for packages
recipetool: create: reimplement fetching with normal fetch/unpack tasks classes/base: set do_unpack dependencies for rpm files
recipetool: create: refactor code for ensuring npm is available

 meta/classes/base.bbclass            |   4 +-
 meta/classes/staging.bbclass         |   2 +-
 scripts/lib/devtool/__init__.py      |  31 -------
 scripts/lib/devtool/standard.py      |  71 +++-------------
 scripts/lib/devtool/upgrade.py       |  10 ++-
 scripts/lib/recipetool/create.py     | 102 ++++++++++------------
 scripts/lib/recipetool/create_npm.py |  37 ++++++--
 scripts/lib/scriptutils.py           | 158 ++++++++++++++++++++++++++---------
 8 files changed, 218 insertions(+), 197 deletions(-)
Signature · 1 line
2.9.4