aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2005-06-15BitBake (minor update):Holger Hans Peter Freyther
-Remove data_dict.py as it was not needed for sooo long -Remove TODOs related to data_dict.py -Remove data_dict from the MANIFEST
2005-06-15Keep all temporary files in proper place not in TMPDIR (patch by Holger Schurig)Marcin Juszkiewicz
2005-06-14bitbake/lib/bb/__init__.pyHolger Hans Peter Freyther
-Fix testcase by silenting the ververify error message
2005-06-14- add 'fetch', 'unpack', 'patch', 'configure', 'compile', 'stage'Michael 'Mickey' Lauer
which reflect the execution of the respective tasks on providees - add 'force' to toggle make.options.force - switch to a more sane context sensitive completion method inspecting the 'usage' attribute
2005-06-13BitBake:Holger Hans Peter Freyther
-Remove old code (python version >= 2.3 check) -Remove commented code (as we've a scm) -Fix most of the testcases (only one is failing) -by importing string -by removing new lines -by changing '"' to "'" -by reodering some elements
2005-06-11collect_bbfiles:Michael 'Mickey' Lauer
- save progress callback in function attribute - remain completely silent when no progress callback is requested
2005-06-10OO overhaul:Michael 'Mickey' Lauer
- Introduce classes for commands and the command processor - Autoregister available commands - Fix 'shell' command to work with unlimited number of parameters - Remove 'exec' command
2005-06-10- capture bb.parse exception in 'filebuild'Michael 'Mickey' Lauer
- restore sys.stdout during raw_input, this repairs tab completion which I broke two revisions ago
2005-06-09add 'shell <command>' which hands a command over to the shell and dumps the ↵Michael 'Mickey' Lauer
output NOTE: Due to a limitation in the bbshell command processor, 'shell' and 'exec' are currently broken when using more than one parameter. This will be sorted out asap.
2005-06-09Use socket.gethostname() instead of os.environ["HOST"]. That should work on ↵Michael 'Mickey' Lauer
all systems.
2005-06-09Greatly improve pastebin functionality:Michael 'Mickey' Lauer
The BitBake shell now features a generic output buffer for the last 10 commands. You can dump an overview about the buffered commands with 'buffers' and dump the contents of a buffer with 'buffer <n>'. Likewise, 'pastebin <n>' uploads the contents of the said buffer. NOTE: 'lasterror' is still available, but has been renamed to 'lastlog'. The old pastebin command is still available with 'pastelog'.
2005-06-08remove sys.exc_info() hack and instead use the magic .args variable of the ↵Michael 'Mickey' Lauer
exception instance variable
2005-06-08add pastebin command to upload the latest error log (if there is one)Michael 'Mickey' Lauer
2005-06-08- set magic args attribute for event exceptionMichael 'Mickey' Lauer
- remove event property - submit descriptive error messages when raising event exceptions
2005-06-07build in a try/except block and intercept faulty buildsMichael 'Mickey' Lauer
2005-06-06bitbake/bin/bitdoc:Holger Hans Peter Freyther
-Small utility to generate a Hyper Linked online version out of documentation.conf. An example can be found here:http://handhelds.org/~zecke/oe_html/ TODO: -Beautify the HTML output (shameless rip off from gtkdoc) -Sort the keys -Fix and extend OpenEmbedded's documentation.conf to follow the simple ruleset KEY[doc] = "This is the description. It can go on \ @see MOO_RELATED, FOO_DOO, GRUFT, BLUR, TOCOTRONIC @group rock, POP \ NewWave" It will extract the description, related keys (everything after @see separated by ',') and the groups this key is in. This simple rules should and could bring us forward.
2005-06-03catch build exceptions also when building just one fileMichael 'Mickey' Lauer
2005-06-02bitbake/bin/bitbake:Holger Hans Peter Freyther
Rework handling of pkg_pn. I still wonder if we should set pkg_pn[pn] at all in this method. Patch courtsey proti
2005-06-01use cooker.findBestProvider() for the 'which' commandMichael 'Mickey' Lauer
2005-05-31bitbake/bin/bitbake:Holger Hans Peter Freyther
Create a common method to get the preferred version given a package name. This patch was done by proti (seb BEI frankengul.org) and made work by myself. The list in list logic does not seem 'obvious' and I need to consider how to kill it. (when I understand what the file_set should represent)
2005-05-30calculate absolute path when parsing a bitbake file. this fixes -b withMichael 'Mickey' Lauer
relative paths
2005-05-30fix stupid typo. this repairs bitbake -fMichael 'Mickey' Lauer
2005-05-30add ; as command seperatorMichael 'Mickey' Lauer
unify error messages add new <directory> <bbfile> command
2005-05-30add some more things to TODOMichael 'Mickey' Lauer
2005-05-30- fix bug in file*** commands (need to clean the _task_cache perMichael 'Mickey' Lauer
package) - add fileRebuild (clean and rebuild a .bbfile)
2005-05-30remove accidantly commited debug lineMichael 'Mickey' Lauer
2005-05-29major update:Michael 'Mickey' Lauer
- improve registerCommand - build, clean, and rebuild no longer work on providees or bbfiles, but just on providees - filebuild, fileclean and filerebuild work on bbfiles - add which 'providee'
2005-05-29misc. refactoring bits for bin/bitbake:Michael 'Mickey' Lauer
- remove executeOneBB - add tryBuildPackage - add more docstrings - less abbrevations - s/buildPackage/buildProvider/
2005-05-28bitbake/lib/bb/*:1.3.0Holger Hans Peter Freyther
include 'time' into the scope. For bitbake 1.3.1 we need to define which modules will be visible when executing embedded python methods
2005-05-28bitbake/bin/bitbake:Holger Hans Peter Freyther
update_data() of make.cfg after we've parsed the each and every bitbake file. Call me paranoid but this way we make sure that changes made in the bb files are actually taken...
2005-05-27- add command specific tab completionMichael 'Mickey' Lauer
- add expert mode - an embedded python interpreter - add exec command
2005-05-26bitbake:Holger Hans Peter Freyther
-Prepare the 1.3.0 release of bitbake
2005-05-26some fixesMichael 'Mickey' Lauer
2005-05-26catch parse error in parseConfigurationFile()Michael 'Mickey' Lauer
2005-05-26add bbfile completionMichael 'Mickey' Lauer
2005-05-26- remove checking for return if parse-only is set when executing just one BBMichael 'Mickey' Lauer
- don't sys.exit() for parse-only, but return. This makes dropping into the Python interactive mode possible.
2005-05-26have bb.parse.handle() throw ParseError if the input file is not Phil Blundell
understood by any handler, rather than quietly returning None
2005-05-26- add more commands: edit, clean, rebuild.Michael 'Mickey' Lauer
- load command history on startup - save command history on exit Bug: A bug can be seen when you call rebuild on a package more than once - somehow the make module no longer calls the tasks then.
2005-05-25call update_data right after parsing the conf filesMichael 'Mickey' Lauer
2005-05-25Python 2.3.x compatibility fixMichael 'Mickey' Lauer
2005-05-25add first (preview) version of the bitbake interactive modeMichael 'Mickey' Lauer
2005-05-25bitbake: factor out methods parseConfigurationFile() and handleCollections()Michael 'Mickey' Lauer
2005-05-25tolerate ${...} in function namesPhil Blundell
2005-05-24Mickey's style and performance tunings, volume I:Michael 'Mickey' Lauer
* substitute 'if dictionary.has_key( key )' with 'if key in dictionary' It's faster, more understandable and looks much better
2005-05-23update data to make _append's etc. appear. patch courtesy BB-MeisterMichael 'Mickey' Lauer
Zecke
2005-05-23bitbake/MANIFEST:Holger Hans Peter Freyther
-Include data_smart.py in the MANIFEST
2005-05-23bitbake/lib/bb module:Holger Hans Peter Freyther
Bump the version number to be different from the last version
2005-05-23bitbake/TODO:Holger Hans Peter Freyther
-Not much is done yet but at least fake that we've done something
2005-05-23Slight OO refactoring of BitBake command line utility in order toMichael 'Mickey' Lauer
prepare for the BitBake shell which will need to have instance based variables as opposed to module global ones. Sorry, this diff is larger than it should be, but I had to reorder methods and change indenting all over the place. What I basically did is: 1.) Add a class managing the statistics values: BBStatistics 2.) Add a class managing the build process: BBCooker 3.) Refactor all unbound methods into the BBCooker class 4.) Refactor all module global values into the BBCooker class 5.) Adjust function calls and accesses of the module global values accordingly The shell module itself is under construction and will be uploaded asap.
2005-05-22bitbake/bin/bitbake:Holger Hans Peter Freyther
-Drastically increase the amount of needed RAM to the unbelievable amount of 12MB when parsing ~2320 bb files. -Start creating the provider hash and other lists/dictionaries from the progressCallback. A BBStatusProgress struct was added to accumulate the data to be used in the buildPackage, showVersions and similiar methods. This makes it possible to kill the long delay and also building the provider hash completely. Only for building and checking if a package was built (has stamps) it is necessary to get the data instace from make.pkgdata.