summaryrefslogtreecommitdiffstats
path: root/lib/bb/command.py
AgeCommit message (Collapse)Author
2010-12-16Run the server and UI in separate processesBob Foerster
This uses the python multiprocessing module, both to spawn the server process and for communication between the processes. Signed-off-by: Bob Foerster <robert@erafx.com> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-10Rename command events, adjust compareRevisionsChris Larson
- Moved the logic for comparing revisions from cooker into command - Removed 'Cooker' from the event names - Renamed the 'ExitCode' event into CommandExit, and changed CommandFailed to be a subclass of CommandExit Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-08cooker: add shutdown/stop methodsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-12-08cooker: merge cookerState and cookerActionChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-18Add missing 'return False' to the SystemExit handler in runAsyncCommandChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10Handle SystemExit and KeyboardInterrupt sanely when executing a commandChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Formatting cleanupsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-24bb/command was importing bb and accessing some of its own classes indirectly ↵Chris Larson
as bb.command.<class> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-01-19event.py: Pass the datastore to the fire command, don't build it into eventsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-17Add a compare-versions command which returns whether the SRCREV versions ↵Richard Purdie
have changed since bitbake was last run (from Poky) Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2009-07-23command/cooker: Remve the need for the cache for -e -b optionsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-23command/cooker: Improve showEnvironment functionalityRichard Purdie
Allow showEnvironment to function without loading the cache by adding a second caching version. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-07-23cooker.py: Improve server idle handling (from Poky)Richard Purdie
This patch: * Uses the xmlrpc timeout controls added in python 2.6 removing the need to hack the class instead. The hacking didn't work for 2.6. * Converts the parsing function to parse a file per call to the function * Allows checking for xmlrpc commands between parsing files allowing the user to interrupt parsing. * Starts to teach the command queue about command properties such as whether they require the cache. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-12-06command.py: Standardise to getVariable and setVariable functions for ↵Richard Purdie
consistent naming
2008-12-06Pass around the tasks to execute rather than using magic variables. Also use ↵Richard Purdie
the empty_environment() function to clear the environment
2008-12-06Rename online/offline to sync/async for less confusion (from Rob Bradford in ↵Richard Purdie
Poky)
2008-03-15cooker.py: Turn buildFile into a fully blown offline command with idle ↵Richard Purdie
function fixing -b issues
2008-01-06Fix shell showdata command (#3259)Richard Purdie
2007-08-25command.py: Add generateDepTreeEvent commandRichard Purdie
2007-08-18command.py: Add readVariable commandRichard Purdie
2007-08-18command.py: Add parseFiles command. Tweak cooker to matchRichard Purdie
2007-08-18command.py: Turn showEnvironment into an offline commandRichard Purdie
2007-08-18Add the command module (needs rewriting)Richard Purdie