Bug 3433

Summary: Create Interactive bitbake commandline mode
Product: [Build System, Metadata & Runtime] BitBake Reporter: Saul Wold <sgw>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: NEW --- QA Contact: Apoorv <apoorv.sangal>
Severity: enhancement    
Priority: Medium CC: akuster, alexandru.c.georgescu, belen.barros.pena, bluelightning, hongxu.jia, jason.wessel, jessica.zhang, jose.perez.carranza, liezhi.yang, michael.opdenacker, poky.bs.watcher, poky.watcher, randy.macleod, ross.burton, sgh
Version: 5.99   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 2681    
Bug Blocks: 4687    

Description Saul Wold 2012-11-14 21:04:17 UTC

    
Comment 1 Richard Purdie 2012-11-15 11:08:44 UTC
To quote me from another email: "We need to take a step back and figure out how bitbake commandline interaction should work. Part of this would be resurrecting some of those "old" commands and having a shell like interface to bitbake. There are patches from Jason on the mailing list which need looking at in this context related to logging. There are also components like an interactive python shell like devshell I'd like to see too."
Comment 2 Richard Purdie 2013-11-01 14:54:18 UTC
To further detail this, there are several things we'd like to see in an interactive mode to bitbake where you can directly run commands against the bitbake server to get information. There are several pieces available:

 * Chris Larson's bb command
 * parts of shell.py, the old bitbake -i code
 * Ability to run a shell in python context (python devshell) which
   would be useful on bitbake's configuration data store too
 * Jason Wessel's real time logging patches
 * Memory resident bitbake

We really need to glue these all together to form one good interactive experience on the commandline.
Comment 3 Armin Kuster 2019-12-22 20:37:18 UTC
is this still a thing?
Comment 4 Michael Opdenacker 2022-02-17 16:29:59 UTC
Would also love to momentarily change the number of threads, without having to stop BitBake.

A typical use case is when you need your desktop to be more responsive, or when you want to run another CPU intensive job (such as kernel compiling).