Bug 14805

Summary: A web based playground for experimenting with bitbake variable expansion
Product: [Build System, Metadata & Runtime] BitBake Reporter: Behan Webster <behanw>
Component: bitbakeAssignee: Chris Laplante <chris.laplante>
Status: IN PROGRESS IMPLEMENTATION --- QA Contact:
Severity: enhancement    
Priority: Medium+ CC: chris.laplante, poky.bs.watcher, poky.watcher, randy.macleod, tim.orling
Version: unspecified   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

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