bitbake.git
13 years agoshell.py: Update to use cooker.buildFile()
Richard Purdie [Tue, 26 Feb 2008 17:09:20 +0000 (17:09 +0000)]
shell.py: Update to use cooker.buildFile()

13 years agoutils.py: Tweak explode_deps function to remove unused manipulation
Richard Purdie [Tue, 26 Feb 2008 16:57:08 +0000 (16:57 +0000)]
utils.py: Tweak explode_deps function to remove unused manipulation

13 years agobuild.py: Remove uneeded mkdirhiercall
Richard Purdie [Sun, 24 Feb 2008 23:37:47 +0000 (23:37 +0000)]
build.py: Remove uneeded mkdirhiercall

13 years agobuild.py: Convert exec_task to use getVarFlags
Richard Purdie [Sun, 24 Feb 2008 11:35:18 +0000 (11:35 +0000)]
build.py: Convert exec_task to use getVarFlags

13 years agocooker:Remove a debug message from the parsing loop to lower overhead
Richard Purdie [Sun, 24 Feb 2008 11:31:46 +0000 (11:31 +0000)]
cooker:Remove a debug message from the parsing loop to lower overhead

13 years agocache: Optmise cache handling by more quickly detecting an invalid cache, only saving...
Richard Purdie [Sun, 24 Feb 2008 11:29:18 +0000 (11:29 +0000)]
cache: Optmise cache handling by more quickly detecting an invalid cache, only saving the cache when its changed, moving the cache validity check into the parsing loop and factoring some getVar calls outside a for loop.

13 years agodata_smart: Fix getVarFlags bug in data_smart
Richard Purdie [Sun, 24 Feb 2008 11:25:23 +0000 (11:25 +0000)]
data_smart: Fix getVarFlags bug in data_smart

13 years agobbimage: Update to reflect recent core changes
Richard Purdie [Sat, 23 Feb 2008 23:24:31 +0000 (23:24 +0000)]
bbimage: Update to reflect recent core changes

13 years agocooker, BBHandler: Change parseConfigurationFile so it works on real data, not a...
Richard Purdie [Sat, 23 Feb 2008 17:54:00 +0000 (17:54 +0000)]
cooker, BBHandler: Change parseConfigurationFile so it works on real data, not a copy.  Handle 'base' inherit and all other INHERITs from parseConfigurationFile instead of BBHandler

13 years agogit.py: Fix git branch tags fetching
Richard Purdie [Tue, 22 Jan 2008 13:09:16 +0000 (13:09 +0000)]
git.py: Fix git branch tags fetching

13 years ago1.8.x: Fix MANIFEST in branch+release
Richard Purdie [Mon, 21 Jan 2008 10:13:36 +0000 (10:13 +0000)]
1.8.x: Fix MANIFEST in branch+release

13 years agorunqueue.py: Fix exit code for build failures in --continue mode
Richard Purdie [Mon, 21 Jan 2008 10:04:52 +0000 (10:04 +0000)]
runqueue.py: Fix exit code for build failures in --continue mode

13 years agoRelease bitbake 1.8.10
Richard Purdie [Sun, 20 Jan 2008 13:27:53 +0000 (13:27 +0000)]
Release bitbake 1.8.10

13 years agofetcher/git: remove debug output, add docstring
Michael 'Mickey' Lauer [Sun, 20 Jan 2008 13:22:59 +0000 (13:22 +0000)]
fetcher/git: remove debug output, add docstring

13 years agopersist_data.py: Add sqlite version checks
Richard Purdie [Sun, 20 Jan 2008 12:53:08 +0000 (12:53 +0000)]
persist_data.py: Add sqlite version checks

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 agoadd branch support to the git fetcher -- thanks Otavio Salvador.
Michael 'Mickey' Lauer [Fri, 18 Jan 2008 20:26:18 +0000 (20:26 +0000)]
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) (add hunk missing from the last...
Richard Purdie [Sun, 6 Jan 2008 13:18:30 +0000 (13:18 +0000)]
shell.py: Fix shell data updating problems (#1880) (add hunk missing from the last commit)

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 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 agorunqueue: fix typo
Marcin Juszkiewicz [Sun, 7 Oct 2007 18:15:08 +0000 (18:15 +0000)]
runqueue: fix typo

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

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

14 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'

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

14 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"

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

14 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

14 years agorunqueue.py: Detect builds of tasks with overlapping providers and warn (will become...
Richard Purdie [Sat, 25 Aug 2007 09:24:30 +0000 (09:24 +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. [backport]

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

14 years agoChangelog: Remove duplicates
Richard Purdie [Fri, 24 Aug 2007 08:27:56 +0000 (08:27 +0000)]
Changelog: Remove duplicates

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

14 years agocooker.py: Warn about malformed PREFERRED_PROVIDERS (#1072) [backport]
Richard Purdie [Fri, 24 Aug 2007 08:09:02 +0000 (08:09 +0000)]
cooker.py: Warn about malformed PREFERRED_PROVIDERS (#1072) [backport]

14 years ago__init__.py: Fix a bug in bb.decodeurl where http://some.where.com/somefile.tgz decod...
Richard Purdie [Fri, 24 Aug 2007 08:07:43 +0000 (08:07 +0000)]
__init__.py: Fix a bug in bb.decodeurl where some.where.com/somefile.tgz decoded to host="" (#1530) [backport]

14 years agocooker.py Add support for BB_NICE_LEVEL option (#1627) [backport]
Richard Purdie [Fri, 24 Aug 2007 08:06:58 +0000 (08:06 +0000)]
cooker.py Add support for BB_NICE_LEVEL option (#1627) [backport]

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

14 years agoRelease BitBake Version 1.8.8 and increase the branch version to 1.8.9
Holger Hans Peter Freyther [Sat, 18 Aug 2007 18:49:18 +0000 (18:49 +0000)]
Release BitBake Version 1.8.8 and increase the branch version to 1.8.9

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

14 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

14 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

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

14 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

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

14 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

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

14 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

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

14 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

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

14 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

14 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

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

14 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

14 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

14 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

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

14 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

14 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

14 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

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

14 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

14 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

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

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

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

14 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

14 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

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

14 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

14 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

14 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

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

14 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

14 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

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

14 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

14 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

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

14 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

14 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

14 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

14 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