Bug 14805 - A web based playground for experimenting with bitbake variable expansion
Summary: A web based playground for experimenting with bitbake variable expansion
Status: IN PROGRESS IMPLEMENTATION
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium+ enhancement
Target Milestone: Future
Assignee: Chris Laplante
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-05-18 16:06 UTC by Behan Webster
Modified: 2025-12-15 14:21 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Behan Webster 2022-05-18 16:06:47 UTC
The variable expansion portion of bitbake could be combined with something like https://pyscript.net/ to build an in-browser playground (similar to https://play.rust-lang.org/) so that users could trivially experiment with bitbake variable expansion and the interactions between OVERRIDES, various operators, and conditional :appends/:prepends.

It is key that the actual relevant code from bitbake is used in order to make sure that results are consistent with actual use in recipes.
Comment 1 Chris Laplante 2025-10-16 15:32:56 UTC
In my limited free time I have started playing around with an implementation of this using Pyodide and Web Workers. See https://yoctoproject.github.io/bb-datastore-playground/ and https://github.com/yoctoproject/bb-datastore-playground