bitbake.git
12 years agodata.py: Split expandKeys into two for loops to benefit from the expand_cache (12...
Richard Purdie [Fri, 17 Aug 2007 23:35:17 +0000 (23:35 +0000)]
data.py: Split expandKeys into two for loops to benefit from the expand_cache (12% speedup)

12 years agobb/__init.py: Sort digraph output to make builds more reproducible
Richard Purdie [Fri, 17 Aug 2007 23:31:37 +0000 (23:31 +0000)]
bb/__init.py: Sort digraph output to make builds more reproducible

12 years agoBBHandler.py/build.py: Rework add_task to be more efficient (6% speedup, 7% number...
Richard Purdie [Fri, 17 Aug 2007 23:28:57 +0000 (23:28 +0000)]
BBHandler.py/build.py: Rework add_task to be more efficient (6% speedup, 7% number of function calls reduction)

12 years agotaskdata.py: Improve dump_data debugging code
Richard Purdie [Fri, 17 Aug 2007 23:25:14 +0000 (23:25 +0000)]
taskdata.py: Improve dump_data debugging code

12 years agoPrint the list of missing DEPENDS/RDEPENDS on the "No buildable providers available...
Holger Hans Peter Freyther [Fri, 17 Aug 2007 14:46:56 +0000 (14:46 +0000)]
Print the list of missing DEPENDS/RDEPENDS on the "No buildable providers available for required build target..." error message

I'm not certain to get all occurences of fail_fnid but the printed message is a usability improvement. So this change might be not complete but good enough to be applied.

12 years agobuild.py: Expand data to addtask
Richard Purdie [Thu, 16 Aug 2007 16:35:37 +0000 (16:35 +0000)]
build.py: Expand data to addtask

12 years agoFix syntax and indention
Holger Hans Peter Freyther [Thu, 16 Aug 2007 12:35:31 +0000 (12:35 +0000)]
Fix syntax and indention

12 years agosvn.py: Handle case where SRCREV=None
Richard Purdie [Thu, 16 Aug 2007 12:29:23 +0000 (12:29 +0000)]
svn.py: Handle case where SRCREV=None

12 years agogit.py: Fix reference to tag
Richard Purdie [Thu, 16 Aug 2007 12:20:07 +0000 (12:20 +0000)]
git.py: Fix reference to tag

12 years agogit.py: Handle tag=master correctly (from poky)
Richard Purdie [Thu, 16 Aug 2007 09:56:13 +0000 (09:56 +0000)]
git.py: Handle tag=master correctly (from poky)

12 years agodata_smart.py: Add has_key() check before accessing data
Richard Purdie [Thu, 16 Aug 2007 09:54:58 +0000 (09:54 +0000)]
data_smart.py: Add has_key() check before accessing data

12 years agobitbake-1.8: Backport fixes for bugs from trunk
Richard Purdie [Thu, 16 Aug 2007 00:06:11 +0000 (00:06 +0000)]
bitbake-1.8: Backport fixes for bugs from trunk

12 years agofetch/__init__.py: Add locking so multiple fetch processes don't compete for the...
Richard Purdie [Wed, 15 Aug 2007 21:46:31 +0000 (21:46 +0000)]
fetch/__init__.py: Add locking so multiple fetch processes don't compete for the same file

12 years agoBackports to the 1.8 branch (msg.plain, providers changes)
Richard Purdie [Wed, 15 Aug 2007 08:59:14 +0000 (08:59 +0000)]
Backports to the 1.8 branch (msg.plain, providers changes)

12 years agocooker.py: Allow the -b -e option combination to take regular expressions
Richard Purdie [Sun, 12 Aug 2007 21:18:02 +0000 (21:18 +0000)]
cooker.py: Allow the -b -e option combination to take regular expressions

12 years agoConfHandler.py: Apply OVERRIDES before performing immediate expansions
Richard Purdie [Sun, 12 Aug 2007 17:06:00 +0000 (17:06 +0000)]
ConfHandler.py: Apply OVERRIDES before performing immediate expansions

12 years agobb/__init__.py: Improve which function
Richard Purdie [Sun, 12 Aug 2007 12:09:59 +0000 (12:09 +0000)]
bb/__init__.py: Improve which function

12 years agofetch/local.py: Fix local fetcher's localpath return values (remove parameters)
Richard Purdie [Sun, 12 Aug 2007 12:09:22 +0000 (12:09 +0000)]
fetch/local.py: Fix local fetcher's localpath return values (remove parameters)

12 years agofetch/__init__.py: Add SRCREV_FORMAT support
Richard Purdie [Sat, 11 Aug 2007 23:30:39 +0000 (23:30 +0000)]
fetch/__init__.py: Add SRCREV_FORMAT support

12 years agofetch/__init__.py: Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV...
Richard Purdie [Sat, 11 Aug 2007 23:11:24 +0000 (23:11 +0000)]
fetch/__init__.py: Add BB_SRCREV_POLICY variable (clear or cache) to control SRCREV cache

12 years agobitbake: Add profiling option -P
Richard Purdie [Sat, 11 Aug 2007 18:51:04 +0000 (18:51 +0000)]
bitbake: Add profiling option -P

12 years ago__fetch__.py: Correct commit
Richard Purdie [Sat, 11 Aug 2007 18:26:06 +0000 (18:26 +0000)]
__fetch__.py: Correct commit

12 years agofetch/__init__.py: Fix double newline output from fetcher commands (from poky)
Richard Purdie [Sat, 11 Aug 2007 18:24:37 +0000 (18:24 +0000)]
fetch/__init__.py: Fix double newline output from fetcher commands (from poky)

12 years agorunqueue.py: Improve the progress indicator by skipping tasks that have already run...
Richard Purdie [Sat, 11 Aug 2007 18:18:55 +0000 (18:18 +0000)]
runqueue.py: Improve the progress indicator by skipping tasks that have already run before starting the build rather than during it

12 years agofetch/__init__.py: Reinstate global urldata cache instead of using the persistent...
Richard Purdie [Sat, 11 Aug 2007 18:12:02 +0000 (18:12 +0000)]
fetch/__init__.py: Reinstate global urldata cache instead of using the persistent store for performance reasons

12 years agoproviders.py: Add pn-PN to overrides when evalutating PREFERRED_VERSION (from poky)
Richard Purdie [Sat, 11 Aug 2007 18:08:28 +0000 (18:08 +0000)]
providers.py: Add pn-PN to overrides when evalutating PREFERRED_VERSION (from poky)

12 years agolib/bb/runqueue.py: Make sure intertask depends get processed correcting in recursive...
Richard Purdie [Sun, 5 Aug 2007 23:01:23 +0000 (23:01 +0000)]
lib/bb/runqueue.py: Make sure intertask depends get processed correcting in recursive depends

12 years agoBBHandler: Don't generate the A variable which is time consuming and doesn't appear...
Richard Purdie [Sun, 5 Aug 2007 13:01:43 +0000 (13:01 +0000)]
BBHandler: Don't generate the A variable which is time consuming and doesn't appear to get used

12 years agopersist_data: Retry if database locked, update MANIFEST
Richard Purdie [Sun, 5 Aug 2007 09:31:00 +0000 (09:31 +0000)]
persist_data: Retry if database locked, update MANIFEST

12 years agogit.py: Fix tag problem
Richard Purdie [Fri, 3 Aug 2007 08:54:34 +0000 (08:54 +0000)]
git.py: Fix tag problem

12 years agofetcher updates: Add SRCREV support to git, fix svn SRCREV lockdown support, clean...
Richard Purdie [Thu, 2 Aug 2007 23:52:40 +0000 (23:52 +0000)]
fetcher updates: Add SRCREV support to git, fix svn SRCREV lockdown support, clean up fetcher force options, finish sortable_revision implementation

12 years agoWork around fetcher recursion problems for now
Richard Purdie [Tue, 31 Jul 2007 17:21:49 +0000 (17:21 +0000)]
Work around fetcher recursion problems for now

12 years agoVarious fetcher bugfixes
Richard Purdie [Tue, 31 Jul 2007 15:11:39 +0000 (15:11 +0000)]
Various fetcher bugfixes

12 years agodata.emit_var() - only call getVar if we need the variable
Richard Purdie [Tue, 31 Jul 2007 13:09:51 +0000 (13:09 +0000)]
data.emit_var() - only call getVar if we need the variable

12 years agoAdd fixes from trunk to 1.8 branch
Richard Purdie [Tue, 31 Jul 2007 08:14:50 +0000 (08:14 +0000)]
Add fixes from trunk to 1.8 branch

12 years agosvn fetcher: Add SRCREV support
Richard Purdie [Mon, 30 Jul 2007 22:57:56 +0000 (22:57 +0000)]
svn fetcher: Add SRCREV support

12 years agopersist_data.py: Try harder to import an sqlite package. Show how to change the conne...
Richard Purdie [Sun, 29 Jul 2007 21:36:04 +0000 (21:36 +0000)]
persist_data.py: Try harder to import an sqlite package. Show how to change the connection lock timeout

12 years agoevent.py: Add ConfigParsed Event after configuration parsing is complete
Richard Purdie [Sun, 29 Jul 2007 21:21:00 +0000 (21:21 +0000)]
event.py: Add ConfigParsed Event after configuration parsing is complete

12 years agopersist_data: Remove bogus testing code
Richard Purdie [Sun, 29 Jul 2007 17:28:25 +0000 (17:28 +0000)]
persist_data: Remove bogus testing code

12 years agoUpdate parser to work optimally with the new fetcher code
Richard Purdie [Sat, 28 Jul 2007 22:59:23 +0000 (22:59 +0000)]
Update parser to work optimally with the new fetcher code

12 years agoAdd persitent data store from trunk, sync the fetcher changes to use the persistent...
Richard Purdie [Sat, 28 Jul 2007 22:44:43 +0000 (22:44 +0000)]
Add persitent data store from trunk, sync the fetcher changes to use the persistent store

12 years agosvn.py: Fix #2624 and #2644 by changing svn layout in SVNDIR (backport)
Richard Purdie [Wed, 25 Jul 2007 21:26:43 +0000 (21:26 +0000)]
svn.py: Fix #2624 and #2644 by changing svn layout in SVNDIR (backport)

12 years agotags/bitbake-1.8.6: Tag BitBake-1.8.6
Holger Hans Peter Freyther [Sat, 30 Jun 2007 17:04:34 +0000 (17:04 +0000)]
tags/bitbake-1.8.6: Tag BitBake-1.8.6
    -Update ChangeLog
    -Update version(s) in the tags and in the branch

12 years agotaskdata: Remove supriours PREFERRED_PROVIDER warnings
Richard Purdie [Tue, 26 Jun 2007 16:44:48 +0000 (16:44 +0000)]
taskdata: Remove supriours PREFERRED_PROVIDER warnings

12 years agorunqueue.py: Message fix from hrw
Richard Purdie [Tue, 12 Jun 2007 10:30:46 +0000 (10:30 +0000)]
runqueue.py: Message fix from hrw

12 years agorunqueue.py: Correctly redirect stdin when forking.
Richard Purdie [Tue, 12 Jun 2007 10:26:28 +0000 (10:26 +0000)]
runqueue.py: Correctly redirect stdin when forking.
cooker.py: If parsing errors are found, exit, too many users miss the errors

12 years agoUpdate branches after release
Richard Purdie [Sun, 10 Jun 2007 17:13:46 +0000 (17:13 +0000)]
Update branches after release

12 years agobitbake trunk/1.8: Update manual
Richard Purdie [Sun, 10 Jun 2007 16:59:30 +0000 (16:59 +0000)]
bitbake trunk/1.8: Update manual

12 years agotaskdata.py: Promote certain warnings from debug to note 2 level
Richard Purdie [Sun, 20 May 2007 23:50:32 +0000 (23:50 +0000)]
taskdata.py: Promote certain warnings from debug to note 2 level

12 years agorunqueue.py: Don't run sanity checks on incomplete builds
Richard Purdie [Sun, 20 May 2007 23:19:40 +0000 (23:19 +0000)]
runqueue.py: Don't run sanity checks on incomplete builds

12 years agorunqueue.py: Use correct variable for task length
Richard Purdie [Sun, 20 May 2007 22:49:30 +0000 (22:49 +0000)]
runqueue.py: Use correct variable for task length

12 years agocooker.py: Fix invalid regexp in BBMASK error handling (missing import) (#1124)
Richard Purdie [Sun, 20 May 2007 16:35:23 +0000 (16:35 +0000)]
cooker.py: Fix invalid regexp in BBMASK error handling (missing import) (#1124)

12 years agoBBHandler.py: Raise ParseError for filenames with multiple underscores instead of...
Richard Purdie [Sun, 20 May 2007 16:24:25 +0000 (16:24 +0000)]
BBHandler.py:  Raise ParseError for filenames with multiple underscores instead of infinitely looping (1.6, 1.8, trunk)

12 years agorunqueue.py: Fix bug when target was in ASSUME_PROVIDED (#2236)
Richard Purdie [Sun, 20 May 2007 12:12:12 +0000 (12:12 +0000)]
runqueue.py: Fix bug when target was in ASSUME_PROVIDED (#2236)

12 years agoFix a second kind of __inherit_cache race (trunk + branches)
Richard Purdie [Sat, 19 May 2007 17:48:17 +0000 (17:48 +0000)]
Fix a second kind of __inherit_cache race (trunk + branches)

12 years agoparse_py/BBHandler.py: Make sure __inherit_cache is updated before calling include()
Richard Purdie [Sat, 19 May 2007 17:41:58 +0000 (17:41 +0000)]
parse_py/BBHandler.py: Make sure __inherit_cache is updated before calling include()

12 years agoRelease bitbake 1.8.2
Richard Purdie [Thu, 26 Apr 2007 11:55:38 +0000 (11:55 +0000)]
Release bitbake 1.8.2

12 years agocooker.py: Fix cache errors when generation dotGraphs
Richard Purdie [Wed, 18 Apr 2007 22:13:20 +0000 (22:13 +0000)]
cooker.py: Fix cache errors when generation dotGraphs

12 years agobuild.py: Expand dependency flag data
Richard Purdie [Tue, 3 Apr 2007 11:28:34 +0000 (11:28 +0000)]
build.py: Expand dependency flag data

12 years agobuild.py: Add missing intertask dependency code
Richard Purdie [Tue, 3 Apr 2007 09:47:00 +0000 (09:47 +0000)]
build.py: Add missing intertask dependency code

12 years agoAllow operations other than assignment on flag variables (from trunk)
Richard Purdie [Sun, 1 Apr 2007 10:05:40 +0000 (10:05 +0000)]
Allow operations other than assignment on flag variables (from trunk)

12 years agoAdd code to handle inter-task dependencies (from trunk)
Richard Purdie [Sun, 1 Apr 2007 10:04:37 +0000 (10:04 +0000)]
Add code to handle inter-task dependencies (from trunk)

12 years agoAdd PE (Package Epoch) support from Philipp Zabel (pH5) (from trunk)
Richard Purdie [Sun, 1 Apr 2007 10:02:33 +0000 (10:02 +0000)]
Add PE (Package Epoch) support from Philipp Zabel (pH5) (from trunk)

12 years agocache.py: Catch truncated cache file errors (from trunk)
Richard Purdie [Sun, 1 Apr 2007 09:59:04 +0000 (09:59 +0000)]
cache.py: Catch truncated cache file errors (from trunk)

12 years agoPrepare for release
Richard Purdie [Mon, 19 Mar 2007 21:29:26 +0000 (21:29 +0000)]
Prepare for release

12 years agoMANIFEST: Add COPYING
Richard Purdie [Mon, 19 Mar 2007 21:11:46 +0000 (21:11 +0000)]
MANIFEST: Add COPYING

12 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

12 years agorunqueue.py: Fix parameters to get_user_idstring()
Richard Purdie [Wed, 7 Mar 2007 14:21:47 +0000 (14:21 +0000)]
runqueue.py: Fix parameters to get_user_idstring()

12 years agoshell.py: Fix syntax warning reported by pH5
Richard Purdie [Mon, 5 Mar 2007 17:17:03 +0000 (17:17 +0000)]
shell.py: Fix syntax warning reported by pH5

12 years agobitbake-1.8: Prepare for release
Richard Purdie [Sun, 4 Mar 2007 22:44:13 +0000 (22:44 +0000)]
bitbake-1.8: Prepare for release

12 years agocooker.py: Split cook into several functions
Richard Purdie [Sun, 4 Mar 2007 20:58:20 +0000 (20:58 +0000)]
cooker.py: Split cook into several functions

12 years agorunqueue.py: Split execute_runqueue into components
Richard Purdie [Sun, 4 Mar 2007 18:27:52 +0000 (18:27 +0000)]
runqueue.py: Split execute_runqueue into components

12 years agorunqueue.py: Refactor some functions/data
Richard Purdie [Sun, 4 Mar 2007 15:41:49 +0000 (15:41 +0000)]
runqueue.py: Refactor some functions/data

12 years agocooker.py: Move some functionality to the module init function
Richard Purdie [Sun, 4 Mar 2007 15:21:36 +0000 (15:21 +0000)]
cooker.py: Move some functionality to the module init function

12 years agorunqueue.py: Try to kill remaining processes but don't error if they no longer exist...
Richard Purdie [Sun, 4 Mar 2007 15:15:38 +0000 (15:15 +0000)]
runqueue.py: Try to kill remaining processes but don't error if they no longer exist (reported by koen)

12 years agorunqueue.py: Remove extra now unneeded parameter
Richard Purdie [Sun, 4 Mar 2007 15:08:31 +0000 (15:08 +0000)]
runqueue.py: Remove extra now unneeded parameter

12 years agocooker.py: Remove old reference to BBStatistics
Richard Purdie [Sun, 4 Mar 2007 15:00:11 +0000 (15:00 +0000)]
cooker.py: Remove old reference to BBStatistics

12 years agorunqueue.py: Improve initialization instead of repeating parameters
Richard Purdie [Sun, 4 Mar 2007 14:55:06 +0000 (14:55 +0000)]
runqueue.py: Improve initialization instead of repeating parameters

12 years agocooker.py, runqueue.py: Move statistics implementation from cooker to runqueue
Richard Purdie [Sun, 4 Mar 2007 14:23:56 +0000 (14:23 +0000)]
cooker.py, runqueue.py: Move statistics implementation from cooker to runqueue

12 years agoevent.py: Remove data dependencies to resolve a dependency loop
Richard Purdie [Sun, 4 Mar 2007 13:21:14 +0000 (13:21 +0000)]
event.py: Remove data dependencies to resolve a dependency loop

12 years agoshell.py: Remove build_cache_fail references since this no longer works as intended
Richard Purdie [Sun, 4 Mar 2007 13:18:20 +0000 (13:18 +0000)]
shell.py: Remove build_cache_fail references since this no longer works as intended

12 years agoproviders.py: Remove now unused parameter from filterProviders
Richard Purdie [Sun, 4 Mar 2007 13:14:03 +0000 (13:14 +0000)]
providers.py: Remove now unused parameter from filterProviders

12 years agomsg.py: Add events for standard message types
Richard Purdie [Sun, 4 Mar 2007 13:09:53 +0000 (13:09 +0000)]
msg.py: Add events for standard message types

12 years agoBitbake: cooker.py: Fix find_bbfiles. Previously, an attempt to put a path to a...
Chris Larson [Tue, 27 Feb 2007 20:03:44 +0000 (20:03 +0000)]
Bitbake: cooker.py: Fix find_bbfiles.  Previously, an attempt to put a path to a directory (not a glob of the .bb files) in BBFILES would fail, as it was calling out 'find' but not chomping off the newlines from the find output.  Now it's using os.walk() to populate the list instead.

13 years agorunqueue.py: Fix recrdeptask handling (from poky)
Richard Purdie [Wed, 21 Feb 2007 20:53:44 +0000 (20:53 +0000)]
runqueue.py: Fix recrdeptask handling (from poky)

13 years agotrunk/bitbake: Update the MANIFEST as well
Holger Hans Peter Freyther [Fri, 16 Feb 2007 11:54:07 +0000 (11:54 +0000)]
trunk/bitbake: Update the MANIFEST as well

13 years agofetch/svn.py: use username/password when provided in SRC_URI - close OE#1781
Marcin Juszkiewicz [Tue, 23 Jan 2007 22:03:08 +0000 (22:03 +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.

13 years agorunqueue.py: Check for failed dependencies before trying to find a fnid
Richard Purdie [Fri, 12 Jan 2007 13:17:11 +0000 (13:17 +0000)]
runqueue.py: Check for failed dependencies before trying to find a fnid

13 years agorunqueue.py: Fix prepare_runqueue parameters
Richard Purdie [Fri, 12 Jan 2007 13:04:10 +0000 (13:04 +0000)]
runqueue.py: Fix prepare_runqueue parameters

13 years agotrunk/bitbake/lib/bb/build.py: Put LC_ALL=C on os.system call
Holger Hans Peter Freyther [Wed, 10 Jan 2007 20:48:34 +0000 (20:48 +0000)]
trunk/bitbake/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

13 years agorunqueue.py: Give the user some idea of the number of tasks involved
Richard Purdie [Sun, 7 Jan 2007 18:16:58 +0000 (18:16 +0000)]
runqueue.py: Give the user some idea of the number of tasks involved

13 years agoshell.py: Fix up force flag handling for directly named files
Richard Purdie [Sun, 7 Jan 2007 17:59:32 +0000 (17:59 +0000)]
shell.py: Fix up force flag handling for directly named files

13 years agoMake -f (force) flag handling work properly
Richard Purdie [Sun, 7 Jan 2007 17:48:58 +0000 (17:48 +0000)]
Make -f (force) flag handling work properly

13 years agorunqueue.py: Pass cooker to prepare_runqueue (for now)
Richard Purdie [Sun, 7 Jan 2007 17:26:23 +0000 (17:26 +0000)]
runqueue.py: Pass cooker to prepare_runqueue (for now)

13 years agobuild.py: Add del_stamp function to remove existing stamps (factoring common function...
Richard Purdie [Sun, 7 Jan 2007 17:22:23 +0000 (17:22 +0000)]
build.py: Add del_stamp function to remove existing stamps (factoring common functionality into a shared function).

13 years agobuild.py: Merge stamp_is_current and stamp_is_current_cache into one function. This...
Richard Purdie [Sun, 7 Jan 2007 17:19:36 +0000 (17:19 +0000)]
build.py: Merge stamp_is_current and stamp_is_current_cache into one function. This needs rethinking eventually.

13 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

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

13 years agorunqueue.py: Don't create recurisve tasks if they don't exist but still follow depend...
Richard Purdie [Thu, 4 Jan 2007 22:55:21 +0000 (22:55 +0000)]
runqueue.py: Don't create recurisve tasks if they don't exist but still follow dependencies. Also allow multiple recrdeptask entries.

13 years agotaskqueue.py: Add tasks to be queried but not created
Richard Purdie [Thu, 4 Jan 2007 22:53:43 +0000 (22:53 +0000)]
taskqueue.py: Add tasks to be queried but not created