bitbake.git
14 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

14 years agocache.py: Allow version field in DEPENDS (ignored for now)
Richard Purdie [Sun, 29 Oct 2006 13:35:17 +0000 (13:35 +0000)]
cache.py: Allow version field in DEPENDS (ignored for now)

15 years agobump 1.7 versions
Richard Purdie [Sat, 21 Oct 2006 11:45:55 +0000 (11:45 +0000)]
bump 1.7 versions

15 years agobin/bitbake: fix typo
Richard Purdie [Wed, 4 Oct 2006 08:12:55 +0000 (08:12 +0000)]
bin/bitbake: fix typo

15 years agobin/bitbake: Move handle_data() into parse_bbfiles instead of the callback
Richard Purdie [Tue, 3 Oct 2006 22:45:05 +0000 (22:45 +0000)]
bin/bitbake: Move handle_data() into parse_bbfiles instead of the callback

15 years agocache.py: Stop passing cooker around as its no longer needed
Richard Purdie [Tue, 3 Oct 2006 22:39:12 +0000 (22:39 +0000)]
cache.py: Stop passing cooker around as its no longer needed

15 years agoparse_py/ConfHandler.py: Remove broken default options (as identified by mithro)
Richard Purdie [Tue, 3 Oct 2006 22:34:21 +0000 (22:34 +0000)]
parse_py/ConfHandler.py: Remove broken default options (as identified by mithro)

15 years agodata_smart.py: Add expand_cache, caching expanded data (but wiped on any write to...
Richard Purdie [Tue, 3 Oct 2006 22:32:55 +0000 (22:32 +0000)]
data_smart.py: Add expand_cache, caching expanded data (but wiped on any write to the data) - gives a performance improvement

15 years agoMinor bugfix in taskdata, the dump function was passing a list to bb.msg.debug where...
Chris Larson [Thu, 28 Sep 2006 18:36:47 +0000 (18:36 +0000)]
Minor bugfix in taskdata, the dump function was passing a list to bb.msg.debug where it expected a string.  Use ', '.join() to create a string.

15 years agotaskdata.py: Remove a seemingly incorrect line of code fixing issues reported by...
Richard Purdie [Sat, 16 Sep 2006 22:30:33 +0000 (22:30 +0000)]
taskdata.py: Remove a seemingly incorrect line of code fixing issues reported by pH5. This code was likely added for a reason so lets see what breaks...

15 years agoFix -f force option when used without -b
Richard Purdie [Sat, 16 Sep 2006 14:27:25 +0000 (14:27 +0000)]
Fix -f force option when used without -b

15 years agotaskData.py: Only mark external targets as external
Richard Purdie [Sat, 16 Sep 2006 14:26:35 +0000 (14:26 +0000)]
taskData.py: Only mark external targets as external

15 years agocache.py: Don't error if a file doesn't exist, just mark the cache entry invalid
Richard Purdie [Fri, 15 Sep 2006 15:34:54 +0000 (15:34 +0000)]
cache.py: Don't error if a file doesn't exist, just mark the cache entry invalid

15 years agotaskqueue.py: Add a small cache for task ids for a big speed improvement
Richard Purdie [Thu, 14 Sep 2006 22:17:29 +0000 (22:17 +0000)]
taskqueue.py: Add a small cache for task ids for a big speed improvement

15 years agorunqueue.py: Convert Deps and RunDeps fields into sets, add debugging code for tracin...
Richard Purdie [Thu, 14 Sep 2006 20:40:43 +0000 (20:40 +0000)]
runqueue.py: Convert Deps and RunDeps fields into sets, add debugging code for tracing indriect circular dependencies

15 years ago* shell: fix 'which' command
Michael 'Mickey' Lauer [Mon, 11 Sep 2006 22:50:28 +0000 (22:50 +0000)]
* shell: fix 'which' command
* shell: use 'rebuild' task for implementing rebuild

15 years agobin/bitbake: parse.handle must have an absolute path
Richard Purdie [Mon, 11 Sep 2006 11:46:32 +0000 (11:46 +0000)]
bin/bitbake: parse.handle must have an absolute path

15 years agobitbake/lib/bb/shell.py:
Richard Purdie [Mon, 11 Sep 2006 11:34:00 +0000 (11:34 +0000)]
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
Split collect_bbfiles into collect_bbfiles and parse_bbfiles
Allow -b option to accept an expression which uniquely identifies a .bb file instead of requiring a full path
Disable BBFILES support within .bb files (it was already non-functional)

15 years agocache.py: The cache doesn't really need to know about any progress callback - adjust...
Richard Purdie [Mon, 11 Sep 2006 11:28:08 +0000 (11:28 +0000)]
cache.py: The cache doesn't really need to know about any progress callback - adjust logging accordingly

15 years agotaskdata.py: Clean up mesage handling for unbuildable targets - log at debug level...
Richard Purdie [Sun, 10 Sep 2006 22:02:58 +0000 (22:02 +0000)]
taskdata.py: Clean up mesage handling for unbuildable targets - log at debug level unless the target was directly requested

15 years agobuild.py: Really fix debug_level references causing excessive debug output (s/general...
Richard Purdie [Sun, 10 Sep 2006 21:39:29 +0000 (21:39 +0000)]
build.py: Really fix debug_level references causing excessive debug output (s/general/default - thanks for spotting koen)

15 years agobuild.py: Fix debug_level references causing excessive debug output
Richard Purdie [Sun, 10 Sep 2006 21:34:05 +0000 (21:34 +0000)]
build.py: Fix debug_level references causing excessive debug output

15 years agocache.py: Drop uneeded BUILD_ALL_DEPS variable
Richard Purdie [Sun, 10 Sep 2006 21:17:02 +0000 (21:17 +0000)]
cache.py: Drop uneeded BUILD_ALL_DEPS variable

15 years agolib/bb/shell.py - Use taskData and runQueue directly
Richard Purdie [Sun, 10 Sep 2006 21:16:02 +0000 (21:16 +0000)]
lib/bb/shell.py - Use taskData and runQueue directly
lib/bb/runqueue.py - Add fn to TaskFailure
bin/bitbake - Remove now uneeded buildProvider

15 years agomsg.py: Each -l option increases the debug level of that logging domain by 1 (similar...
Richard Purdie [Sun, 10 Sep 2006 21:12:04 +0000 (21:12 +0000)]
msg.py: Each -l option increases the debug level of that logging domain by 1 (similar to -D behaviour).

15 years agorunqueue.py: Upon failure in abort mode, raise an exception rather than sys.exit
Richard Purdie [Sun, 10 Sep 2006 21:10:10 +0000 (21:10 +0000)]
runqueue.py: Upon failure in abort mode, raise an exception rather than sys.exit

15 years agoTurn BBParsingStatus into CacheData and move to cache.py
Richard Purdie [Sat, 9 Sep 2006 23:29:36 +0000 (23:29 +0000)]
Turn BBParsingStatus into CacheData and move to cache.py

15 years agoproviders.py: Improve findBestProvider debug messages to explain the infamous 'prefer...
Richard Purdie [Sat, 9 Sep 2006 23:04:32 +0000 (23:04 +0000)]
providers.py: Improve findBestProvider debug messages to explain the infamous 'preferred version 2.4 of glibc not available' messgae

15 years agobuild.py: Add interactive flag for tasks to optionally disable console redirection...
Richard Purdie [Sat, 9 Sep 2006 21:49:34 +0000 (21:49 +0000)]
build.py: Add interactive flag for tasks to optionally disable console redirection. Default to maintain backwards compatibility

15 years agobbimage: Add call to init logging variable
Richard Purdie [Sat, 9 Sep 2006 21:43:06 +0000 (21:43 +0000)]
bbimage: Add call to init logging variable

15 years agoAdd bitbake -l option to specify debug domains to show
Richard Purdie [Sat, 9 Sep 2006 21:24:20 +0000 (21:24 +0000)]
Add bitbake -l option to specify debug domains to show

15 years agoComplete conversion to use bb.msg
Richard Purdie [Sat, 9 Sep 2006 17:47:52 +0000 (17:47 +0000)]
Complete conversion to use bb.msg

15 years agoConvert fetchers to use bb.msg
Richard Purdie [Sat, 9 Sep 2006 16:58:58 +0000 (16:58 +0000)]
Convert fetchers to use bb.msg

15 years agorunqueue.py: Improve error messages (and make get_error_idstring a more global function)
Richard Purdie [Sat, 9 Sep 2006 16:43:55 +0000 (16:43 +0000)]
runqueue.py: Improve error messages (and make get_error_idstring a more global function)

15 years agobitbake/trunk/bitbake/bin/bbimage: prepend the path to BitBake instead of appending...
Holger Hans Peter Freyther [Fri, 8 Sep 2006 21:55:12 +0000 (21:55 +0000)]
bitbake/trunk/bitbake/bin/bbimage: prepend the path to BitBake instead of appending to fix #1108

    We want the 'local' libraries to be loaded before the installed copy. E.g.
    if you have a old version of BitBake installed but run a newer version
    from a local directory you want to load the BitBake libraries from the local
    directory

15 years agobitbake/bin/bitbake: Richard deserves a real (C) on BitBake
Holger Hans Peter Freyther [Fri, 8 Sep 2006 21:52:32 +0000 (21:52 +0000)]
bitbake/bin/bitbake: Richard deserves a real (C) on BitBake

15 years agobitbake/trunk/bitbake: Update the ChangeLog to mention Richards great changes and...
Holger Hans Peter Freyther [Fri, 8 Sep 2006 21:40:30 +0000 (21:40 +0000)]
bitbake/trunk/bitbake: Update the ChangeLog to mention Richards great changes and Paul's svn fetcher change

15 years agobitbake/trunk/bitbake: Do svn co's to a permanent directory (SVNDIR) to be more simil...
Holger Hans Peter Freyther [Fri, 8 Sep 2006 21:39:53 +0000 (21:39 +0000)]
bitbake/trunk/bitbake: Do svn co's to a permanent directory (SVNDIR) to be more similiar to the CVS fetcher
    Patch courtsey Paul Sokolovsky to address #1367 to have a
    permanent directory for subversion to ease updating of huge
    repositories.

15 years agobitbake/trunk/bitbake: Mention BitBake 1.6 as the stable branch
Holger Hans Peter Freyther [Fri, 8 Sep 2006 21:34:51 +0000 (21:34 +0000)]
bitbake/trunk/bitbake: Mention BitBake 1.6 as the stable branch

15 years agorunqueue.py: Improve circular depends error message
Richard Purdie [Wed, 23 Aug 2006 12:16:24 +0000 (12:16 +0000)]
runqueue.py: Improve circular depends error message

15 years agorunqueue.py: Fix the case where BB_NUMBER_THREADS is unset
Richard Purdie [Tue, 22 Aug 2006 14:14:08 +0000 (14:14 +0000)]
runqueue.py: Fix the case where BB_NUMBER_THREADS is unset

15 years agorunqueue.py: Make sure number_tasks is a number
Richard Purdie [Tue, 22 Aug 2006 14:07:46 +0000 (14:07 +0000)]
runqueue.py: Make sure number_tasks is a number

15 years agorunqueue.py: Make sure depends is initialised
Richard Purdie [Tue, 22 Aug 2006 11:09:55 +0000 (11:09 +0000)]
runqueue.py: Make sure depends is initialised

15 years agotaskdata.py: Fix so only warn about failed providers once.
Richard Purdie [Mon, 21 Aug 2006 21:58:45 +0000 (21:58 +0000)]
taskdata.py: Fix so only warn about failed providers once.

15 years agorunqueue.py: Print summary of active tasks when aborting a build run
Richard Purdie [Mon, 21 Aug 2006 16:31:17 +0000 (16:31 +0000)]
runqueue.py: Print summary of active tasks when aborting a build run

15 years agotaskdata.py: Add handling to remove/ignore files which fail after after the checks...
Richard Purdie [Mon, 21 Aug 2006 15:38:17 +0000 (15:38 +0000)]
taskdata.py: Add handling to remove/ignore files which fail after after the checks earlier in add_[r]provider

15 years agorunqueue.py: Fix and disable some debug
Richard Purdie [Sun, 20 Aug 2006 22:26:42 +0000 (22:26 +0000)]
runqueue.py: Fix and disable some debug

15 years agobitbake/lib/bb/taskdata.py:
Richard Purdie [Sun, 20 Aug 2006 21:52:23 +0000 (21:52 +0000)]
bitbake/lib/bb/taskdata.py:
bitbake/lib/bb/__init__.py:
bitbake/lib/bb/shell.py:
bitbake/lib/bb/runqueue.py:
bitbake/lib/bb/msg.py:
bitbake/MANIFEST:
bitbake/bin/bitbake:
    Major rewrite and modularisation of the dependecy code. The code in bin/bitbake
    is replaced by the taskdata and runqueue modules. The code is designed to support
    multiple threads (although the initial threading algothirm is simplistic). The
    new code is aimed to be maintainable and debuggable (once msy.py is finished).

15 years agobitbake/lib/bb/build.py:
Richard Purdie [Sun, 20 Aug 2006 21:36:57 +0000 (21:36 +0000)]
bitbake/lib/bb/build.py:
    - Add flag to disable exec_task dependency execution

15 years agobitbake/lib/bb/providers.py:
Richard Purdie [Sun, 20 Aug 2006 21:34:35 +0000 (21:34 +0000)]
bitbake/lib/bb/providers.py:
    - Add NoRProvider exception

15 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

15 years agobitbake: Trunk is now at version 1.7.0
Holger Hans Peter Freyther [Tue, 15 Aug 2006 15:28:48 +0000 (15:28 +0000)]
bitbake: Trunk is now at version 1.7.0

15 years agobitbake: Assign release number 1.6.0 to the trunk and update the ChangeLog
Holger Hans Peter Freyther [Tue, 15 Aug 2006 15:16:30 +0000 (15:16 +0000)]
bitbake: Assign release number 1.6.0 to the trunk and update the ChangeLog

15 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

15 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

15 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)

15 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

15 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

15 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

15 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

15 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.

15 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

15 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

15 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

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

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

15 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

15 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.

15 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

15 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

15 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

15 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

15 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.

15 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

15 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

15 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.

15 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.

15 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.

15 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...

15 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.

15 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.

15 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

15 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.

15 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.

15 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

15 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.

15 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

15 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)

15 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

15 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.

15 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.

15 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...

15 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

15 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.

15 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()

15 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

15 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.

15 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 ;)

15 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)

15 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