aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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-08lib/bb/build.py: fix for 1017, try to change back to the prevdirHolger Hans Peter Freyther
In the case of rm_work.bbclass we might have deleted the directory where we come from. Do not fail to avoid the issues described in #1017
2006-07-08bitbake/lib/bb/build.py:Richard Purdie
- Remove some stale inactive code
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-07-08lib/bb/fetch/git.py: Add some commands to clean up the git directories to ↵Richard Purdie
make things faster and use less space
2006-05-31bitbake/lib/bb/fetch/*: Implement special 'now' handling for BitBakeHolger Hans Peter Freyther
Patch courtsey Justin Patrin to teach BitBake SRCDATE="now" handling. If SRCDATE is set to now we will not look at the temporary DL_DIR for a saved tarball as we want to download a new version. OpenEmbedded should consider stamping the do fetch phase. Justin thanks for the patch and sorry for all the trouble bitbake/doc/manual/usermanual.xml: Document the 'now' method for svn,svk and cvs
2006-05-27 fetcher module:Holger Hans Peter Freyther
Add ParameterError as Exception from bug report #72
2006-05-27 bitbake/lib/bb/shell.py:Holger Hans Peter Freyther
-Rename last trace of pastebin.com to oe.pastebin.com (which was in a comment any way)
2006-05-27 bitbake/lib/bb/data.py:Holger Hans Peter Freyther
Add another testcase regarding createCopy and update_data
2006-05-06bitbake/lib/bb/shell.py:Holger Hans Peter Freyther
No need to use imp on bin/bitbake
2006-05-06bitbake/lib/bb/cache.py:Holger Hans Peter Freyther
-Do not use the cooker directly in load_bbfile -do not set TOPDIR etc. This should be set by parse.init()
2006-05-04bitbake/lib/bb/data_smart.py: Double OVERRIDE expansion fixHolger Hans Peter Freyther
INITSCRIPT_PARAMS_${PN}_slugos. We will expandKeys and end up with INITSCRIPT_PARAMS_busybox_slugos then (we have slugos in OVERRIDES) and we get INITSCRIPT_PARAMS_busybox. Now adding busybox to OVERRIDES and nothing changed. The reason is simple. The update_data code is using __getitem__ and __setitem__ to access the data object. This method does not pay the cookie monster. This is why we don't know that for the OVERRIDE busybox INITSCRIPT_PARAMS is available. We now pay the cookie monster and it looks better
2006-05-03bitbake/lib/bb/shell.py:Holger Hans Peter Freyther
-Make it work, mickeyl please remove old code ;)
2006-04-29lib/bb/fetch/cvs.py:Richard Purdie
lib/bb/fetch/__init__.py: lib/bb/fetch/svn.py: - Move the DL_DIR check into try_mirror since every fetcher will do this. (git fetcher already assumes this check is made)
2006-04-29fetch/__init__.py:Richard Purdie
- Allow multiple entries in tarball stash and iterate through them
2006-04-29bb/data_smart.py:Richard Purdie
- Doesn't need pickle anymore so don't import it
2006-04-29lib/bb/fetch/git.py:Richard Purdie
- git clone now makes a checkout by default. Disable this.
2006-04-29lib/bb/cache.py:Richard Purdie
- Check the directory exists before chdir. Catches the parsing error instead of crashing bitbake.
2006-04-28 bitbake/lib/bb/data_smart.py:Holger Hans Peter Freyther
Remove my broken COW version, use mithros COW module instead. Make it 'work' with the code bitbake/lib/bb/data.py: Update to use the iter protocol again and has_key
2006-04-28 bitbake/lib/bb/parse/__init__.py:Holger Hans Peter Freyther
Bug 895. __depends is a single string with "filename@time" the string gets splitted by ' ' as it is assumed that "filename@time filename2@time2" is true. Basicly on PPC/Darwin we have "PowerPC Macintosh.conf" splitting by space leads to the error observed by koen. Resolution: As we use __depends only as a list, save it as a list. This avoids the int->str->int, and split, append, join operations. bitbake/lib/bb/cache.py: __depends is now a list, change the version of the cache and simplify the method.
2006-04-25bitbake/lib/bb/parse/parse_c/bitbakec.pyx:Holger Hans Peter Freyther
-Add missing argument to the getVar call. (messing with mithros code)
2006-04-25bitbake/lib/bb/cache.py:Holger Hans Peter Freyther
-Do not 'crash'/fail when cachedir is None. If it is none os.path.join would fail -Also check if we have a cache only once. -Potential Backport Candidate
2006-04-24Delete now works. Other cleanup and fixes.Tim Ansell
2006-04-24Degrades to copy on mutable types - Cheap is the mutable types are already COW.Tim Ansell
2006-04-21shell: reparsing no longer checks whether it came from cache or notMichael 'Mickey' Lauer
shell: use our private pastebin: oe.pastebin.com
2006-04-21COW example...Tim Ansell
2006-04-20bitbake/lib/bb/data_smart.py:Holger Hans Peter Freyther
-Avoid issues with the assignment. Make sure we assign special to special and seen to seen.
2006-04-20bitbake/lib/bb:Holger Hans Peter Freyther
Make the Cookie Monster Dict a METACLASS? To exploit automatically the COW features... Small performance analysis is showing that this is saving some time (and memory as well)
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-16bitbake/lib/bb/cache.py:Richard Purdie
* When clearing stale cache entries, clear depends_cache as well as the clean list.
2006-04-16Revert r444 as it is giving errors with keys...Holger Hans Peter Freyther
2006-04-16bitbake/lib/bb/cache.py:Richard Purdie
* Add cache version handling to allow cache format changes in the future.
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/data_smart.py:Holger Hans Peter Freyther
My first failed attempt to create something compatible with a Dictionary with COW/parenting features Use this new class for the Override Helpers bitbake/lib/bb/data.py: Update to the new data structure, it can't be treated as a dict, it is not a dict. We will use keys() (O(n)) and get
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-16lib/bb/shell.py:Holger Hans Peter Freyther
-Make it work...
2006-04-1680% Complete C parser for bitbake.Tim Ansell
2006-04-16bitbake/lib/bb/cache.py:Richard Purdie
Add cache documentation
2006-04-15bitbake/lib/bb/data.py:Holger Hans Peter Freyther
-Remove the 'Proxies' for the pkgdata Cache -Remove the pkgdata() method as we now have a different caching strategy -Alter init_db to only take a parent and call createCopy directly bitbake/lib/bb/data_smart.py: -Remove the DataSmartPackage class as it is not needed bitbake/lib/bb/cache.py: -Call init_db with the only reasonable argument
2006-04-15lib/bb/data_smart.py:Holger Hans Peter Freyther
For now we are forced to deepcopy these two dictonaries. This is a first aid band aid to have something working. We will kill the DataSmartPackage class completely
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-15bitbake/lib/bb/data_smart.py:Holger Hans Peter Freyther
Partially undo r420. We do not need to shadow the variable, for our view we have set our version (an empty one) already
2006-04-14 bitbake/lib/bb/methodpool.py:Holger Hans Peter Freyther
-Extract the names from the just compiled code -Iterate over each key (leaving out Keys and None) -And see if we have seen the name already. -If we have seen it, raise an error...
2006-04-14 bitbake/lib/bb/methodpool.py:Holger Hans Peter Freyther
-Document the usage of the three variables
2006-04-14 bitbake/lib/bb/parse/parse_py/BBHandler.py:Holger Hans Peter Freyther
-Document the way we handle root
2006-04-14 bitbake/lib/bb/methodpool.bb:Holger Hans Peter Freyther
-Revert the last change. We have no method names available which makes tracking of replacing not possible...
2006-04-14 bitbake/lib/bb/methodpool.py:Holger Hans Peter Freyther
-Add sanity check to the methodpool. If the same method is registered by two differen files then we will throw an error
2006-04-14bitbake/lib/bb/fetch/git.py:Richard Purdie
Prune packed git objects to slightly decrease the git fetchers disk usage.