bitbake.git
13 years agoproviders.py: Backport various providers fixed from trunk (+update Changelogs)
Richard Purdie [Fri, 24 Aug 2007 08:11:10 +0000 (08:11 +0000)]
providers.py: Backport various providers fixed from trunk (+update Changelogs)

13 years agoproviders.py: Sort providers by default preference as well as priority before processing
Richard Purdie [Thu, 23 Aug 2007 22:52:55 +0000 (22:52 +0000)]
providers.py: Sort providers by default preference as well as priority before processing

13 years agoptoviders.py: Remove debugging
Richard Purdie [Thu, 23 Aug 2007 22:13:49 +0000 (22:13 +0000)]
ptoviders.py: Remove debugging

13 years agorunqueue.py: Fix debugging function
Richard Purdie [Thu, 23 Aug 2007 22:09:53 +0000 (22:09 +0000)]
runqueue.py: Fix debugging function

13 years agoproviders.py: Adjust logic so providers with a PREFERRED_VERSION set take priority...
Richard Purdie [Thu, 23 Aug 2007 22:09:27 +0000 (22:09 +0000)]
providers.py: Adjust logic so providers with a PREFERRED_VERSION set take priority over providers without a PREFERRED_VERSION available

13 years agobitbake: use Psyco only on x86 (no support for other archs) - taken from Poky
Marcin Juszkiewicz [Thu, 23 Aug 2007 08:03:02 +0000 (08:03 +0000)]
bitbake: use Psyco only on x86 (no support for other archs) - taken from Poky

13 years ago__init__.py: Fix a bug in decodeurl where http://some.where.com/somefile.tgz decoded...
Richard Purdie [Sun, 19 Aug 2007 23:51:06 +0000 (23:51 +0000)]
__init__.py: Fix a bug in decodeurl where some.where.com/somefile.tgz decoded to host="" (#1530)

13 years agocooker.py: Warn about malformed PREFERRED_PROVIDERS (#1072)
Richard Purdie [Sun, 19 Aug 2007 22:51:51 +0000 (22:51 +0000)]
cooker.py: Warn about malformed PREFERRED_PROVIDERS (#1072)

13 years agoknotty.py: Improve BBINCLUDELOGS_LINES handling (#97)
Richard Purdie [Sun, 19 Aug 2007 22:45:50 +0000 (22:45 +0000)]
knotty.py: Improve BBINCLUDELOGS_LINES handling (#97)

13 years agocooker.py: Add support for BB_NICE_LEVEL option (#1627)
Richard Purdie [Sun, 19 Aug 2007 22:22:52 +0000 (22:22 +0000)]
cooker.py: Add support for BB_NICE_LEVEL option (#1627)

13 years agoevent.py: masked files are not included in total
Richard Purdie [Sun, 19 Aug 2007 17:41:16 +0000 (17:41 +0000)]
event.py: masked files are not included in total

13 years agosetup.py: Update to include bb.ui (thanks pH5)
Richard Purdie [Sun, 19 Aug 2007 11:05:17 +0000 (11:05 +0000)]
setup.py: Update to include bb.ui (thanks pH5)

13 years agoknotty.py: Implement INCLUDELOGS handling
Richard Purdie [Sat, 18 Aug 2007 23:44:44 +0000 (23:44 +0000)]
knotty.py: Implement INCLUDELOGS handling

13 years agocommand.py: Add readVariable command
Richard Purdie [Sat, 18 Aug 2007 23:44:02 +0000 (23:44 +0000)]
command.py: Add readVariable command

13 years agocommand.py: Add parseFiles command. Tweak cooker to match
Richard Purdie [Sat, 18 Aug 2007 21:59:10 +0000 (21:59 +0000)]
command.py: Add parseFiles command. Tweak cooker to match

13 years agocooker.py: Handle error cases (e.g. no targets specified) more neatly
Richard Purdie [Sat, 18 Aug 2007 18:44:33 +0000 (18:44 +0000)]
cooker.py: Handle error cases (e.g. no targets specified) more neatly

13 years agocommand.py: Turn showEnvironment into an offline command
Richard Purdie [Sat, 18 Aug 2007 18:19:31 +0000 (18:19 +0000)]
command.py: Turn showEnvironment into an offline command

13 years agocooker.py: Make showEnvironment perform better
Richard Purdie [Sat, 18 Aug 2007 18:17:50 +0000 (18:17 +0000)]
cooker.py: Make showEnvironment perform better

13 years agouievent.py: Fix teardown races
Richard Purdie [Sat, 18 Aug 2007 18:15:58 +0000 (18:15 +0000)]
uievent.py: Fix teardown races

13 years ago[regression] Make SRCDATE/CVSDATE for the fetchers work again. This regressed in...
Holger Hans Peter Freyther [Sat, 18 Aug 2007 17:31:56 +0000 (17:31 +0000)]
[regression] Make SRCDATE/CVSDATE for the fetchers work again. This regressed in r653

PN should always be set for files as it comes from bitbake.conf but as we are close
to a release make the least intrusive change and copy SRCDATE and CVSDATE to the above
line as well. I think the second return is dead code and we should remove it.

13 years agorunqueue.py: Fix accounting errors
Richard Purdie [Sat, 18 Aug 2007 16:00:04 +0000 (16:00 +0000)]
runqueue.py: Fix accounting errors

13 years agobin/bitbake: Fix execution order
Richard Purdie [Sat, 18 Aug 2007 15:35:52 +0000 (15:35 +0000)]
bin/bitbake: Fix execution order

13 years agorunqueue.py: Update to work with the UI code
Richard Purdie [Sat, 18 Aug 2007 15:29:12 +0000 (15:29 +0000)]
runqueue.py: Update to work with the UI code

13 years agocooker.py: Update to work with the UI code
Richard Purdie [Sat, 18 Aug 2007 15:14:36 +0000 (15:14 +0000)]
cooker.py: Update to work with the UI code

13 years agobuild.py: Add _message to TaskBase, add gross hack to logfile name generation to...
Richard Purdie [Sat, 18 Aug 2007 15:11:00 +0000 (15:11 +0000)]
build.py: Add _message to TaskBase, add gross hack to logfile name generation to make things work for now

13 years ago__init__.py: Add command module
Richard Purdie [Sat, 18 Aug 2007 15:08:40 +0000 (15:08 +0000)]
__init__.py: Add command module

13 years agoevent.py: Add _message variable to PkgBase, add error field to ParseProgress
Richard Purdie [Sat, 18 Aug 2007 15:07:51 +0000 (15:07 +0000)]
event.py: Add _message variable to PkgBase, add error field to ParseProgress

13 years agoUpdate MANIFEST
Richard Purdie [Sat, 18 Aug 2007 15:05:45 +0000 (15:05 +0000)]
Update MANIFEST

13 years agobin/bitbake: Switch to use new UI code
Richard Purdie [Sat, 18 Aug 2007 15:04:23 +0000 (15:04 +0000)]
bin/bitbake: Switch to use new UI code

13 years agomsg.py: Rely on fired events, no longer print directly
Richard Purdie [Sat, 18 Aug 2007 15:03:04 +0000 (15:03 +0000)]
msg.py: Rely on fired events, no longer print directly

13 years agoAdd the start of several UI modules
Richard Purdie [Sat, 18 Aug 2007 14:55:45 +0000 (14:55 +0000)]
Add the start of several UI modules

13 years agoAdd the command module (needs rewriting)
Richard Purdie [Sat, 18 Aug 2007 14:55:05 +0000 (14:55 +0000)]
Add the command module (needs rewriting)

13 years agoAdd xmlrpcserver module
Richard Purdie [Sat, 18 Aug 2007 14:47:30 +0000 (14:47 +0000)]
Add xmlrpcserver module

13 years agocooker.py: Only try to change terminal flags on terminals
Richard Purdie [Sat, 18 Aug 2007 14:46:31 +0000 (14:46 +0000)]
cooker.py: Only try to change terminal flags on terminals

13 years agofetch/__init__.py: Don't create .lock files for local files
Richard Purdie [Sat, 18 Aug 2007 14:43:20 +0000 (14:43 +0000)]
fetch/__init__.py: Don't create .lock files for local files

13 years agoAdd daemonize module
Richard Purdie [Sat, 18 Aug 2007 14:42:06 +0000 (14:42 +0000)]
Add daemonize module

13 years agocookey.py: Clear the terminal TOSTOP flag if set (and warn the user)
Richard Purdie [Sat, 18 Aug 2007 10:45:49 +0000 (10:45 +0000)]
cookey.py: Clear the terminal TOSTOP flag if set (and warn the user)

13 years agorunqueue.py: Fix idepends handling to avoid dependency errors, improve debugging...
Richard Purdie [Fri, 17 Aug 2007 23:41:54 +0000 (23:41 +0000)]
runqueue.py: Fix idepends handling to avoid dependency errors, improve debugging capability

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

13 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

13 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

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

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

13 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

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

13 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

13 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

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

13 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

13 years agoUpdate trunk Changelog
Richard Purdie [Thu, 16 Aug 2007 00:06:43 +0000 (00:06 +0000)]
Update trunk Changelog

13 years agorunqueue.py: Fix None/Zero confusion causing dependency bugs
Richard Purdie [Wed, 15 Aug 2007 23:58:45 +0000 (23:58 +0000)]
runqueue.py: Fix None/Zero confusion causing dependency bugs

13 years agodata/data_smart.py: Add data.renameVar()
Richard Purdie [Wed, 15 Aug 2007 22:57:25 +0000 (22:57 +0000)]
data/data_smart.py: Add data.renameVar()

13 years agobuild.py: Add back python function output through a new mechanism to emulate old...
Richard Purdie [Wed, 15 Aug 2007 21:44:58 +0000 (21:44 +0000)]
build.py: Add back python function output through a new mechanism to emulate old behaviour (for now)

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

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

13 years agoproviders.py: Sort the list of providers before processing so dependency problems...
Richard Purdie [Wed, 15 Aug 2007 08:45:32 +0000 (08:45 +0000)]
providers.py: Sort the list of providers before processing so dependency problems are reproducible rather than effectively random

13 years agocooker.py: Improve/fix the bitbake versions output
Richard Purdie [Wed, 15 Aug 2007 08:44:40 +0000 (08:44 +0000)]
cooker.py: Improve/fix the bitbake versions output

13 years agomsg.py: Fix plain message type
Richard Purdie [Wed, 15 Aug 2007 08:44:07 +0000 (08:44 +0000)]
msg.py: Fix plain message type

13 years agoproviders.py: Move providers code into the providers module
Richard Purdie [Tue, 14 Aug 2007 09:57:35 +0000 (09:57 +0000)]
providers.py: Move providers code into the providers module

13 years agomsg.py: Handle unset domains correctly
Richard Purdie [Tue, 14 Aug 2007 09:56:35 +0000 (09:56 +0000)]
msg.py: Handle unset domains correctly

13 years agorunqueue.py: Mark completed tasks as buildable to avoid sanity check errors
Richard Purdie [Mon, 13 Aug 2007 23:49:15 +0000 (23:49 +0000)]
runqueue.py: Mark completed tasks as buildable to avoid sanity check errors

13 years agomsg.py: Add checks for unset domains
Richard Purdie [Mon, 13 Aug 2007 23:48:02 +0000 (23:48 +0000)]
msg.py: Add checks for unset domains

13 years agocooker.py: Switch to using bb.msg.plain
Richard Purdie [Mon, 13 Aug 2007 23:13:15 +0000 (23:13 +0000)]
cooker.py: Switch to using bb.msg.plain

13 years agomsg.py: Add plain message type, remove legacy logging code
Richard Purdie [Mon, 13 Aug 2007 22:52:02 +0000 (22:52 +0000)]
msg.py: Add plain message type, remove legacy logging code

13 years agocooker.py: Refactor pkgs_to_build into a function, further cleanups
Richard Purdie [Mon, 13 Aug 2007 21:27:36 +0000 (21:27 +0000)]
cooker.py: Refactor pkgs_to_build into a function, further cleanups

13 years agodata.py: Comment last accidental commit
Richard Purdie [Mon, 13 Aug 2007 21:02:21 +0000 (21:02 +0000)]
data.py: Comment last accidental commit

13 years agocooker.py: Start UI merge: Cleanup exit status handling and collect exit calls into...
Richard Purdie [Mon, 13 Aug 2007 21:00:50 +0000 (21:00 +0000)]
cooker.py: Start UI merge: Cleanup exit status handling and collect exit calls into one place. Move buildSetVars() function calls. Cleanup whitespace. Make some of the core functions more generic.

13 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

13 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

13 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

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

13 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

13 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

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

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

13 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

13 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

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

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

13 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

13 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

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

13 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

13 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

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

13 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

13 years agofetch/svn.py: use LC_ALL=C LANG=C (LC_ALL= LANG= doesn't work on all distributions)
Michael 'Mickey' Lauer [Tue, 31 Jul 2007 05:35:15 +0000 (05:35 +0000)]
fetch/svn.py: use LC_ALL=C LANG=C (LC_ALL= LANG= doesn't work on all distributions)

13 years agofetch/__init__.py: fix error in error reporting statement ;)
Michael 'Mickey' Lauer [Tue, 31 Jul 2007 04:12:33 +0000 (04:12 +0000)]
fetch/__init__.py: fix error in error reporting statement ;)

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

13 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:39 +0000 (21:36 +0000)]
persist_data.py: Try harder to import an sqlite package. Show how to change the connection lock timeout

13 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

13 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

13 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

13 years agoConvert fetcher to use persist_data to remove global urldata variable and cleanup
Richard Purdie [Sat, 28 Jul 2007 17:22:49 +0000 (17:22 +0000)]
Convert fetcher to use persist_data to remove global urldata variable and cleanup

13 years agoAdd persistent data store module
Richard Purdie [Sat, 28 Jul 2007 17:16:37 +0000 (17:16 +0000)]
Add persistent data store module

13 years agoRemove ununsed module references
Richard Purdie [Sat, 28 Jul 2007 17:14:46 +0000 (17:14 +0000)]
Remove ununsed module references

13 years agofetch/__init__.py: Start to fill out FetchData
Richard Purdie [Thu, 26 Jul 2007 00:05:49 +0000 (00:05 +0000)]
fetch/__init__.py: Start to fill out FetchData

13 years agogit.py: Add latest_revision function
Richard Purdie [Wed, 25 Jul 2007 23:51:55 +0000 (23:51 +0000)]
git.py: Add latest_revision function

13 years agosvn.py: Add latest_revision and sortable_revison functions
Richard Purdie [Wed, 25 Jul 2007 23:43:45 +0000 (23:43 +0000)]
svn.py: Add latest_revision and sortable_revison functions

13 years agofetchers: Add runfetchcmd function to handle command execution
Richard Purdie [Wed, 25 Jul 2007 23:41:59 +0000 (23:41 +0000)]
fetchers: Add runfetchcmd function to handle command execution