aboutsummaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)Author
2010-06-10Drop the non-debug traceback suppressor, at this point I think it does more ↵Chris Larson
harm than good Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-08Reorganize the main exception handling so an attribute exception raised in ↵Chris Larson
the ui isn't misinterpreted Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-04Adjust the exception handling based on Cliff Brake's patchChris Larson
Rather than printing the exception ourselves, might as well re-raise and let the default exception handler do it for us. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-20Fix the debug level check in print_exceptionChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-15Move the python version check into the python packageChris Larson
This ensures the check is run for anyone using the package, including setup.py, though it's sad that it's necessary, since all it really wants is __version__. Ideally, we'd avoid the version check entirely in favor of checking for functionality, but that's rather difficult with language constructs like context managers, so this'll do for now. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-15Drop an unnecessary second python version check and use the less ugly ↵Chris Larson
sys.version_info Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-15Bump version to 1.11.0Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-15Move the python version check before the module imports, in case the modules ↵Chris Larson
utilize the newer python features Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-10Ignore deprecation warnings for nowChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Import fixupsChris 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-04-09Bump minimum python version check to 2.6.Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Display python warnings via bb.msgChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Use __import__ for the ui rather than execChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Initialize pkgs_to_build in the BBConfiguration constructorChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-01-22bitbake: Don't import xmlrpc server unless neededRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22bin/bitbake: Add import serverRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bbimage: Drop, nobody should be using that now as its pointlessRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bitbake: Fix UI failure exception handling with python 2.6Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19Drop version requirement to 2.5 apart from XMLRPC modeRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19bitdoc: Fixup against recent core changesRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-18Add none server type to avoid xmlrpc in the default caseRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-14Solidify server class creationRichard 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-09-14Only print python exception tracebacks if debugging is enabled.Chris Larson
Uses sys.excepthook to replace the toplevel exception handler with a version that obeys the debug level of the 'default' messaging domain. A non-zero value there will result in displaying the full traceback. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-07-23bin/bitbake: Add python 2.6 check (from Poky)Richard Purdie
Now we need python 2.6 check for it otherwise bitbake appears to hang. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2008-12-06bin/bitbake: Fix cooker log handling after recent changesRichard Purdie
2008-12-06Update the UIs against the core changes and allow dynamic loading of the UI ↵Richard Purdie
so UIs become truly plugable.
2008-12-06utils.py: Add clean_environment() function and call where appropriate (from ↵Richard Purdie
Poky)
2008-12-06Add tryaltconfigs option to control whether bitbake trys using alternative ↵Richard Purdie
providers to fulfil failed dependencies. It defaults to off, changing the default since this behaviour confuses many users and isn't often useful (from Poky).
2008-09-30bin/bitbake: Add better environmental variable handling. By default it will ↵Richard Purdie
now only pass certain whitelisted variables into the data store. If BB_PRESERVE_ENV is set bitbake will use all variable from the environment. If BB_ENV_WHITELIST is set, that whitelist will be used instead of the internal bitbake one. Alternatively, BB_ENV_EXTRAWHITE can be used to extend the internal whitelist.
2008-09-30cooker.py: Add parseConfiguration() function and move inheritFromOS call ↵Richard Purdie
outside the parser and into cooker
2008-04-06Add experimental/toy dependency explorer UI (based on some code from Ross ↵Richard Purdie
Burton but the bugs are mine\!)
2008-03-16Add return value handling (thanks pH5)Richard Purdie
2008-02-23bbimage: Update to reflect recent core changesRichard Purdie
2008-01-20persist_data.py: Add sqlite version checksRichard Purdie
2008-01-20bitbake: Make trunk python 2.5+ onlyRichard Purdie
2007-11-17Fetcher SRCREV handling updates, improvements and fixes from Poky, typo fix ↵Richard Purdie
for bin/bitbake
2007-08-25bin/bitbake: Add UI selection optionRichard Purdie
2007-08-18bin/bitbake: Fix execution orderRichard Purdie
2007-08-18bin/bitbake: Switch to use new UI codeRichard Purdie
2007-08-11bitbake: Add profiling option -PRichard Purdie
2007-04-01cooker.py: Make -I option a generic one to extend ASSUME_PROVIDEDRichard Purdie
2007-03-04Update versionsRichard Purdie
2007-03-04cooker.py: Move some functionality to the module init functionRichard Purdie
2006-12-08Add proper GPLv2 headers to all BitBake filesHolger Hans Peter Freyther
BitBake trunk is now GPLv2 only, no mix of MIT,FreeBSD License is left. Update GPL headers to point to the correct address of the FSF Update the list of authors. Uli Luckas, Seb Frankengul and Tim Amsell contributed to the sourcecode as well
2006-12-06cooker.py: Clean up pkgs_to_build handlingRichard Purdie
2006-12-06bitbake: Move cooker from bin/bitbake to lib/bb/cooker.pyRichard Purdie
2006-12-06Fix docs typo (from ross@o-hand.com)Richard Purdie
2006-11-30bin/bitbake: Fix incorrect variable referenceRichard Purdie