vuplus_bitbake
17 years agobitbake-1.4.2/lib/bb/data_smart.py: 1.4.2
Holger Hans Peter Freyther [Thu, 4 May 2006 21:46:45 +0000 (21:46 +0000)]
bitbake-1.4.2/lib/bb/data_smart.py:
    Do not print deprecation warnings here

17 years agobitbake-1.4/lib/bb/__init__.py:
Holger Hans Peter Freyther [Thu, 4 May 2006 20:53:42 +0000 (20:53 +0000)]
bitbake-1.4/lib/bb/__init__.py:
bitbake-1.4/bin/bitbake:
    Increase the version to 1.4.2

bitbake-1.4/ChangeLog:
    Update the ChangeLog to mention the included
    backports.

17 years agobitbake-1.4/lib/bb/data_smart.py: Backport to fix double OVERRIDE
Holger Hans Peter Freyther [Thu, 4 May 2006 20:40:18 +0000 (20:40 +0000)]
bitbake-1.4/lib/bb/data_smart.py: Backport to fix double OVERRIDE

    Backport of r496 to fix INITSCRIPT_PARAMS_${PN}_slugos. We
    accessed a variable 'indirectly' this lead to missing the
    ${PN} override for INITSCRIPT_PARAMS.

17 years agobitbake-1.4/bin/bitbake:
Richard Purdie [Wed, 3 May 2006 14:36:50 +0000 (14:36 +0000)]
bitbake-1.4/bin/bitbake:
        - Make the update_data for buildDepGraph act on a copy of self.configuration.data
          fixing certain dependency errors.

17 years agobitbake-1.4/lib/bb/shell.py:
Holger Hans Peter Freyther [Mon, 1 May 2006 14:17:39 +0000 (14:17 +0000)]
bitbake-1.4/lib/bb/shell.py:
    -Well fix the if statement. mickeyl we have
     a SCM system, please remove dead code

17 years agobitbake-1.4/lib/bb/fetch/__init__.py:
Richard Purdie [Sun, 30 Apr 2006 14:09:33 +0000 (14:09 +0000)]
bitbake-1.4/lib/bb/fetch/__init__.py:
    Attachment from http://bugs.openembedded.org/attachment.cgi?id=698&action=view
    from bug #918 to fix "Allow multiple TARBALL_STASH entries"

17 years agobitbake-1.4/lib/bb/cache.py:
Holger Hans Peter Freyther [Sat, 29 Apr 2006 17:49:49 +0000 (17:49 +0000)]
bitbake-1.4/lib/bb/cache.py:
    Check directory exists befor chdir this patch was taken
    from attachment http://bugs.openembedded.org/attachment.cgi?id=691&action=view
    of bug #918

17 years agobitbake-1.4/lib/bb/fetch/git.py:
Holger Hans Peter Freyther [Sat, 29 Apr 2006 17:45:48 +0000 (17:45 +0000)]
bitbake-1.4/lib/bb/fetch/git.py:
    Attachment from http://bugs.openembedded.org/attachment.cgi?id=690&action=view
    from bug #918 to fix "git fetcher: Stop clones making a checkout"

17 years agobitbake-1.4/conf/bitbake.conf:
Holger Hans Peter Freyther [Sat, 29 Apr 2006 17:42:57 +0000 (17:42 +0000)]
bitbake-1.4/conf/bitbake.conf:
    Attachment from http://bugs.openembedded.org/attachment.cgi?id=683
    from bug #918 to fix issues when the CVS location changes
    e.g. this happend with savannah cvs

17 years agobitbake-1.4/lib/bb/shell.py:
Holger Hans Peter Freyther [Sat, 29 Apr 2006 17:40:16 +0000 (17:40 +0000)]
bitbake-1.4/lib/bb/shell.py:
    Attachment http://bugs.openembedded.org/attachment.cgi?id=682
    from bug #918 to fix  #856.
    Use oe.pastebin.com instead of pastebin.com

17 years agobitbake-1.4/lib/bb/cache.py:
Holger Hans Peter Freyther [Sat, 29 Apr 2006 17:37:44 +0000 (17:37 +0000)]
bitbake-1.4/lib/bb/cache.py:
bitbake-1.4/lib/bb/parse/__init__.py:
    Attachment http://bugs.openembedded.org/attachment.cgi?id=679
    from #918 from bug #918 to work with spaces in filenames properly.

    This changed the type of __depends and we need to update the
    cache version due this.

17 years agobitbake-1.4/lib/bb/cache.py:
Holger Hans Peter Freyther [Sat, 29 Apr 2006 17:33:54 +0000 (17:33 +0000)]
bitbake-1.4/lib/bb/cache.py:
    Apply patch from http://bugs.openembedded.org/attachment.cgi?id=681
    bug #891, #895 to not fail if CACHE is not set at all

18 years agobitbake versions:
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

18 years agobitbake-1.4:
Holger Hans Peter Freyther [Wed, 19 Apr 2006 06:48:43 +0000 (06:48 +0000)]
bitbake-1.4:
    Install bitdoc and the vim syntax as well

18 years agobitbake-1.4:
Holger Hans Peter Freyther [Tue, 18 Apr 2006 16:45:45 +0000 (16:45 +0000)]
bitbake-1.4:
    -Install the cache.py as well (quite important
     file)

18 years agobitbake-1.4/ChangeLog:
Holger Hans Peter Freyther [Tue, 18 Apr 2006 16:43:29 +0000 (16:43 +0000)]
bitbake-1.4/ChangeLog:
    -Update the 1.3.x to 1.4.0 as this is our release

bitbake-1.4/bin/bitbake
bitbake-1.4/lib/bb/__init__.py:
    -Update the version string to version 1.4

18 years agobitbake:
Holger Hans Peter Freyther [Tue, 18 Apr 2006 16:39:48 +0000 (16:39 +0000)]
bitbake:
    -Branch Off Bitbake Version 1.4. We will
     make releases for 1.4 from this branch
    -Disable the instrumentation of added methods
     for now (this release)

18 years agobin/bitbake:
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

18 years agobitbake/lib/bb/cache.py:
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.

18 years agobitbake/bin/bitbake:
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)

18 years agoRevert r444 as it is giving errors with keys...
Holger Hans Peter Freyther [Sun, 16 Apr 2006 22:41:39 +0000 (22:41 +0000)]
Revert r444 as it is giving errors with keys...

18 years agobitbake/lib/bb/cache.py:
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.

18 years agobitbake/bin/bitbake:
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

18 years agobitbake/lib/bb/data_smart.py:
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

18 years agobitbake/lib/bb/cache.py:
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

18 years agobitbake/lib/bb/cache.py:
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

18 years agolib/bb/shell.py:
Holger Hans Peter Freyther [Sun, 16 Apr 2006 16:56:15 +0000 (16:56 +0000)]
lib/bb/shell.py:
    -Make it work...

18 years ago80% Complete C parser for bitbake.
Tim Ansell [Sun, 16 Apr 2006 06:07:15 +0000 (06:07 +0000)]
80% Complete C parser for bitbake.

18 years agobitbake/lib/bb/cache.py:
Richard Purdie [Sun, 16 Apr 2006 00:30:06 +0000 (00:30 +0000)]
bitbake/lib/bb/cache.py:
Add cache documentation

18 years agobitbake/lib/bb/data.py:
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

18 years agolib/bb/data_smart.py:
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

18 years agobitbake/lib/bb/data.py:
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.

18 years agobitbake/lib/bb/data_smart.py:
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

18 years ago bitbake/lib/bb/methodpool.py:
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...

18 years ago bitbake/lib/bb/methodpool.py:
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

18 years ago bitbake/lib/bb/parse/parse_py/BBHandler.py:
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

18 years ago bitbake/lib/bb/methodpool.bb:
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...

18 years ago bitbake/lib/bb/methodpool.py:
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

18 years ago bitbake/ChangeLog:
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

18 years ago bitbake/AUTHORS:
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)

18 years agobitbake/lib/bb/fetch/git.py:
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.

18 years agobin/bitbake:
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.

18 years agolib/bb/data_smart.py:
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.

18 years agobitbke/lib/bb/data_smart.py:
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...

18 years agobitbake/lib/bb/data_smart.py:
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

18 years agobitbake/lib/bb/data.py:
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

18 years agobitbake/lib/bb/cache:
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

18 years agobitbake/method pool:
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

18 years agolib/bb/event.py:
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

18 years agolib/bb/data_smart.py:
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.

18 years agobin/bitbake:
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

18 years agoparse/parse_py/BBHandler.py:
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

18 years agobin/bitbake: Micro Optimisation
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.

18 years agoparse/parse_c/BBHandler:
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.

18 years agobin/bitbake:
Richard Purdie [Mon, 20 Mar 2006 18:16:55 +0000 (18:16 +0000)]
bin/bitbake:
Fix RRECOMMENDS_${PN} and RPROVIDES_${PN} handling.

18 years agoparse/parse_c:
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

18 years agobitbake/bin/bitbake:
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

18 years agoparse_c:
Holger Hans Peter Freyther [Sun, 19 Mar 2006 19:57:58 +0000 (19:57 +0000)]
parse_c:
    Add require to the scanner

18 years agobitbake/lib/bb/parse/parse_c:
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.

18 years agobitbake/bin/bitdoc:
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

18 years agobitbake/bin/bitdoc:
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

18 years agobitbake/bin/bitdoc:
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

18 years agobitbake/bitdoc:
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

18 years agobitbake/lib/bb:
Holger Hans Peter Freyther [Fri, 17 Mar 2006 20:49:22 +0000 (20:49 +0000)]
bitbake/lib/bb:
    Bump the minor minor version again

18 years agolib/bb/fetch.py:
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

18 years agobitbake/bin/bitdoc:
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

18 years agobitbake/doc/manual:
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

18 years agobitbake/lib/bb/fetch/svn:
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.

18 years agobitbake/lib/bb/event.py:
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...

18 years agolib/bb/utils.py:
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

18 years agobitbake/lib/bb/utils.py:
Holger Hans Peter Freyther [Wed, 8 Mar 2006 13:13:28 +0000 (13:13 +0000)]
bitbake/lib/bb/utils.py:
Kill the code duplication

18 years agolib/bb/utils.py:
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)

18 years agobitbake/lib/bb/utils.py:
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

18 years agolib/bb/utils.py:
Holger Hans Peter Freyther [Tue, 7 Mar 2006 21:43:24 +0000 (21:43 +0000)]
lib/bb/utils.py:
    -Be less verbose

18 years agobitbake/lib/bb/utils.py:
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

18 years agobitbake/lib/bb/data_smart.py:
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)

18 years agobitbake/lib/bb/utils.py:
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

18 years agobitbake/lib/bb/data_smart.py,event.py:
Holger Hans Peter Freyther [Tue, 7 Mar 2006 20:19:56 +0000 (20:19 +0000)]
bitbake/lib/bb/data_smart.py,event.py:
    Use bb.utils.better_compile instead of
    the simple compile for better error
    reporting

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Sun, 5 Mar 2006 17:09:52 +0000 (17:09 +0000)]
bitbake/bin/bitbake:
     Prepend the lib module instead of appending to
     override the system installation

bitbake/lib/bb/data.py:
     Same as above, prepend instead of append

18 years agobitbake/lib/bb/fetch/git.py:
Richard Purdie [Wed, 1 Mar 2006 23:06:59 +0000 (23:06 +0000)]
bitbake/lib/bb/fetch/git.py:
Improvements to the git fetcher including using the src mirrors,
updates to use modern git commands, making the code more efficent
and remove some old debug.

18 years agobitbake/parser,build,utils:
Holger Hans Peter Freyther [Sun, 26 Feb 2006 11:07:47 +0000 (11:07 +0000)]
bitbake/parser,build,utils:
    We compile strings into code. In case of erros the traceback
    is not useful at all. It doesn't print the function name,
    accurate line number etc.
    Introduce a better_compile method that excepts the Error
    and prints the surrounding lines of code.
    We make use of it on the parsing level and execution level
    of python methods.

18 years agobitbake/lib/bb/__init__.py:
Holger Hans Peter Freyther [Sun, 26 Feb 2006 11:02:09 +0000 (11:02 +0000)]
bitbake/lib/bb/__init__.py:
    Remove the configuration reading class. We have
    two parsers already

18 years agobitbake/lib/bb/event.py:
Holger Hans Peter Freyther [Sun, 26 Feb 2006 11:01:25 +0000 (11:01 +0000)]
bitbake/lib/bb/event.py:
    Rename the removeCode and addCode to _removeCode and
    _addCode as they are private and internal.

18 years agobin/bitbake:
Holger Hans Peter Freyther [Sun, 26 Feb 2006 10:59:05 +0000 (10:59 +0000)]
bin/bitbake:
    Remove the whitespace... well I have seen it and
    removed it.

18 years agolib/bb/data.py:
Holger Hans Peter Freyther [Sun, 26 Feb 2006 09:37:26 +0000 (09:37 +0000)]
lib/bb/data.py:
    Document the weird semantic of the setVarFlags. It behaves
    more like an addVarFlags call. Existing variables are not
    going to be removed.

18 years agolib/bb/event.py:
Holger Hans Peter Freyther [Sat, 25 Feb 2006 15:46:31 +0000 (15:46 +0000)]
lib/bb/event.py:
    The Data Module is not a simple dict anymore. So use
    the bb.data.init() method to create a default data
    storage.

18 years agobitbake/lib/event.bb:
Holger Hans Peter Freyther [Fri, 24 Feb 2006 00:38:22 +0000 (00:38 +0000)]
bitbake/lib/event.bb:
-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

18 years agolib/bb/__init__.py:
Holger Hans Peter Freyther [Fri, 24 Feb 2006 00:11:25 +0000 (00:11 +0000)]
lib/bb/__init__.py:
    bump the version

18 years agolib/bb/event.py:
Holger Hans Peter Freyther [Thu, 23 Feb 2006 23:56:31 +0000 (23:56 +0000)]
lib/bb/event.py:
    Safe the number of failed packages even if the BuildCompleted

bin/bitbake:
    count the number of broken packages

18 years agobitbake/bin/bitbake:
Richard Purdie [Tue, 21 Feb 2006 20:22:00 +0000 (20:22 +0000)]
bitbake/bin/bitbake:
    - ASSUME_PROVIDED allowed to include runtime names

18 years agobitbake/lib/bb/fetch/:
Richard Purdie [Tue, 21 Feb 2006 00:19:21 +0000 (00:19 +0000)]
bitbake/lib/bb/fetch/:
    - Remove useless bitkeeper fetcher

18 years agobitbake/lib/bb/utils.py:
Richard Purdie [Tue, 21 Feb 2006 00:16:11 +0000 (00:16 +0000)]
bitbake/lib/bb/utils.py:
    - Fix a RDEPENDS parsing bug in utils:explode_deps()
      (versions containing spaces didn't parse correctly)

bitbake/lib/bb/fetch/git.py:
    - Update git fetcher behaviour to match git changes

18 years agobitbake/MANIFEST:
Holger Hans Peter Freyther [Fri, 17 Feb 2006 19:54:17 +0000 (19:54 +0000)]
bitbake/MANIFEST:
    Install the svk.py file as well - even if it is
    work in progress.

18 years agobitbake/lib/bb/fetch/svk:
Holger Hans Peter Freyther [Fri, 17 Feb 2006 00:46:14 +0000 (00:46 +0000)]
bitbake/lib/bb/fetch/svk:
    -Hack a bit more on svk. It should now be able to do
     svk co's.
    -How to do 'depots' from a URI point of view still
     needs to be considered.
     Currently svk:/depot/;module=foo;rev=321 should work

18 years agobitbake/lib/bb/__init__:
Holger Hans Peter Freyther [Fri, 17 Feb 2006 00:34:42 +0000 (00:34 +0000)]
bitbake/lib/bb/__init__:
    Add a try_mirror method responsible of trying the
    SRC_TARBALL_STASH to get the source from

bitbake/lib/bb/{csv,git,svn}:
    Use this new try_mirror method to get the
    TARBALL_STASH method

bitbake/lib/bb/svk:
    Add a skeleton (copy of svn) svk fetcher

18 years agobitbake/doc/manual/usermanual.xml:
Holger Hans Peter Freyther [Thu, 16 Feb 2006 23:34:01 +0000 (23:34 +0000)]
bitbake/doc/manual/usermanual.xml:
    As pointed out by a monkey on irc we have a copy
    and paste error in the example for the =. and .=
    operator.
    Hopefully this fixes this issue

18 years agobitbake/bin/bitbake:
Richard Purdie [Wed, 15 Feb 2006 12:59:47 +0000 (12:59 +0000)]
bitbake/bin/bitbake:
    Need to check both RDEPENDS and RDEPENDS_${PN} for RDEPENDS

18 years agobitbale/lib/bb/fetch/cvs.py:
Holger Hans Peter Freyther [Mon, 13 Feb 2006 22:27:11 +0000 (22:27 +0000)]
bitbale/lib/bb/fetch/cvs.py:
    -Error out if the requested module does not exist
     with the specified SRCDATE.

    This happened with:
    /usr/bin/env cvs -d:pserver:anonymous@thinktux.net:/root co -D 20050926 e17/libs/evas/m4

18 years agobitbake/lib/bb:
Holger Hans Peter Freyther [Sat, 11 Feb 2006 14:32:16 +0000 (14:32 +0000)]
bitbake/lib/bb:
    Bump the version to end up with 1.3.4.0

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Sat, 11 Feb 2006 14:31:35 +0000 (14:31 +0000)]
bitbake/bin/bitbake:
    Bump the version and hopefull we will end up as 1.3.4