Holger Hans Peter Freyther [Sat, 27 May 2006 23:59:21 +0000 (23:59 +0000)]
bitbake/bin/bitbake: Add code to handle RDEPENDS
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.
Holger Hans Peter Freyther [Sat, 27 May 2006 23:56:41 +0000 (23:56 +0000)]
bitbake/bin/bitbake: We need to look at seen_depends everytime and can't filter
Due the recursion we need to reevualate seen_depends everytime.
Move the variables/files down to the actual call...
Holger Hans Peter Freyther [Sat, 27 May 2006 23:56:07 +0000 (23:56 +0000)]
bitbake/bin/bitbake: Add first version of mixed dependency handling
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.
Holger Hans Peter Freyther [Sat, 27 May 2006 20:30:57 +0000 (20:30 +0000)]
bitbake/bin/bitbake: Kill the generation of the RDEPENDS for
RDEPENDS needs different handling than DEPENDS. Looking
in providers is not enough most of the times.
Holger Hans Peter Freyther [Sat, 27 May 2006 20:30:45 +0000 (20:30 +0000)]
bitbake/bin/bitbake: Kill whitespace
Holger Hans Peter Freyther [Sat, 27 May 2006 20:30:37 +0000 (20:30 +0000)]
bitbake/bin/bitbake: CLI help updates, DOT generatin emits version
Emit the Version of the provider in the node as well. Create
a myFilterProvider to take PREFERRED_PROVIDER into account.
Holger Hans Peter Freyther [Sat, 27 May 2006 20:30:27 +0000 (20:30 +0000)]
doc/manual/usermanual.xml: Add some Bla about using the -g option
Start documenting the -g option... well start with it. Hopefully
someone else will document it.
Holger Hans Peter Freyther [Sat, 27 May 2006 20:30:17 +0000 (20:30 +0000)]
doc/manual/usermanual.xml: Simplify the sentence
Holger Hans Peter Freyther [Sat, 27 May 2006 20:30:08 +0000 (20:30 +0000)]
doc/manual/usermanual.xml: Fix the EventHandler example
The python method needs a closing brace. Add the
missing one.
Holger Hans Peter Freyther [Sat, 27 May 2006 20:29:54 +0000 (20:29 +0000)]
fetcher module:
Add ParameterError as Exception from bug report #72
Holger Hans Peter Freyther [Sat, 27 May 2006 20:29:17 +0000 (20:29 +0000)]
bitbake/lib/bb/shell.py:
-Rename last trace of pastebin.com to oe.pastebin.com
(which was in a comment any way)
Holger Hans Peter Freyther [Sat, 27 May 2006 20:29:01 +0000 (20:29 +0000)]
bitbake/lib/bb/data.py:
Add another testcase regarding createCopy
and update_data
Holger Hans Peter Freyther [Fri, 26 May 2006 22:36:44 +0000 (22:36 +0000)]
bitbake/bin/bitbake: Add option to ignore dependencies on graph
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.
Holger Hans Peter Freyther [Thu, 25 May 2006 21:38:06 +0000 (21:38 +0000)]
bitbake/bin/bitbake: Make sure we add all handlers from INHERIT
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.
Holger Hans Peter Freyther [Thu, 25 May 2006 17:51:33 +0000 (17:51 +0000)]
bitbake/bin/bitbake: Generate DOT depedency start
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...
Holger Hans Peter Freyther [Sat, 6 May 2006 13:45:38 +0000 (13:45 +0000)]
bitbake/lib/bb/shell.py:
No need to use imp on bin/bitbake
Holger Hans Peter Freyther [Sat, 6 May 2006 13:10:59 +0000 (13:10 +0000)]
bitbake/bin/bitbake:
BBConfiguration do not initialise the
configuration twice
Save a copy of th configuration data and update
it.
Holger Hans Peter Freyther [Sat, 6 May 2006 12:54:06 +0000 (12:54 +0000)]
bitbake/lib/bb/cache.py:
-Do not use the cooker directly in load_bbfile
-do not set TOPDIR etc. This should be set
by parse.init()
Holger Hans Peter Freyther [Thu, 4 May 2006 20:36:12 +0000 (20:36 +0000)]
bitbake/lib/bb/data_smart.py: Double OVERRIDE expansion fix
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
Richard Purdie [Wed, 3 May 2006 14:31:36 +0000 (14:31 +0000)]
bitbake/bin/bitbake:
- Make the update_data for buildDepGraph act on a copy of self.configuration.data
fixing certain dependency errors.
Holger Hans Peter Freyther [Wed, 3 May 2006 11:59:51 +0000 (11:59 +0000)]
bitbake/lib/bb/shell.py:
-Make it work, mickeyl please remove old
code ;)
Richard Purdie [Sat, 29 Apr 2006 10:25:13 +0000 (10:25 +0000)]
lib/bb/fetch/cvs.py:
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)
Richard Purdie [Sat, 29 Apr 2006 10:20:04 +0000 (10:20 +0000)]
fetch/__init__.py:
- Allow multiple entries in tarball stash and iterate through them
Richard Purdie [Sat, 29 Apr 2006 10:14:23 +0000 (10:14 +0000)]
bb/data_smart.py:
- Doesn't need pickle anymore so don't import it
Richard Purdie [Sat, 29 Apr 2006 10:13:18 +0000 (10:13 +0000)]
lib/bb/fetch/git.py:
- git clone now makes a checkout by default. Disable this.
Richard Purdie [Sat, 29 Apr 2006 10:12:12 +0000 (10:12 +0000)]
lib/bb/cache.py:
- Check the directory exists before chdir. Catches the parsing error
instead of crashing bitbake.
Holger Hans Peter Freyther [Fri, 28 Apr 2006 21:40:51 +0000 (21:40 +0000)]
bitbake/lib/bb/data_smart.py:
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
Holger Hans Peter Freyther [Fri, 28 Apr 2006 21:07:16 +0000 (21:07 +0000)]
bitbake/lib/bb/parse/__init__.py:
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.
Marcin Juszkiewicz [Fri, 28 Apr 2006 14:52:27 +0000 (14:52 +0000)]
bitbake.conf: force CVSROOT during cvs update
Holger Hans Peter Freyther [Tue, 25 Apr 2006 12:39:12 +0000 (12:39 +0000)]
bitbake/lib/bb/parse/parse_c/bitbakec.pyx:
-Add missing argument to the getVar
call. (messing with mithros code)
Holger Hans Peter Freyther [Tue, 25 Apr 2006 12:06:29 +0000 (12:06 +0000)]
bitbake/lib/bb/cache.py:
-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
Tim Ansell [Mon, 24 Apr 2006 09:54:32 +0000 (09:54 +0000)]
Delete now works. Other cleanup and fixes.
Tim Ansell [Mon, 24 Apr 2006 07:25:35 +0000 (07:25 +0000)]
Degrades to copy on mutable types - Cheap is the mutable types are already COW.
Holger Hans Peter Freyther [Sat, 22 Apr 2006 11:27:28 +0000 (11:27 +0000)]
bitbake/bin/bitbake:
This is a unstable BitBake version. Warn the
users about it... or annoy them enough to switch
to the stable branch.
Michael 'Mickey' Lauer [Fri, 21 Apr 2006 13:58:48 +0000 (13:58 +0000)]
shell: reparsing no longer checks whether it came from cache or not
shell: use our private pastebin: oe.pastebin.com
Tim Ansell [Fri, 21 Apr 2006 13:49:05 +0000 (13:49 +0000)]
COW example...
Holger Hans Peter Freyther [Thu, 20 Apr 2006 12:19:55 +0000 (12:19 +0000)]
bitbake/lib/bb/data_smart.py:
-Avoid issues with the assignment. Make sure
we assign special to special and seen to
seen.
Holger Hans Peter Freyther [Thu, 20 Apr 2006 09:11:15 +0000 (09:11 +0000)]
bitbake/lib/bb:
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)
Holger Hans Peter Freyther [Wed, 19 Apr 2006 19:30:16 +0000 (19:30 +0000)]
bitbake versions:
-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
Holger Hans Peter Freyther [Wed, 19 Apr 2006 19:27:10 +0000 (19:27 +0000)]
bitbake/
Merge -453 to HEAD into the trunk from the branch
Holger Hans Peter Freyther [Mon, 17 Apr 2006 20:08:00 +0000 (20:08 +0000)]
bin/bitbake:
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
Richard Purdie [Sun, 16 Apr 2006 23:53:10 +0000 (23:53 +0000)]
bitbake/lib/bb/cache.py:
* When clearing stale cache entries, clear depends_cache as well as
the clean list.
Richard Purdie [Sun, 16 Apr 2006 23:45:39 +0000 (23:45 +0000)]
bitbake/bin/bitbake:
* Fix a loadDataFull call the last changeset missed
* Only follow all dependencies when cmd == build
(fixes the recursive cleaning bug)
Holger Hans Peter Freyther [Sun, 16 Apr 2006 22:41:39 +0000 (22:41 +0000)]
Revert r444 as it is giving errors with keys...
Richard Purdie [Sun, 16 Apr 2006 22:11:50 +0000 (22:11 +0000)]
bitbake/lib/bb/cache.py:
* Add cache version handling to allow cache format changes in
the future.
Holger Hans Peter Freyther [Sun, 16 Apr 2006 21:30:16 +0000 (21:30 +0000)]
bitbake/bin/bitbake:
-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
Holger Hans Peter Freyther [Sun, 16 Apr 2006 21:11:16 +0000 (21:11 +0000)]
bitbake/lib/bb/data_smart.py:
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
Richard Purdie [Sun, 16 Apr 2006 18:21:08 +0000 (18:21 +0000)]
bitbake/lib/bb/cache.py:
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
* Remove a useless return value from loadDataFull
bitbake/ChangeLog:
* Update the changelog with recent changes
Richard Purdie [Sun, 16 Apr 2006 17:39:07 +0000 (17:39 +0000)]
bitbake/lib/bb/cache.py:
* 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
Holger Hans Peter Freyther [Sun, 16 Apr 2006 16:56:15 +0000 (16:56 +0000)]
lib/bb/shell.py:
-Make it work...
Tim Ansell [Sun, 16 Apr 2006 06:07:15 +0000 (06:07 +0000)]
80% Complete C parser for bitbake.
Richard Purdie [Sun, 16 Apr 2006 00:30:06 +0000 (00:30 +0000)]
bitbake/lib/bb/cache.py:
Add cache documentation
Holger Hans Peter Freyther [Sat, 15 Apr 2006 23:18:07 +0000 (23:18 +0000)]
bitbake/lib/bb/data.py:
-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
Holger Hans Peter Freyther [Sat, 15 Apr 2006 22:57:52 +0000 (22:57 +0000)]
lib/bb/data_smart.py:
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
Richard Purdie [Sat, 15 Apr 2006 22:52:28 +0000 (22:52 +0000)]
bitbake/lib/bb/data.py:
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.
Holger Hans Peter Freyther [Sat, 15 Apr 2006 21:24:01 +0000 (21:24 +0000)]
bitbake/lib/bb/data_smart.py:
Partially undo r420. We do not need to shadow the
variable, for our view we have set our version (an empty one)
already
Holger Hans Peter Freyther [Fri, 14 Apr 2006 22:48:14 +0000 (22:48 +0000)]
bitbake/lib/bb/methodpool.py:
-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...
Holger Hans Peter Freyther [Fri, 14 Apr 2006 22:47:55 +0000 (22:47 +0000)]
bitbake/lib/bb/methodpool.py:
-Document the usage of the three variables
Holger Hans Peter Freyther [Fri, 14 Apr 2006 22:47:09 +0000 (22:47 +0000)]
bitbake/lib/bb/parse/parse_py/BBHandler.py:
-Document the way we handle root
Holger Hans Peter Freyther [Fri, 14 Apr 2006 22:46:48 +0000 (22:46 +0000)]
bitbake/lib/bb/methodpool.bb:
-Revert the last change. We have no method names available
which makes tracking of replacing not possible...
Holger Hans Peter Freyther [Fri, 14 Apr 2006 22:46:27 +0000 (22:46 +0000)]
bitbake/lib/bb/methodpool.py:
-Add sanity check to the methodpool. If the same method
is registered by two differen files then we will throw
an error
Holger Hans Peter Freyther [Fri, 14 Apr 2006 20:08:35 +0000 (20:08 +0000)]
bitbake/ChangeLog:
Mention the cache breakage and the updated User Manual
explaining the Options of the Fetchers
Holger Hans Peter Freyther [Fri, 14 Apr 2006 20:08:06 +0000 (20:08 +0000)]
bitbake/AUTHORS:
Add Richard and sort the file using the alphabet (if that is
not the order you expect, then this is due using a different
alphabet)
Richard Purdie [Fri, 14 Apr 2006 18:22:20 +0000 (18:22 +0000)]
bitbake/lib/bb/fetch/git.py:
Prune packed git objects to slightly decrease the git fetchers disk usage.
Richard Purdie [Fri, 14 Apr 2006 18:20:57 +0000 (18:20 +0000)]
bin/bitbake:
Update output to more accurately describe what bitbake's doing
when handling already staged packages.
Holger Hans Peter Freyther [Thu, 30 Mar 2006 18:14:56 +0000 (18:14 +0000)]
lib/bb/data_smart.py:
-The pickling API is not too obvious. One can
not call p.dump multiple times. Instead
we store it as a tuple.
-Same applies for unpickling.
-Hmm current programming languages suck. It
can't be true to use multiple assignment
for something as easy as a 'symmetric'
command.
Holger Hans Peter Freyther [Wed, 29 Mar 2006 21:04:42 +0000 (21:04 +0000)]
bitbke/lib/bb/data_smart.py:
-createCopy is not called, instead
a constructor is invoked. Copy the
cookies here as well.
Currently I only copy them from 'clean' as
we should have them pickled already...
Holger Hans Peter Freyther [Wed, 29 Mar 2006 20:24:43 +0000 (20:24 +0000)]
bitbake/lib/bb/data_smart.py:
Remember what we paid to the Cookie Monster.
Make a copy of it. Currently we do no removal
of these keys so I hope to get around the
shallow copies as welbitbake/lib/bb/data_smart.py:
Remember what we paid to the Cookie Monster.
Make a copy of it. Currently we do no removal
of these keys so I hope to get around the
shallow copies as welll
Holger Hans Peter Freyther [Wed, 29 Mar 2006 18:25:25 +0000 (18:25 +0000)]
bitbake/lib/bb/data.py:
-Only have one expand method in the dict
implementation.
-Apply some magic knowledge by feeding the
cookie master.
-Speed up update_data by asking the Cookie
Monster for help.
We do not iterate over each key, but the
keys we know that have the data we care
about. This gives a huge speed improvement
to parsing.
bitbake/lib/bb/data_smart.py:
-Make setVar more expensive by feeding the cookie
monster
Holger Hans Peter Freyther [Thu, 23 Mar 2006 23:32:03 +0000 (23:32 +0000)]
bitbake/lib/bb/cache:
-Fix the method invocation in methodpool
to use the right amount of arguments
-Update data_smart to the new cache layout
of the file functions
Holger Hans Peter Freyther [Thu, 23 Mar 2006 23:11:02 +0000 (23:11 +0000)]
bitbake/method pool:
Create a common implementation of the global
method handling. It will be shared by the parsers
and the cache.
This commit breaks the cache again
Holger Hans Peter Freyther [Wed, 22 Mar 2006 16:08:03 +0000 (16:08 +0000)]
lib/bb/event.py:
-Add Registered and AlreadyRegistered
as return values for register
Holger Hans Peter Freyther [Wed, 22 Mar 2006 16:03:39 +0000 (16:03 +0000)]
lib/bb/data_smart.py:
ReAdd the handlers when unpickling the file
parse/parse_py/BBHandler.py:
Save the once added handlers in the bitbake
file.
Holger Hans Peter Freyther [Wed, 22 Mar 2006 13:48:02 +0000 (13:48 +0000)]
bin/bitbake:
-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
Holger Hans Peter Freyther [Wed, 22 Mar 2006 10:09:43 +0000 (10:09 +0000)]
parse/parse_py/BBHandler.py:
Compile and Execute methods from .inc
and .class files only once.
I'm not sure about a performance win here
at least it is not decreasing performance
Holger Hans Peter Freyther [Tue, 21 Mar 2006 21:53:28 +0000 (21:53 +0000)]
bin/bitbake: Micro Optimisation
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.
Holger Hans Peter Freyther [Tue, 21 Mar 2006 21:40:36 +0000 (21:40 +0000)]
parse/parse_c/BBHandler:
Implement some bits of the C parser. We will
do the easy things in python and then initialize
the lexer/parser.
Richard Purdie [Mon, 20 Mar 2006 18:16:55 +0000 (18:16 +0000)]
bin/bitbake:
Fix RRECOMMENDS_${PN} and RPROVIDES_${PN} handling.
Holger Hans Peter Freyther [Mon, 20 Mar 2006 00:26:22 +0000 (00:26 +0000)]
parse/parse_c:
-python_output will be called from the parser. Once we have
each method implemented we have a working C++ parser
-Add BBHandler. It will parse .bbclass, .inc and .bb files
for us and calls into c (if speed critical we might remove
that fascade)
-make scanner get FILE* and PyObject* as input
-make parser call python_output with lex_t
-bitbakescanner.cc,bitbakeparser.cc update generated code
-Parsing flow:
parse -> handle -> parse_c.BBHandler -> parse_c.C -> lex
-> (lemon *-> python_output) ... return
Holger Hans Peter Freyther [Sun, 19 Mar 2006 23:02:27 +0000 (23:02 +0000)]
bitbake/bin/bitbake:
Create a ordinary main method. This makes invoking
the hotshot profiling tool much more easy
Holger Hans Peter Freyther [Sun, 19 Mar 2006 19:57:58 +0000 (19:57 +0000)]
parse_c:
Add require to the scanner
Holger Hans Peter Freyther [Sun, 19 Mar 2006 19:42:45 +0000 (19:42 +0000)]
bitbake/lib/bb/parse/parse_c:
-Update grammar to use require
-Make code compile (almost)
-Add the generated code to svn for portability
reasons.
Holger Hans Peter Freyther [Sat, 18 Mar 2006 12:38:53 +0000 (12:38 +0000)]
bitbake/bin/bitdoc:
Make it work with python2.3 and python2.4
Holger Hans Peter Freyther [Fri, 17 Mar 2006 23:48:40 +0000 (23:48 +0000)]
bitbake/bin/bitdoc:
-Use paragraphs instead of 'pre'. This enables line
wrapping for too big comments
Holger Hans Peter Freyther [Fri, 17 Mar 2006 23:38:17 +0000 (23:38 +0000)]
bitbake/bin/bitdoc:
-Do not link to keys.html and groups.html, use the right
site
-Make it possible to have descriptions for groups as well
Holger Hans Peter Freyther [Fri, 17 Mar 2006 23:29:43 +0000 (23:29 +0000)]
bitbake/bitdoc:
-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
Holger Hans Peter Freyther [Fri, 17 Mar 2006 20:49:22 +0000 (20:49 +0000)]
bitbake/lib/bb:
Bump the minor minor version again
Holger Hans Peter Freyther [Fri, 17 Mar 2006 09:47:14 +0000 (09:47 +0000)]
lib/bb/fetch.py:
-svn_rsh was used, but the code was unreachable leading to
runtime errors
-now if the proto is svn+ssh, honor rsh parameter of the
URL
Holger Hans Peter Freyther [Thu, 16 Mar 2006 23:53:37 +0000 (23:53 +0000)]
bitbake/bin/bitdoc:
-We do not need make, we only need bb.parse
Holger Hans Peter Freyther [Thu, 16 Mar 2006 23:46:56 +0000 (23:46 +0000)]
bitbake/doc/manual:
Start documenting the available fetchers and their VARIABLES
and Parameters
Holger Hans Peter Freyther [Thu, 16 Mar 2006 23:41:59 +0000 (23:41 +0000)]
bitbake/lib/bb/fetch/svn:
Remove the CVS origin from the SVN fetcher. ext and pserver
are not used by subversion.
Holger Hans Peter Freyther [Mon, 13 Mar 2006 22:58:51 +0000 (22:58 +0000)]
bitbake/lib/bb/event.py:
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...
Holger Hans Peter Freyther [Wed, 8 Mar 2006 16:11:05 +0000 (16:11 +0000)]
lib/bb/utils.py:
Do not report RuntimeErrors for SkipPackage and FuncFailed
Holger Hans Peter Freyther [Wed, 8 Mar 2006 13:13:28 +0000 (13:13 +0000)]
bitbake/lib/bb/utils.py:
Kill the code duplication
Holger Hans Peter Freyther [Wed, 8 Mar 2006 13:05:44 +0000 (13:05 +0000)]
lib/bb/utils.py:
Do not go past the buffer
(this looks like copy and paste)
Holger Hans Peter Freyther [Wed, 8 Mar 2006 12:39:56 +0000 (12:39 +0000)]
bitbake/lib/bb/utils.py:
Do not report Skipped Packages as runtime
error
Holger Hans Peter Freyther [Tue, 7 Mar 2006 21:43:24 +0000 (21:43 +0000)]
lib/bb/utils.py:
-Be less verbose
Holger Hans Peter Freyther [Tue, 7 Mar 2006 21:42:24 +0000 (21:42 +0000)]
bitbake/lib/bb/utils.py:
-This not Thiis
-Print the RuntimeError with context gosh
that is looking awesome.
-Now debugging errors in custom bbclasses,
python methods should be much more easy
Holger Hans Peter Freyther [Tue, 7 Mar 2006 21:40:50 +0000 (21:40 +0000)]
bitbake/lib/bb/data_smart.py:
Give a filename to the better compile method.
(sorry)
Holger Hans Peter Freyther [Tue, 7 Mar 2006 20:21:51 +0000 (20:21 +0000)]
bitbake/lib/bb/utils.py:
Create a work in progress version for
better_execute. With advanced error reporting
facilities.
bitbake/lib/bb/build.py:
Use better_execute
bitbake/parse/parse_py/BBHandler.py:
Use better_execute instead of exex