fetch/npm: no npm executable, and an event log fix
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | cooker: Write variables that are not JSON types to the event loglib/ | +1 | 1 reply | |
| 2/2 | fetch/npm: Build the tarball URL without the npm executablelib/ lib/ | +49 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] fetch/npm: no npm executable, and an event log fix
Hi,
The OE-Core series "npm: list the dependencies in SRC_URI" needs these two patches. I send that series at the same time. The two patches do not depend on each other.
1. cooker: "recipetool create" for npm runs two builds in one server. The second build fails to write the event log, because sstate.bbclass stores compiled regular expressions in the datastore. The recipetool selftest of the OE-Core series shows this failure.
2. fetch/npm: Alexander asked for this in the RFC thread [1]. The npm fetcher must work without the npm executable, as the crate fetcher works without cargo. The npm tests now run without npm, and new tests fetch a package from a premirror without network access.
Tests: bitbake-selftest bb.tests.fetch.NPMTest passes, with an npm in PATH that always fails. bb.tests.event and bb.tests.cooker pass.
[1] https://lore.kernel.org/openembedded-core/[email protected]/T/
Stefano Tondo (2):
cooker: Write variables that are not JSON types to the event log fetch/npm: Build the tarball URL without the npm executable
lib/bb/cooker.py | 2 +- lib/bb/fetch/npm.py | 50 +++---------------------- lib/bb/tests/fetch.py | 85 ++++++++++++++++++++++--------------------- 3 files changed, 50 insertions(+), 87 deletions(-)
Signature · 1 line
2.56.1