aboutsummaryrefslogtreecommitdiffstats
path: root/bin
AgeCommit message (Collapse)Author
2006-07-08bitbake/lib/bb/__init__.py:Richard Purdie
bitbake/lib/bb/build.py: bitbake/lib/bb/utils.py: bitbake/lib/bb/shell.py: bitbake/lib/bb/providers.py: bitbake/lib/bb/msg.py: bitbake/bin/bitbake: bitbake/bin/bitdoc: bitbake/classes/base.bbclass: Start an overhaul of the message handling in bitbake: - Introduce a new msg module to replace the existing simple calls. - The msg module adds the conncept of message domains so ultimately we can select which kinds of debug messages we want to see (it uses an Enum class for this) - Add a warn logging level for things the user should really pay attention to as note is a little overloaded at present - Start converting to use the new fuctions
2006-07-08bitbake/lib/bb/providers.py:Richard Purdie
bitbake/lib/bb/__init__.py: bitbake/lib/bb/shell.py: bitbake/bin/bitbake: * Move providers functions into their own file. The arguments are horrible at present but we have to start somewhere with the cleanup and refactoring.
2006-05-28 bitbake/bin/bitbake: DOT code cleanupHolger Hans Peter Freyther
Really use myFilterProvider which will take care of the PREFERRED_PROVIDER, and add documentation to the code.
2006-05-27 bitbake/bin/bitbake: Add code to handle RDEPENDSHolger Hans Peter Freyther
Add code to handle the RDEPENDS. We use getRunProviders and the rundeps variable of BBParsingStatus to get the providers, similiar to addRunDeps. The graph is now not looking too bad.
2006-05-27 bitbake/bin/bitbake: We need to look at seen_depends everytime and can't filterHolger Hans Peter Freyther
Due the recursion we need to reevualate seen_depends everytime. Move the variables/files down to the actual call...
2006-05-27 bitbake/bin/bitbake: Add first version of mixed dependency handlingHolger Hans Peter Freyther
First version of showing DEPENDS and RDEPENDS in the same graph. The is one issue that some provider get handled twice and we see two arrows.
2006-05-27 bitbake/bin/bitbake: Kill the generation of the RDEPENDS forHolger Hans Peter Freyther
RDEPENDS needs different handling than DEPENDS. Looking in providers is not enough most of the times.
2006-05-27 bitbake/bin/bitbake: Kill whitespaceHolger Hans Peter Freyther
2006-05-27 bitbake/bin/bitbake: CLI help updates, DOT generatin emits versionHolger Hans Peter Freyther
Emit the Version of the provider in the node as well. Create a myFilterProvider to take PREFERRED_PROVIDER into account.
2006-05-26bitbake/bin/bitbake: Add option to ignore dependencies on graphHolger Hans Peter Freyther
If your dependency graph should not show specific depends, e.g. the virtual/libc, quilt-native depends use -I virtual/libc -I quilt-native to do so.
2006-05-25bitbake/bin/bitbake: Make sure we add all handlers from INHERITHolger Hans Peter Freyther
The code had the assumption that at least one .inc file was included (always included). This is not true in the NSLu2 case. The code now makes sure we load each bbclass we have in the INHERIT line either directly or indirectly. And then we can safely add all event handlers. Todo: Add HANDLERS += to only load the HANDLERS and not all classes.
2006-05-25bitbake/bin/bitbake: Generate DOT depedency startHolger Hans Peter Freyther
Add option -g to generate graphs for DEPENDS and RDEPENDS. Currently these are emitted in two different files for now. For the future: -Add option to stop at level X -Emit both DEPENDS and RDEPENDS into the same graph...
2006-05-06bitbake/bin/bitbake:Holger Hans Peter Freyther
BBConfiguration do not initialise the configuration twice Save a copy of th configuration data and update it.
2006-05-03bitbake/bin/bitbake:Richard Purdie
- Make the update_data for buildDepGraph act on a copy of self.configuration.data fixing certain dependency errors.
2006-04-22bitbake/bin/bitbake:Holger Hans Peter Freyther
This is a unstable BitBake version. Warn the users about it... or annoy them enough to switch to the stable branch.
2006-04-19bitbake versions:Holger Hans Peter Freyther
-Make trunk 1.5.0 which will go to 1.6.0 -The stable branch is now 1.4.1 which will be 1.4.2 on release
2006-04-19bitbake/Holger Hans Peter Freyther
Merge -453 to HEAD into the trunk from the branch
2006-04-17bin/bitbake:Holger Hans Peter Freyther
Add hack to register even handlers seen by the configuration file. We assume that we included at least one .inc file so INHERITS += got used. We should add a HANDLERS variable which will be responsible for installing the handlers
2006-04-16bitbake/bin/bitbake:Richard Purdie
* Fix a loadDataFull call the last changeset missed * Only follow all dependencies when cmd == build (fixes the recursive cleaning bug)
2006-04-16bitbake/bin/bitbake:Holger Hans Peter Freyther
-Change version to 1.3.9 we will change it to 1.4.0 for the final release bitbake/lib/__init__.py: -Change the version as well
2006-04-16bitbake/lib/bb/cache.py:Richard Purdie
bitbake/lib/bb/shell.py: bitbake/bin/bitbake: * Remove a useless return value from loadDataFull bitbake/ChangeLog: * Update the changelog with recent changes
2006-04-16bitbake/lib/bb/cache.py:Richard Purdie
* Detect and remove deleted files from the cache * Add/enable/fix cache debugging bitbake/bin/bitbake: * Cache rdepends and rrecommends against filenames as well as pn
2006-04-15bitbake/lib/bb/data.py:Richard Purdie
bitbake/lib/bb/__init__.py: bitbake/lib/bb/data_smart.py: bitbake/lib/bb/cache.py: bitbake/lib/bb/shell.py: bitbake/bin/bitbake: * Major cache refactoring. Change the cache to store only the data bitbake needs for dependency calculations instead of all the metadata. * Separate the cache code into its own file. * Update the rest of the code to work with the cache changes. * Temporarily break the shell's poke command.
2006-04-14bin/bitbake:Richard Purdie
Update output to more accurately describe what bitbake's doing when handling already staged packages.
2006-03-22bin/bitbake:Holger Hans Peter Freyther
-Do not add handlers again. It is 'fast' enough to iterate over them in the BBHandler do not add them in bitbake again. This temporarily breaks the cache - which will be fixed shortly lib/bb/event.py: -Have a data structure that operates faster on lookups -Change register/remove to take a 'name' parameter lib/bb/parse/parse_py/BBHandler.py: -Update to the new event.register syntax
2006-03-21bin/bitbake: Micro OptimisationHolger Hans Peter Freyther
Do not build the World Package List unless we want to build 'world'. This saves from 10 to 20 seconds on a usual build. I think people doing a world build can survice the extra seconds.
2006-03-20bin/bitbake:Richard Purdie
Fix RRECOMMENDS_${PN} and RPROVIDES_${PN} handling.
2006-03-19bitbake/bin/bitbake:Holger Hans Peter Freyther
Create a ordinary main method. This makes invoking the hotshot profiling tool much more easy
2006-03-18bitbake/bin/bitdoc:Holger Hans Peter Freyther
Make it work with python2.3 and python2.4
2006-03-17bitbake/bin/bitdoc:Holger Hans Peter Freyther
-Use paragraphs instead of 'pre'. This enables line wrapping for too big comments
2006-03-17bitbake/bin/bitdoc:Holger Hans Peter Freyther
-Do not link to keys.html and groups.html, use the right site -Make it possible to have descriptions for groups as well
2006-03-17bitbake/bitdoc:Holger Hans Peter Freyther
-Work on case insensitive filesystems where keys.html == keyS.html -Create all_groups.html and all_keys site -Sort the keys in a group -Emit the ',' only when needed
2006-03-16bitbake/bin/bitdoc:Holger Hans Peter Freyther
-We do not need make, we only need bb.parse
2006-03-13bitbake/lib/bb/event.py:Holger Hans Peter Freyther
Introduce a NoProvider Event. It contains a 'runtime' flag, the item name and the configuration data. bitbake/bin/bitbake: Fire the NoProvider event at some spots. There are more events we need to fire. Ideally the BitBake UI would just be a handler...
2006-03-05bitbake/bin/bitbake:Holger Hans Peter Freyther
Prepend the lib module instead of appending to override the system installation bitbake/lib/bb/data.py: Same as above, prepend instead of append
2006-02-26bin/bitbake:Holger Hans Peter Freyther
Remove the whitespace... well I have seen it and removed it.
2006-02-24bitbake/lib/event.bb:Holger Hans Peter Freyther
-make multiple providers inherit Event directly. Save the kind (runtime vs. buildtime) the item and the providers bin/bitbake: -Fire multiple providers issue as Event
2006-02-23lib/bb/event.py:Holger Hans Peter Freyther
Safe the number of failed packages even if the BuildCompleted bin/bitbake: count the number of broken packages
2006-02-21bitbake/bin/bitbake:Richard Purdie
- ASSUME_PROVIDED allowed to include runtime names
2006-02-15bitbake/bin/bitbake:Richard Purdie
Need to check both RDEPENDS and RDEPENDS_${PN} for RDEPENDS
2006-02-11bitbake/bin/bitbake:Holger Hans Peter Freyther
Bump the version and hopefull we will end up as 1.3.4
2006-02-09bitbake/bin/bitbake:Holger Hans Peter Freyther
Bump the version to 1.3.3 lib/bb/__init__.py: Bump the version to 1.3.2.2
2006-02-09bitbake/bin/bitbake:Holger Hans Peter Freyther
Stop hardcoding the stamps directory directly but use the STAMP variable instead. The Package Version, Name and Release is already included in the STAMP variable. This patch was created by Phillip Zabel (pH5). Thank you
2006-01-31bitbake/bin/bitbake:Holger Hans Peter Freyther
It could be that we have no buildable providers and eligible is None. Do not error in this case. This was spotted by mickeyl on a world build (with a lot of failures) and fixed by Richard Purdie again.
2006-01-19bitbake/bin/bitbake:Holger Hans Peter Freyther
Patch by Richard Purdie to fix the selection of a preferred R provider
2006-01-19bitbake/bin/bitbake:Holger Hans Peter Freyther
Patch by Richard Purdie to fix the recognition of circular dependencies.
2006-01-12bitbake/lib/bb/utils.py:Holger Hans Peter Freyther
-add explode_deps method to return a list of package names from a string (RDEPENDS) Patch courtsey Richard Purdie (rpurdie@openedhand.com) bitbake/bin/bitbake: -major overhaul on dependency tracking and improvement to the previous commit. Build Runtime Depends and Runtime Recommendations at the same time as the package is built. Patch courtsey Richard Purdie (rpurdie@openedhand.com)
2006-01-08bitbake/bin/bitbake:Holger Hans Peter Freyther
Build a reverse hash for PACKAGES, so runtimes dependencies can be resolved. E.g. which bb file is needed to get glibc-locale-de build. Patch by Richard Prudie of zaurus kernel and openedhand.com fame. Thanks!
2005-12-15bin/bitbake:Holger Hans Peter Freyther
patch by pHilipp Zabel on #531. The variable was initialisied with one name and used with other names. I don't know if this lead to any exceptions but it is better this way.
2005-11-03bitbake/bin/bitbakeHolger Hans Peter Freyther
Patch for #436 to fix CVSDATE = "xxx" CVSDATE_somepackage = "yyy" PREFERRED_VERSION_somepackage = "zzz-${CVSDATE}" results in "zzz-xxx", not the expected and preferred "zzz-yyy". This is due to PN not being in OVERRIDES at this stage of bitbake operation. applied RP's patch from http://bugs.openembedded.org/attachment.cgi?id=365&action=view thanks RP