bitbake.git
13 years agocvs.py: Add norecurse and fullpath options to cvs fetcher (from Poky/Marcin)
Richard Purdie [Sun, 20 Jan 2008 12:07:40 +0000 (12:07 +0000)]
cvs.py: Add norecurse and fullpath options to cvs fetcher (from Poky/Marcin)

13 years agotaskdata/runqueue.py: Make taskdata and runqueue errors more user friendly
Richard Purdie [Sat, 19 Jan 2008 18:56:40 +0000 (18:56 +0000)]
taskdata/runqueue.py: Make taskdata and runqueue errors more user friendly

13 years agobitbake 1.9.x: add branch support to the git fetcher -- thanks Otavio Salvador.
Michael 'Mickey' Lauer [Fri, 18 Jan 2008 20:36:20 +0000 (20:36 +0000)]
bitbake 1.9.x: add branch support to the git fetcher -- thanks Otavio Salvador.

13 years agowget.py: Change the wget fetcher failure handling to avoid lockfile problems
Richard Purdie [Sat, 12 Jan 2008 18:40:48 +0000 (18:40 +0000)]
wget.py: Change the wget fetcher failure handling to avoid lockfile problems

13 years agocooker.py: Fix -g option breakage from previous commits
Richard Purdie [Sun, 6 Jan 2008 23:50:56 +0000 (23:50 +0000)]
cooker.py: Fix -g option breakage from previous commits

13 years agofetchers: Properly raise errors for invalid source URI protocols (from poky). utils...
Richard Purdie [Sun, 6 Jan 2008 17:35:11 +0000 (17:35 +0000)]
fetchers: Properly raise errors for invalid source URI protocols (from poky). utils.py: Fix a spelling mistake.

13 years agoshell.py: Fix shell data updating problems (#1880)
Richard Purdie [Sun, 6 Jan 2008 13:13:02 +0000 (13:13 +0000)]
shell.py: Fix shell data updating problems (#1880)

13 years agoFix shell showdata command (#3259)
Richard Purdie [Sun, 6 Jan 2008 12:37:38 +0000 (12:37 +0000)]
Fix shell showdata command (#3259)

13 years agocooker.py: Add support for '-e target' (#3432)
Richard Purdie [Sun, 6 Jan 2008 10:59:05 +0000 (10:59 +0000)]
cooker.py: Add support for '-e target' (#3432)

13 years agorunqueue.py: Don't give a stacktrace for invalid tasks, have a user friendly message...
Richard Purdie [Sun, 6 Jan 2008 00:54:46 +0000 (00:54 +0000)]
runqueue.py:  Don't give a stacktrace for invalid tasks, have a user friendly message (#3431)

13 years agorunqueue.py: Add task scheduler abstraction and some example schedulers. Improve...
Richard Purdie [Sun, 6 Jan 2008 00:05:09 +0000 (00:05 +0000)]
runqueue.py: Add task scheduler abstraction and some example schedulers. Improve circular dependency chain debugging code and user feedback.

13 years agorunqueue.py: Improve code comments
Richard Purdie [Sat, 5 Jan 2008 23:58:56 +0000 (23:58 +0000)]
runqueue.py: Improve code comments

13 years agorunqueue.py: Disable task number acceleration since it can allow the tasks to run...
Richard Purdie [Sat, 5 Jan 2008 23:52:36 +0000 (23:52 +0000)]
runqueue.py: Disable task number acceleration since it can allow the tasks to run out of sequence

13 years agoAdd selfstamp and lockfiles flags
Richard Purdie [Sat, 1 Dec 2007 21:35:33 +0000 (21:35 +0000)]
Add selfstamp and lockfiles flags

13 years agoAdd bb.utils.lockfile() and bb.utils.unlockfile() from Poky. Use these functions...
Richard Purdie [Sat, 24 Nov 2007 18:15:49 +0000 (18:15 +0000)]
Add bb.utils.lockfile() and bb.utils.unlockfile() from Poky. Use these functions in the fetcher code

13 years agoFetcher SRCREV handling updates, improvements and fixes from Poky, typo fix for bin...
Richard Purdie [Sat, 17 Nov 2007 22:54:37 +0000 (22:54 +0000)]
Fetcher SRCREV handling updates, improvements and fixes from Poky, typo fix for bin/bitbake

13 years agoperforce.py: Typo fix from Embedded Alley
Richard Purdie [Sat, 17 Nov 2007 22:47:49 +0000 (22:47 +0000)]
perforce.py: Typo fix from Embedded Alley

13 years agogit.py: Use git-fetch instead of git-pull removing any need for merges when fetching...
Richard Purdie [Thu, 8 Nov 2007 09:47:39 +0000 (09:47 +0000)]
git.py: Use git-fetch instead of git-pull removing any need for merges when fetching (we don't care about the index). Fixes fetch errors. Add BB_GENERATE_MIRROR_TARBALLS option, set to 0 to make git fetches faster at the expense of not creating mirror tarballs. (from poky)

13 years agorunqueue.py: Allow multiple options for deptask flag (from poky), fix comment typo...
Richard Purdie [Tue, 30 Oct 2007 12:36:07 +0000 (12:36 +0000)]
runqueue.py:  Allow multiple options for deptask flag (from poky), fix comment typo in trunk.

13 years agobb/__init__.py: Add bb.copyfile function similar to bb.movefile (and improve movefile...
Richard Purdie [Tue, 30 Oct 2007 12:17:04 +0000 (12:17 +0000)]
bb/__init__.py: Add bb.copyfile function similar to bb.movefile (and improve movefile error reporting)

13 years agodata.py: Fix unexport handling (#3135)
Richard Purdie [Mon, 22 Oct 2007 12:25:28 +0000 (12:25 +0000)]
data.py: Fix unexport handling (#3135)

13 years agotaskdata.py: Fix 'depends' flag splitting
Richard Purdie [Sun, 21 Oct 2007 23:33:01 +0000 (23:33 +0000)]
taskdata.py: Fix 'depends' flag splitting

13 years agoproviders.py: Fix bogus preferred_version return values
Richard Purdie [Sun, 21 Oct 2007 23:11:16 +0000 (23:11 +0000)]
providers.py: Fix bogus preferred_version return values

13 years agoBBHandler: Don't add duplicates to BBPATH
Richard Purdie [Mon, 17 Sep 2007 08:04:18 +0000 (08:04 +0000)]
BBHandler: Don't add duplicates to BBPATH

13 years agoFix the MANIFEST to include the two new files
Holger Hans Peter Freyther [Sun, 9 Sep 2007 12:41:02 +0000 (12:41 +0000)]
Fix the MANIFEST to include the two new files

13 years agofetch/: Add mercurial (hg) fetcher from Robert Schuster (#2913)
Richard Purdie [Wed, 5 Sep 2007 21:08:54 +0000 (21:08 +0000)]
fetch/: Add mercurial (hg) fetcher from Robert Schuster (#2913)

13 years agobzr.py: bzr fetcher tweaks from Robert Schuster (#2913)
Richard Purdie [Wed, 5 Sep 2007 20:58:55 +0000 (20:58 +0000)]
bzr.py: bzr fetcher tweaks from Robert Schuster (#2913)

13 years agobuild.py: Add support for cleaning directories before a task in the form: do_taskname...
Richard Purdie [Wed, 5 Sep 2007 09:01:37 +0000 (09:01 +0000)]
build.py: Add support for cleaning directories before a task in the form: do_taskname[cleandirs] = 'dir'

13 years agofetch: Add bzr fetcher
Richard Purdie [Wed, 5 Sep 2007 08:06:22 +0000 (08:06 +0000)]
fetch: Add bzr fetcher

13 years agoAdd support for the syntax "export VARIABLE"
Richard Purdie [Tue, 4 Sep 2007 22:46:26 +0000 (22:46 +0000)]
Add support for the syntax "export VARIABLE"

13 years agoBBHandler.py: Improve debug message
Richard Purdie [Sun, 2 Sep 2007 14:32:50 +0000 (14:32 +0000)]
BBHandler.py: Improve debug message

13 years agoncurses.py: Tweak version field
Richard Purdie [Sat, 25 Aug 2007 22:47:47 +0000 (22:47 +0000)]
ncurses.py: Tweak version field

13 years agocommand.py: Add generateDepTreeEvent command
Richard Purdie [Sat, 25 Aug 2007 22:47:14 +0000 (22:47 +0000)]
command.py: Add generateDepTreeEvent command

13 years agoevent.py: Add DepTreeGenerated event
Richard Purdie [Sat, 25 Aug 2007 22:46:29 +0000 (22:46 +0000)]
event.py: Add DepTreeGenerated event

13 years agocooker.py: Split generateDotGraph into data and file generation sections
Richard Purdie [Sat, 25 Aug 2007 22:45:53 +0000 (22:45 +0000)]
cooker.py: Split generateDotGraph into data and file generation sections

13 years agobin/bitbake: Add UI selection option
Richard Purdie [Sat, 25 Aug 2007 15:14:07 +0000 (15:14 +0000)]
bin/bitbake: Add UI selection option

13 years agoncurses.py: Update so it runs again
Richard Purdie [Sat, 25 Aug 2007 15:13:10 +0000 (15:13 +0000)]
ncurses.py: Update so it runs again

13 years agosvn.py: Handle paths in svn fetcher module parameter
Richard Purdie [Sat, 25 Aug 2007 14:33:39 +0000 (14:33 +0000)]
svn.py: Handle paths in svn fetcher module parameter

13 years agorunqueue.py: Detect builds of tasks with overlapping providers and warn (will become...
Richard Purdie [Sat, 25 Aug 2007 09:20:32 +0000 (09:20 +0000)]
runqueue.py: Detect builds of tasks with overlapping providers and warn (will become a fatal error) (#1359).Add MULTI_PROVIDER_WHITELIST variable to allow known safe multiple providers to be listed.

13 years agoproviders.py: Fix regressions
Richard Purdie [Fri, 24 Aug 2007 10:07:57 +0000 (10:07 +0000)]
providers.py: Fix regressions

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