All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] fetch/npm: no npm executable, and an event log fix
@ 2026-11-20 13:53 Stefano Tondo
  2026-11-20 13:53 ` [PATCH 1/2] cooker: Write variables that are not JSON types to the event log Stefano Tondo
  2026-11-20 13:53 ` [PATCH 2/2] fetch/npm: Build the tarball URL without the npm executable Stefano Tondo
  0 siblings, 2 replies; 4+ messages in thread
From: Stefano Tondo @ 2026-11-20 13:53 UTC (permalink / raw)
  To: bitbake-devel
  Cc: Thomas Perrot, Alexander Kanavin, Stefan Herbrechtsmeier,
	Peter Marko, stefano.tondo.ext

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/20261111115845.1940227-1-stondo@gmail.com/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(-)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-20 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 13:53 [PATCH 0/2] fetch/npm: no npm executable, and an event log fix Stefano Tondo
2026-11-20 13:53 ` [PATCH 1/2] cooker: Write variables that are not JSON types to the event log Stefano Tondo
2026-11-20 18:46   ` [bitbake-devel] " Richard Purdie
2026-11-20 13:53 ` [PATCH 2/2] fetch/npm: Build the tarball URL without the npm executable Stefano Tondo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.