Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
- Remove some stale inactive code
|
|
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.
|
|
make things faster and use less space
|
|
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
|
|
Add ParameterError as Exception from bug report #72
|
|
-Rename last trace of pastebin.com to oe.pastebin.com
(which was in a comment any way)
|
|
Add another testcase regarding createCopy
and update_data
|
|
No need to use imp on bin/bitbake
|
|
-Do not use the cooker directly in load_bbfile
-do not set TOPDIR etc. This should be set
by parse.init()
|
|
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
|
|
-Make it work, mickeyl please remove old
code ;)
|
|
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)
|
|
- Allow multiple entries in tarball stash and iterate through them
|
|
- Doesn't need pickle anymore so don't import it
|
|
- git clone now makes a checkout by default. Disable this.
|
|
- Check the directory exists before chdir. Catches the parsing error
instead of crashing bitbake.
|
|
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
|
|
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.
|
|
-Add missing argument to the getVar
call. (messing with mithros code)
|
|
-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
|
|
|
|
|
|
shell: use our private pastebin: oe.pastebin.com
|
|
|
|
-Avoid issues with the assignment. Make sure
we assign special to special and seen to
seen.
|
|
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)
|
|
-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
|
|
Merge -453 to HEAD into the trunk from the branch
|
|
* When clearing stale cache entries, clear depends_cache as well as
the clean list.
|
|
|
|
* Add cache version handling to allow cache format changes in
the future.
|
|
-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
|
|
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
|
|
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
* Remove a useless return value from loadDataFull
bitbake/ChangeLog:
* Update the changelog with recent changes
|
|
* 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
|
|
-Make it work...
|
|
|
|
Add cache documentation
|
|
-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
|
|
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
|
|
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.
|
|
Partially undo r420. We do not need to shadow the
variable, for our view we have set our version (an empty one)
already
|
|
-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...
|
|
-Document the usage of the three variables
|
|
-Document the way we handle root
|
|
-Revert the last change. We have no method names available
which makes tracking of replacing not possible...
|
|
-Add sanity check to the methodpool. If the same method
is registered by two differen files then we will throw
an error
|
|
Prune packed git objects to slightly decrease the git fetchers disk usage.
|