vuplus_bitbake
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

18 years agobitbake/lib/bb: 1.3.3
Holger Hans Peter Freyther [Thu, 9 Feb 2006 23:00:15 +0000 (23:00 +0000)]
bitbake/lib/bb:
    Use 1.3.3.0 instead - I felt like that..

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Thu, 9 Feb 2006 22:58:08 +0000 (22:58 +0000)]
bitbake/bin/bitbake:
    Bump the version to 1.3.3

lib/bb/__init__.py:
    Bump the version to 1.3.2.2

18 years agobitbake/ChangeLog:
Holger Hans Peter Freyther [Thu, 9 Feb 2006 22:55:55 +0000 (22:55 +0000)]
bitbake/ChangeLog:
    Add the recent changes to the ChangeLog including

    -ph5's STAMP fix
    -Richard's RDEPENDS reverse tracking

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Thu, 9 Feb 2006 22:48:24 +0000 (22:48 +0000)]
bitbake/bin/bitbake:
    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

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Tue, 31 Jan 2006 22:23:35 +0000 (22:23 +0000)]
bitbake/bin/bitbake:
    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.

18 years agobitbake/lib/bb/parse/parse_py/ConfHandler.py:
Holger Hans Peter Freyther [Mon, 23 Jan 2006 22:12:09 +0000 (22:12 +0000)]
bitbake/lib/bb/parse/parse_py/ConfHandler.py:
    if we included the required file without an error
    we parsed that line and may return.

    This oversight was spotted by Richard Purdie. Thanks
    again.

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Thu, 19 Jan 2006 20:11:08 +0000 (20:11 +0000)]
bitbake/bin/bitbake:
    Patch by Richard Purdie to fix the selection of
    a preferred R provider

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Thu, 19 Jan 2006 12:31:48 +0000 (12:31 +0000)]
bitbake/bin/bitbake:
        Patch by Richard Purdie to fix the recognition
        of circular dependencies.

18 years agobitbake/lib/bb/utils.py:
Holger Hans Peter Freyther [Thu, 12 Jan 2006 22:57:25 +0000 (22:57 +0000)]
bitbake/lib/bb/utils.py:
    -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)

18 years agobitbake/lib/bb/shell.py:
Holger Hans Peter Freyther [Thu, 12 Jan 2006 14:46:19 +0000 (14:46 +0000)]
bitbake/lib/bb/shell.py:
    -Patch by ph5 to call the build method with the right
     amount of parameters.

18 years agobitbake/lib/bb/fetch/wget.py:
Holger Hans Peter Freyther [Sun, 8 Jan 2006 11:00:32 +0000 (11:00 +0000)]
bitbake/lib/bb/fetch/wget.py:
    -Do not error out if there is no md5sum key in
     the parameter map

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Sun, 8 Jan 2006 10:27:08 +0000 (10:27 +0000)]
bitbake/bin/bitbake:
    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!

18 years agobitbake/lib/bb/fetch:
Holger Hans Peter Freyther [Sat, 7 Jan 2006 17:42:23 +0000 (17:42 +0000)]
bitbake/lib/bb/fetch:
    -Make the wget fetcher use md5sum parameter associated
     with a URL.
    -In a bitbake file for use with OpenEmbedded
     SRC_URI="http://www.froglogic.de;md5sum=ABCDEF" will now
     work.

18 years agobitbake/doc/manual:
Holger Hans Peter Freyther [Thu, 5 Jan 2006 20:26:12 +0000 (20:26 +0000)]
bitbake/doc/manual:
    -Mention the new require keyword

18 years agobitbake/:
Holger Hans Peter Freyther [Thu, 5 Jan 2006 20:16:28 +0000 (20:16 +0000)]
bitbake/:
    Update the ChangeLog to specially mention the
    contributions done by openedhand.com employees
    and the bugfixes they have done.

18 years agobitbake/lib/bb/fetch:
Holger Hans Peter Freyther [Thu, 5 Jan 2006 20:14:21 +0000 (20:14 +0000)]
bitbake/lib/bb/fetch:
    Add a getSRCDate static method to the Fetcher Baseclass
    to extract the SRCDATE with fallbacks to CVSDATE and DATE

    Switch over users of CVSDATE to this new method.

18 years agobitbake/lib/bb/parse:
Holger Hans Peter Freyther [Thu, 5 Jan 2006 19:54:04 +0000 (19:54 +0000)]
bitbake/lib/bb/parse:
    -Implement the 'require' keyword in bitbake. The semantic
     inherits the semantic of include.
     It only differs in the way missing files are handled.
     Require will raise a ParseError when a 'required' file
     could not be found.

     -We add a new keyword and scan for it
     -We change the include method to carry an additional parameter

18 years agobitbake/lib/bb/fetch/svn.py:
Holger Hans Peter Freyther [Thu, 29 Dec 2005 15:44:23 +0000 (15:44 +0000)]
bitbake/lib/bb/fetch/svn.py:
    Apply patch courtsey Richard for #554 to include
    the path in the filename of the tar.gz snapshot

18 years agobitbake/lib/bb/fetch/svn.py:
Holger Hans Peter Freyther [Thu, 29 Dec 2005 15:39:24 +0000 (15:39 +0000)]
bitbake/lib/bb/fetch/svn.py:
    Apply patch courtsey Chris at openhand.com to make
    the svn fetcher honor the CVSDATE/DATE when
    fetching source.

18 years agobitbake/bb/fetch:
Holger Hans Peter Freyther [Sun, 18 Dec 2005 15:00:07 +0000 (15:00 +0000)]
bitbake/bb/fetch:
    Patch courtsey RP for #438. Move the fetchers
    into a separate module to ease the writing of
    new fetchers and to separate the individual
    implementations.

bitbake/MANIFEST:
    added the new files

bitbake/setup.py:
    added the fetch module

18 years agobin/bitbake:
Holger Hans Peter Freyther [Thu, 15 Dec 2005 20:18:11 +0000 (20:18 +0000)]
bin/bitbake:
    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.

18 years agobitbake/bin/bitbake
Holger Hans Peter Freyther [Thu, 3 Nov 2005 21:54:43 +0000 (21:54 +0000)]
bitbake/bin/bitbake

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

18 years agoBitBake MD5 SUM:
Holger Hans Peter Freyther [Mon, 24 Oct 2005 13:26:14 +0000 (13:26 +0000)]
BitBake MD5 SUM:
    -Attempt at verifying the MD5 SUM after the fetch and fail
     if the one specified does not match the one calculated.
    -Simplify the code writing the md5sum

18 years agoBitBake Configuration Parser:
Holger Hans Peter Freyther [Fri, 21 Oct 2005 20:29:15 +0000 (20:29 +0000)]
BitBake Configuration Parser:
    -say what file could not be opened instead of simply saying
     file not found.

18 years agoparser: add function to update the mtime for one file, courtesy Justin Patrin
Michael 'Mickey' Lauer [Thu, 8 Sep 2005 13:11:53 +0000 (13:11 +0000)]
parser: add function to update the mtime for one file, courtesy Justin Patrin
parser: move import bb and import os out of the commands (import in a function that's called often has a performance penalty)
lib: increase revision
shell: add 'reparse' and 'fileReparse' commands, courtesy Justin Patrin

18 years agobitbake/lib/bb/parse/parse_py/BBHandler.py:
Holger Hans Peter Freyther [Tue, 9 Aug 2005 22:11:45 +0000 (22:11 +0000)]
bitbake/lib/bb/parse/parse_py/BBHandler.py:
-Patch by pHilipp Zabel to allow dots
in the function names. This fixes bug #139. It seems right
to have dots in the packagename

18 years agobitbake/lib/bb/data_smart.py:
Holger Hans Peter Freyther [Thu, 4 Aug 2005 14:25:17 +0000 (14:25 +0000)]
bitbake/lib/bb/data_smart.py:
    -Do not write the global configuration file into each cached file.
     On unpickling reattach a current configuration file.
     This is based on the work of proti
     http://www.frankengul.org/~seb/cow/cow8a.patch and was adopted to
     the current data_smart instance.

     CVSDATE, BUILDSTART and similiar should be always current again

18 years agobitbake/lib/bb/data.py:
Holger Hans Peter Freyther [Thu, 4 Aug 2005 13:42:27 +0000 (13:42 +0000)]
bitbake/lib/bb/data.py:
    -Pass the configuration to the persistent data instance

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Thu, 4 Aug 2005 13:26:27 +0000 (13:26 +0000)]
bitbake/bin/bitbake:
    -Pass a configuration instance to pkgdata

bitbake/lib/bb/data.py:
    -take an optional configuration for pkgdata
     to prepare merging the '[pickle,unpickle]_prep'
     protis older cow work.

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Sat, 30 Jul 2005 19:41:42 +0000 (19:41 +0000)]
bitbake/bin/bitbake:
    -use gmtime instead of localtime for the BUILDSTART variable

18 years agoUpdate the lib version to 1.3.2 as well
Holger Hans Peter Freyther [Sat, 30 Jul 2005 12:27:17 +0000 (12:27 +0000)]
Update the lib version to 1.3.2 as well

18 years agobitbake/ChangeLog:
Holger Hans Peter Freyther [Sat, 30 Jul 2005 12:21:23 +0000 (12:21 +0000)]
bitbake/ChangeLog:
    -Update the ChangeLog in preparation of the bitbake 1.3.2 release

18 years agobitbake/doc/manual/usermanual.xml:
Holger Hans Peter Freyther [Sat, 30 Jul 2005 12:20:27 +0000 (12:20 +0000)]
bitbake/doc/manual/usermanual.xml:
    -Update the result of bitbake --help
    -Add note of the removal of bbread and its replacement with bitbake -e

18 years agobitbake/manual/usermanual.xml:
Holger Hans Peter Freyther [Sat, 30 Jul 2005 12:11:01 +0000 (12:11 +0000)]
bitbake/manual/usermanual.xml:
    -Provide an example for writing an event handler

18 years agobitbake/manual/usermanual.xml:
Holger Hans Peter Freyther [Sat, 30 Jul 2005 11:52:20 +0000 (11:52 +0000)]
bitbake/manual/usermanual.xml:
    -Update 1 to True to catch up with python 2.2 ;)

18 years agobitbake/manual/usermanual.xml:
Holger Hans Peter Freyther [Sat, 30 Jul 2005 11:46:54 +0000 (11:46 +0000)]
bitbake/manual/usermanual.xml:
    -Add Documentation for the .= and =. operators we introduce
     with Bitbake 1.3.2.

18 years agobitbake/bin/bitdoc:
Holger Hans Peter Freyther [Sat, 30 Jul 2005 11:26:24 +0000 (11:26 +0000)]
bitbake/bin/bitdoc:
    -Sort the groups (I had not expected to still see this on my disk)

18 years agoadd .= and =. operators, as requested by Holger
Phil Blundell [Wed, 27 Jul 2005 22:58:35 +0000 (22:58 +0000)]
add .= and =. operators, as requested by Holger

18 years agobitbake/bin/bitbake:
Holger Hans Peter Freyther [Tue, 26 Jul 2005 13:45:10 +0000 (13:45 +0000)]
bitbake/bin/bitbake:
-Inject a BUILDSTART variable into each parsed file

18 years agobitbake/lib/bb/fetch.py:
Holger Hans Peter Freyther [Thu, 21 Jul 2005 22:40:39 +0000 (22:40 +0000)]
bitbake/lib/bb/fetch.py:
     -Prepare the Wget fetcher to soon check the MD5SUMs in many
      different ways.

18 years agobitbake/lib/bb/fetch.py:
Holger Hans Peter Freyther [Thu, 21 Jul 2005 22:20:44 +0000 (22:20 +0000)]
bitbake/lib/bb/fetch.py:
     -Remove decodeurl comment/testcase. We will readd to the right
     place to be a proper testcase.

18 years agobitbake/lib/bb/fetch.py:
Holger Hans Peter Freyther [Thu, 21 Jul 2005 22:19:43 +0000 (22:19 +0000)]
bitbake/lib/bb/fetch.py:
     -Create a MD5SumException. We will throw it when the sums do
     not match.

18 years agobitbake/parse/parse_py/ConfHandler.py
Holger Hans Peter Freyther [Thu, 21 Jul 2005 22:16:34 +0000 (22:16 +0000)]
bitbake/parse/parse_py/ConfHandler.py
     -ParseError was unknown to ConfHandler since the moving
      of the directories. Import ParseError into ConfHandler

18 years agoupdate configuration data before entering the shell. patch courtesy Proti - thanks.
Michael 'Mickey' Lauer [Tue, 19 Jul 2005 10:26:06 +0000 (10:26 +0000)]
update configuration data before entering the shell. patch courtesy Proti - thanks.

18 years agobitbake/setup.py:
Holger Hans Peter Freyther [Tue, 12 Jul 2005 13:28:47 +0000 (13:28 +0000)]
bitbake/setup.py:
    -Unmess the result of parser reorginisation even more. Introduce
    parse_py to distutils.

18 years agoSorry for the inconvience and add the missing file
Holger Hans Peter Freyther [Mon, 11 Jul 2005 16:24:44 +0000 (16:24 +0000)]
Sorry for the inconvience and add the missing file

I wonder what would happen if I only commit after getting
enough donations for a file...

Currently it defaults to the python implementation

18 years agoGetting closer...
Holger Hans Peter Freyther [Sun, 10 Jul 2005 21:59:23 +0000 (21:59 +0000)]
Getting closer...

18 years agoMore things done on the Bitbake C parser:
Holger Hans Peter Freyther [Sun, 10 Jul 2005 21:20:50 +0000 (21:20 +0000)]
More things done on the Bitbake C parser:
    -Implement token_t and switch the grammar actions
     to the new class
    -Start with the lex_t as well
    -Start with implementing the high level python
     side.

18 years agoStart with the excellent lexer and lemon Grammar from
Holger Hans Peter Freyther [Sun, 10 Jul 2005 18:29:35 +0000 (18:29 +0000)]
Start with the excellent lexer and lemon Grammar from
Marc Singer and turn it into a C module (after pybison
was a total failure).

Lexer Changes:
    Do not allow unquoted R_VALUE

Grammar Changes:
    FILES_${PN} () {
    }
    T_VARIABLE is a legal start of a procedure

18 years agoPrepare for the new tokenizer C-based parser as optional parser.
Holger Hans Peter Freyther [Sun, 10 Jul 2005 18:03:23 +0000 (18:03 +0000)]
Prepare for the new tokenizer C-based parser as optional parser.
For now import bb.parse will function the way it used to work

18 years agotrunk/bitbake/bin/bitbake:
Holger Hans Peter Freyther [Sun, 10 Jul 2005 16:24:30 +0000 (16:24 +0000)]
trunk/bitbake/bin/bitbake:
    -Fix findBestProvider to work with BB collections (hopefully)
    without adding new regressions.
    This fixes bug #137 the patch is courtsey Seb (proti)

18 years agobitbake/bin/bitdoc:
Holger Hans Peter Freyther [Fri, 8 Jul 2005 21:29:22 +0000 (21:29 +0000)]
bitbake/bin/bitdoc:
    -Fix whitespaces
    -Sort the keynames in the key overview
    -Sort the related groups and keys alphabetical as well
    -Fix the URL from the Group description to the contained
     keys s/group/key/

18 years agoShell:
Michael 'Mickey' Lauer [Thu, 7 Jul 2005 10:23:59 +0000 (10:23 +0000)]
Shell:
- remove '...' in output for "SHELL: Building <a number of providees>"
- don't continue if building a number of providees and one fails

18 years agoShell:
Michael 'Mickey' Lauer [Wed, 6 Jul 2005 19:25:34 +0000 (19:25 +0000)]
Shell:
- experimental support for glob expression (wildcards) in command 'build'
- add new command 'match <providers|files> <globexpr>' to see what matches against the expression

18 years agoShell:
Michael 'Mickey' Lauer [Wed, 6 Jul 2005 18:24:16 +0000 (18:24 +0000)]
Shell:
- use shlex to parse command lines as a special service to hrw: Now you can say 'setvar FOO "this is a test"' :)
- use a command queue in the main loop to unify offline (from startup file) and online processing
- add some changes for 1.3.2. Could anyone fill in changes for 1.3.1 ?

18 years agobitbake/
Holger Hans Peter Freyther [Wed, 6 Jul 2005 17:34:56 +0000 (17:34 +0000)]
bitbake/
    Update MANIFEST and setup.py to cope with the removal
    of make.py and bbread and add utils.py to the MANIFEST

18 years agoShell: grab a deepcopy from the initial cooker data to reuse
Michael 'Mickey' Lauer [Wed, 6 Jul 2005 15:42:10 +0000 (15:42 +0000)]
Shell: grab a deepcopy from the initial cooker data to reuse
it in file**** commands. Otherwise we would pollute
cooker.configuration.data (i.e. do_configure_append() appending
multiple times). This fixes BitBake bug #133

18 years agoadd missing self to find_bbfiles() and get_bbfile()
Michael 'Mickey' Lauer [Wed, 6 Jul 2005 12:01:37 +0000 (12:01 +0000)]
add missing self to find_bbfiles() and get_bbfile()

18 years agoremove last trace of make.py
Michael 'Mickey' Lauer [Wed, 6 Jul 2005 08:47:24 +0000 (08:47 +0000)]
remove last trace of make.py

18 years agoThis (large) patch reintegrates the bb.make module into the bitbake executable.
Michael 'Mickey' Lauer [Tue, 5 Jul 2005 14:32:26 +0000 (14:32 +0000)]
This (large) patch reintegrates the bb.make module into the bitbake executable.
Said make module has been factorered out back in the old days when we had two concurrent
oemake implementations which were in need of code sharing. Nowadays, there's no
more use of a seperated make module and in fact the split has always been a bit
artificial.

A brief overview of the changes:
 * create utils.py which contains three unbound functions for comparing versions
 * create a class BBConfiguration that holds variables which were formerly living in make module scope
 * make functions use the BBConfiguration instance that lives in BBCooker instance
 * move functions into the BBCooker class, adapt them to work as class methods
 * integrate the function of the bbread executable into BitBake; use it with option '-e' and (optionally) -b
 * remove make.py
 * remove bbread
 * adapt the shell module which has been using the make module directly

18 years agoFix for #88 - written by proti:
Marcin Juszkiewicz [Thu, 30 Jun 2005 09:44:36 +0000 (09:44 +0000)]
Fix for #88 - written by proti:
The function should be shielded against the posibility that prevdir could be removed by the function.

18 years agoPatch by Yann Dirson to show a more verbose error log
Holger Hans Peter Freyther [Mon, 27 Jun 2005 21:40:28 +0000 (21:40 +0000)]
Patch by Yann Dirson to show a more verbose error log
when not beeing able to parse a file

18 years agobitbake Poke Changes:
Holger Hans Peter Freyther [Tue, 21 Jun 2005 21:25:24 +0000 (21:25 +0000)]
bitbake Poke Changes:
    make.pkgdata is when used with a CACHE just a holder
    of a list of filenames + the path to the cache.
    Now when poking at files the changes will be lost immediately,
    we now offer a mean to mark a data instance as dirty and we
    will not throw it away in this case...
    setDirty is not meant to be public API

18 years ago- fix _findProvider() for 'PN-PV'
Michael 'Mickey' Lauer [Tue, 21 Jun 2005 20:48:19 +0000 (20:48 +0000)]
- fix _findProvider() for 'PN-PV'
- add columnize helper function
- outcomment poke function and add warning