vuplus_bitbake
16 years agoRelease bitbake 1.6.8 1.6.8
Richard Purdie [Sun, 10 Jun 2007 17:12:44 +0000 (17:12 +0000)]
Release bitbake 1.6.8

17 years agoUpdate ChangeLog for 1.7.x changes, cleanup TODO
Richard Purdie [Sun, 11 Mar 2007 22:49:40 +0000 (22:49 +0000)]
Update ChangeLog for 1.7.x changes, cleanup TODO

17 years agobitbake-1.6: Make a commit to test my notify chain (we cache deps the right way)
Holger Hans Peter Freyther [Sat, 10 Mar 2007 02:11:37 +0000 (02:11 +0000)]
bitbake-1.6: Make a commit to test my notify chain (we cache deps the right way)

17 years agoAnother try: Release BitBake 1.6.6 with updated MANIFEST
Holger Hans Peter Freyther [Fri, 16 Feb 2007 11:40:59 +0000 (11:40 +0000)]
Another try: Release BitBake 1.6.6 with updated MANIFEST

17 years agoAdd more files to our MANIFEST. It looks complete enoug now
Holger Hans Peter Freyther [Fri, 16 Feb 2007 11:16:37 +0000 (11:16 +0000)]
Add more files to our MANIFEST. It looks complete enoug now

17 years agobranches/bitbake-1.6: Update the MANIFEST after the messed up 1.6.4 release
Holger Hans Peter Freyther [Thu, 15 Feb 2007 20:15:15 +0000 (20:15 +0000)]
branches/bitbake-1.6: Update the MANIFEST after the messed up 1.6.4 release

17 years agoFix the manifest: Do not reference non existing files
Holger Hans Peter Freyther [Wed, 14 Feb 2007 20:56:39 +0000 (20:56 +0000)]
Fix the manifest: Do not reference non existing files

17 years agoTag bitbake-1.6.4 and bump version numbers
Holger Hans Peter Freyther [Wed, 14 Feb 2007 20:53:42 +0000 (20:53 +0000)]
Tag bitbake-1.6.4 and bump version numbers

17 years agoLazy addition of the ChangeLog entry. Done with a quick scan through the svn log
Holger Hans Peter Freyther [Wed, 14 Feb 2007 20:51:21 +0000 (20:51 +0000)]
Lazy addition of the ChangeLog entry. Done with a quick scan through the svn log

17 years agosvn fetcher: add two backport patches from OE #829
Marcin Juszkiewicz [Tue, 13 Feb 2007 14:29:58 +0000 (14:29 +0000)]
svn fetcher: add two backport patches from OE #829

- allow to use 'srcdate' param in SRC_URI lines (from trunk)
- do not use SRCDATE in archive names when REV is provided (from trunk)

17 years agosvn fetcher: use 'svn update' to update sources - close OE#1367
Marcin Juszkiewicz [Fri, 26 Jan 2007 17:55:11 +0000 (17:55 +0000)]
svn fetcher: use 'svn update' to update sources  - close OE#1367

For first fetch we use 'svn checkout' but for next updates we need to use
'svn update' to fetch only changes.

Patch written by Paul Sokolovsky.

17 years agofetch/svn.py: use username/password when provided in SRC_URI - close OE#1781
Marcin Juszkiewicz [Tue, 23 Jan 2007 23:33:47 +0000 (23:33 +0000)]
fetch/svn.py: use username/password when provided in SRC_URI - close OE#1781

- subversion will still ask if self-signed SSL certificate will be used.
- patch looks very intrusive but some of changes were needed to be done
  to get it working properly:

  svncmd = "svn co -r {%s} %s://%s/%s" % (date, proto, svnroot, module)

  and next (now removed) lines makes BitBake ignore SVNCOOPTS which now
  provide username, password and revision in similar way to trunk version.

17 years agoRemove the first attempt to integrate Marc's flex/lemon (like in trunk)
Marcin Juszkiewicz [Tue, 23 Jan 2007 20:35:07 +0000 (20:35 +0000)]
Remove the first attempt to integrate Marc's flex/lemon (like in trunk)

Remove the first C implementation. I'm too lazy to create proper license
headers for what will be replaced with the bitbake-parser code soon(tm).

17 years agobuild.py: revert setting LC_ALL=C due to IRC discussion
Marcin Juszkiewicz [Tue, 23 Jan 2007 20:20:58 +0000 (20:20 +0000)]
build.py: revert setting LC_ALL=C due to IRC discussion

17 years agolib/bb/build.py: Put LC_ALL=C on os.system call
Marcin Juszkiewicz [Tue, 23 Jan 2007 16:55:46 +0000 (16:55 +0000)]
lib/bb/build.py: Put LC_ALL=C on os.system call
For our french and strange friends place LC_ALL=C in all task calls.
This should give us english log messages.

17 years agoAdd proper GPLv2 headers to all BitBake files (from trunk)
Marcin Juszkiewicz [Tue, 23 Jan 2007 16:53:50 +0000 (16:53 +0000)]
Add proper GPLv2 headers to all BitBake files (from trunk)
- BitBake trunk is now GPLv2 only, no mix of MIT, FreeBSD License is left.
- Update GPL headers to point to the correct address of the FSF
- Update the list of authors. Uli Luckas, Seb Frankengul and Tim Amsell
  contributed to the sourcecode as well

17 years agousermanual: fix typo (from trunk)
Marcin Juszkiewicz [Tue, 23 Jan 2007 16:43:54 +0000 (16:43 +0000)]
usermanual: fix typo (from trunk)

17 years agoMake cvs_port a string and an empty one as well. This should fix the concatination...
Holger Hans Peter Freyther [Sat, 6 Jan 2007 19:48:12 +0000 (19:48 +0000)]
Make cvs_port a string and an empty one as well. This should fix the concatination error koen was seeing and describing in #1753

17 years agoCVS Fetcher: Added support for non-default port (needed for rxvt-unicode in OE).
Marcin Juszkiewicz [Sat, 6 Jan 2007 09:13:31 +0000 (09:13 +0000)]
CVS Fetcher: Added support for non-default port (needed for rxvt-unicode in OE).

17 years agosvn.py: updated (C) to me
Marcin Juszkiewicz [Thu, 4 Jan 2007 18:52:03 +0000 (18:52 +0000)]
svn.py: updated (C) to me

17 years agoupdated list of authors (from trunk)
Marcin Juszkiewicz [Thu, 4 Jan 2007 18:46:45 +0000 (18:46 +0000)]
updated list of authors (from trunk)

17 years agoadded manpage from trunk
Marcin Juszkiewicz [Thu, 4 Jan 2007 18:44:54 +0000 (18:44 +0000)]
added manpage from trunk

17 years agodrop shebangs from lib/bb scripts (from trunk)
Marcin Juszkiewicz [Thu, 4 Jan 2007 10:37:33 +0000 (10:37 +0000)]
drop shebangs from lib/bb scripts (from trunk)
- those scripts are not called by hand by bitbake users
 and most of package linting tools (lintian/Debian, rpmlint/Fedora)
 complain about not executable scripts.
- if someone want to run them by hand then he will be able to do it
 with calling 'python SCRIPT'

17 years agosetup.py: use FHS compatible directories (from trunk)
Marcin Juszkiewicz [Thu, 4 Jan 2007 10:29:07 +0000 (10:29 +0000)]
setup.py: use FHS compatible directories (from trunk)

17 years agobitbake-1.6 data.py: Backport emit_var fixes and add unexport flag support
Richard Purdie [Tue, 2 Jan 2007 17:36:53 +0000 (17:36 +0000)]
bitbake-1.6 data.py: Backport emit_var fixes and add unexport flag support

17 years agobin/bitbake: Fix findBestProvider parameters (close #1715)
Richard Purdie [Tue, 2 Jan 2007 11:19:04 +0000 (11:19 +0000)]
bin/bitbake: Fix findBestProvider parameters (close #1715)

17 years agoBitBake: Tag 1.6.2 and 1.7.2 of BitBake
Holger Hans Peter Freyther [Wed, 1 Nov 2006 11:11:36 +0000 (11:11 +0000)]
BitBake: Tag 1.6.2 and 1.7.2 of BitBake

17 years agoAdd missing Changelog entry
Richard Purdie [Tue, 31 Oct 2006 10:32:39 +0000 (10:32 +0000)]
Add missing Changelog entry

17 years agoAdd some missing entries to the Changelog
Richard Purdie [Tue, 31 Oct 2006 10:28:33 +0000 (10:28 +0000)]
Add some missing entries to the Changelog

17 years agobuild.py: Add support for the interact flag, backported from trunk
Richard Purdie [Tue, 31 Oct 2006 10:20:40 +0000 (10:20 +0000)]
build.py: Add support for the interact flag, backported from trunk

17 years agobitbake-1.6: Allow version field in DEPENDS (ignored for now)
Richard Purdie [Sun, 29 Oct 2006 18:37:18 +0000 (18:37 +0000)]
bitbake-1.6: Allow version field in DEPENDS (ignored for now)

17 years agobitbake-1.6/lib/bb/shell.py: import bb to fix bb.providers references
Richard Purdie [Sat, 21 Oct 2006 12:09:38 +0000 (12:09 +0000)]
bitbake-1.6/lib/bb/shell.py: import bb to fix bb.providers references

17 years agoRemove a debug statement that crept in
Richard Purdie [Wed, 16 Aug 2006 09:47:34 +0000 (09:47 +0000)]
Remove a debug statement that crept in

17 years agoBitBake: Bump and add Versions 1.4.5 and 1.6.1
Holger Hans Peter Freyther [Tue, 15 Aug 2006 15:28:00 +0000 (15:28 +0000)]
BitBake: Bump and add Versions 1.4.5 and 1.6.1

17 years agotrunk/bitbake/bin/bitbake:
Richard Purdie [Mon, 14 Aug 2006 00:25:51 +0000 (00:25 +0000)]
trunk/bitbake/bin/bitbake:
 * Fix up getRuntimeProviders calls in previous commit

17 years agotrunk/bitbake/lib/bb/providers.py:
Richard Purdie [Mon, 14 Aug 2006 00:22:37 +0000 (00:22 +0000)]
trunk/bitbake/lib/bb/providers.py:
trunk/bitbake/bin/bitbake:
  * Move getProvidersRun -> bb.providers.getRuntimeProviders
  * Make filterProviders build_cache_fail parameter optional, pending
    rethink/removal
  * Add NoProvider exception

17 years agotrunk/bitbake/bin/bitbake:
Richard Purdie [Mon, 14 Aug 2006 00:14:33 +0000 (00:14 +0000)]
trunk/bitbake/bin/bitbake:
  * fix references to findBestProvider (closes #1288)

17 years agotrunk/bitbake/bin/bitbake:
Richard Purdie [Sun, 13 Aug 2006 23:56:42 +0000 (23:56 +0000)]
trunk/bitbake/bin/bitbake:
  * Add some variables to the data cache
  * Move self.preferred into the same place as other similar cache data
trunk/bitbake/lib/bb/cache.py:
  * Bump cache version number

17 years agotrunk/bitbake/lib/bb/build.py:
Richard Purdie [Sun, 13 Aug 2006 23:46:54 +0000 (23:46 +0000)]
trunk/bitbake/lib/bb/build.py:
  * Add version of stamp_is_current that works with cached data
  * Tweak mkstamp to work over broken? NFS filesystems (simply opening
    the file for write access wasn't enough to change the file's timestamp)
  * Have add_task create _task_deps variable containing various task flags
    for cache use

17 years ago r420@snorf: ich | 2006-07-25 21:29:45 +0200
Holger Hans Peter Freyther [Tue, 25 Jul 2006 20:37:57 +0000 (20:37 +0000)]
 r420@snorf:  ich | 2006-07-25 21:29:45 +0200
 Tabs -> Space
 r421@snorf:  ich | 2006-07-25 21:45:00 +0200
 lib/bb/parser/parse_c: Check if we parse a configuration file
     Check if we parse a configuration file and if we parse a config
     file and see illegal constructs like methods we will throw
     and parse error.
 r422@snorf:  ich | 2006-07-25 21:48:05 +0200
 lib/bb/parse/parse_c: Make sure to return 0 if we return -1 in some branch
 r423@snorf:  ich | 2006-07-25 22:21:06 +0200
 lib/bb/parse/parse_c: Modify BBPATH, handle inherits

     Add BBPATH to the dirname of the current fn. Handle INHERITS
     and include these files.
 r424@snorf:  ich | 2006-07-25 22:22:50 +0200
 lib/bb/parse/parse_c: Handle IOErrors on inheriting INHERITS

17 years ago bitbake/doc/manual: Do not mention rdepends.dot
Holger Hans Peter Freyther [Tue, 25 Jul 2006 17:41:07 +0000 (17:41 +0000)]
 bitbake/doc/manual: Do not mention rdepends.dot

17 years agolib/bb/parse/parse_c: Throw Parse Exceptions, crash less often
Holger Hans Peter Freyther [Sun, 23 Jul 2006 21:33:21 +0000 (21:33 +0000)]
lib/bb/parse/parse_c: Throw Parse Exceptions, crash less often

    -Make sure TOPDIR is set (do not declare this as an error here)
    -Do not crash on 'NULL' strings
    -Throws exceptions properly using 'except -1' from within our
     cdef.

17 years agolib/bb/parse/parser_c: Handle includes, requires, cope with our syntax
Holger Hans Peter Freyther [Sun, 23 Jul 2006 20:17:59 +0000 (20:17 +0000)]
lib/bb/parse/parser_c: Handle includes, requires, cope with our syntax

    -be able to parse variables like PREFERRED_PROVIDER_virtual/kernel
    -handle includes and requires, add 's' to %(fn)
    -be less verbose

17 years agobitbake/lib/parser/parse_c: Avoid some segfaults
Holger Hans Peter Freyther [Sun, 23 Jul 2006 17:56:00 +0000 (17:56 +0000)]
bitbake/lib/parser/parse_c: Avoid some segfaults

17 years agomsg needs to import sys, it calls it
Michael 'Mickey' Lauer [Sat, 15 Jul 2006 09:34:02 +0000 (09:34 +0000)]
msg needs to import sys, it calls it

17 years agoTesting CIA notification, again.
Chris Larson [Tue, 11 Jul 2006 11:45:56 +0000 (11:45 +0000)]
Testing CIA notification, again.

17 years agoTesting CIA notification.
Chris Larson [Tue, 11 Jul 2006 11:45:43 +0000 (11:45 +0000)]
Testing CIA notification.

17 years agoswitch pastebin provider to http://rafb.net/paste
Michael 'Mickey' Lauer [Tue, 11 Jul 2006 11:29:54 +0000 (11:29 +0000)]
switch pastebin provider to http://rafb.net/paste
patch courtesy Zwelch

17 years agoContrib: update the Vim syntax highlighting to include the 'require' keyword and...
Chris Larson [Mon, 10 Jul 2006 19:22:06 +0000 (19:22 +0000)]
Contrib: update the Vim syntax highlighting to include the 'require' keyword and '.=' and '=.'.  Add a Vim ftdetect plugin to properly set the filetype on bitbake files.

17 years agobitbake c parser: first steps torwards a working parser
Holger Hans Peter Freyther [Sun, 9 Jul 2006 21:06:40 +0000 (21:06 +0000)]
bitbake c parser: first steps torwards a working parser

17 years agobitbake/lib/bb/__init__.py:
Richard Purdie [Sat, 8 Jul 2006 16:30:02 +0000 (16:30 +0000)]
bitbake/lib/bb/__init__.py:
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

17 years agolib/bb/build.py: fix for 1017, try to change back to the prevdir
Holger Hans Peter Freyther [Sat, 8 Jul 2006 14:41:46 +0000 (14:41 +0000)]
lib/bb/build.py: fix for 1017, try to change back to the prevdir

    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

17 years agobitbake/lib/bb/build.py:
Richard Purdie [Sat, 8 Jul 2006 12:56:31 +0000 (12:56 +0000)]
bitbake/lib/bb/build.py:
- Remove some stale inactive code

17 years agobitbake/lib/bb/providers.py:
Richard Purdie [Sat, 8 Jul 2006 12:54:31 +0000 (12:54 +0000)]
bitbake/lib/bb/providers.py:
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.

17 years agolib/bb/fetch/git.py: Add some commands to clean up the git directories to make things...
Richard Purdie [Sat, 8 Jul 2006 12:47:40 +0000 (12:47 +0000)]
lib/bb/fetch/git.py: Add some commands to clean up the git directories to make things faster and use less space

17 years agobitbake/lib/bb/fetch/*: Implement special 'now' handling for BitBake
Holger Hans Peter Freyther [Wed, 31 May 2006 21:10:06 +0000 (21:10 +0000)]
bitbake/lib/bb/fetch/*:  Implement special 'now' handling for BitBake
    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

17 years agobitbake/doc/manual/usermanual.xml: Use version 2.5 of the license
Holger Hans Peter Freyther [Wed, 31 May 2006 20:46:53 +0000 (20:46 +0000)]
bitbake/doc/manual/usermanual.xml: Use version 2.5 of the license

    The CreateCommons license is now at version 2.5. The spirit
    remains unchanged.

17 years ago bitbake/bin/bitbake: DOT code cleanup
Holger Hans Peter Freyther [Sun, 28 May 2006 00:00:56 +0000 (00:00 +0000)]
 bitbake/bin/bitbake: DOT code cleanup
     Really use myFilterProvider which will take care
     of the PREFERRED_PROVIDER, and add documentation
     to the code.

17 years ago bitbake/bin/bitbake: Add code to handle RDEPENDS
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.

17 years ago bitbake/bin/bitbake: We need to look at seen_depends everytime and can't filter
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...

17 years ago bitbake/bin/bitbake: Add first version of mixed dependency handling
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.

17 years ago bitbake/bin/bitbake: Kill the generation of the RDEPENDS for
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.

17 years ago bitbake/bin/bitbake: Kill whitespace
Holger Hans Peter Freyther [Sat, 27 May 2006 20:30:45 +0000 (20:30 +0000)]
 bitbake/bin/bitbake: Kill whitespace

17 years ago bitbake/bin/bitbake: CLI help updates, DOT generatin emits version
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.

17 years ago doc/manual/usermanual.xml: Add some Bla about using the -g option
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.

17 years ago doc/manual/usermanual.xml: Simplify the sentence
Holger Hans Peter Freyther [Sat, 27 May 2006 20:30:17 +0000 (20:30 +0000)]
 doc/manual/usermanual.xml: Simplify the sentence

17 years ago doc/manual/usermanual.xml: Fix the EventHandler example
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.

17 years ago fetcher module:
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

17 years ago bitbake/lib/bb/shell.py:
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)

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

17 years agobitbake/bin/bitbake: Add option to ignore dependencies on graph
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.

17 years agobitbake/bin/bitbake: Make sure we add all handlers from INHERIT
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.

17 years agobitbake/bin/bitbake: Generate DOT depedency start
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...

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

17 years agobitbake/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.

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

17 years agobitbake/lib/bb/data_smart.py: Double OVERRIDE expansion fix
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

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

17 years agobitbake/lib/bb/shell.py:
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 ;)

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

17 years agofetch/__init__.py:
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

17 years agobb/data_smart.py:
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

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

17 years agolib/bb/cache.py:
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.

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

17 years ago bitbake/lib/bb/parse/__init__.py:
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.

17 years agobitbake.conf: force CVSROOT during cvs update
Marcin Juszkiewicz [Fri, 28 Apr 2006 14:52:27 +0000 (14:52 +0000)]
bitbake.conf: force CVSROOT during cvs update

17 years agobitbake/lib/bb/parse/parse_c/bitbakec.pyx:
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)

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

18 years agoDelete now works. Other cleanup and fixes.
Tim Ansell [Mon, 24 Apr 2006 09:54:32 +0000 (09:54 +0000)]
Delete now works. Other cleanup and fixes.

18 years agoDegrades to copy on mutable types - Cheap is the mutable types are already COW.
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.

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

18 years agoshell: reparsing no longer checks whether it came from cache or not
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

18 years agoCOW example...
Tim Ansell [Fri, 21 Apr 2006 13:49:05 +0000 (13:49 +0000)]
COW example...

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

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

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/
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

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.