Richard Purdie [Wed, 21 May 2008 21:26:46 +0000 (21:26 +0000)]
build.py: Make sure expandKeys has been called on the data dictonary before running tasks fixing various strange issues (from poky). Correctly add a task override in the form task-TASKNAME which whilst a change in behaviour shouldn't matter since the original approach didn't work at all
Richard Purdie [Mon, 19 May 2008 20:39:48 +0000 (20:39 +0000)]
manuals: Add missing options documentation (thanks to zecke for noticing and the patch)
Richard Purdie [Mon, 19 May 2008 20:16:03 +0000 (20:16 +0000)]
BBHandler.py: Correctly handle '-' characters in class names (#2958)
Richard Purdie [Mon, 19 May 2008 20:14:22 +0000 (20:14 +0000)]
cooker.py: Make sure Build Completed events are generated even when tasks fail
Richard Purdie [Mon, 12 May 2008 14:21:36 +0000 (14:21 +0000)]
utils.py: Add md5 and sha256 checksum generation functions from Ross Burton (via Poky)
Holger Hans Peter Freyther [Sun, 11 May 2008 13:48:51 +0000 (13:48 +0000)]
Allow to store the PersistData in a PERSISTENT_DIR.
If PERSISTENT_DIR is used wiping the tmpdir will not wipe the PersistData
which sometines is wanted (e.g. for git SRCREVs).
Acked-By: Richard
Richard Purdie [Fri, 9 May 2008 13:12:47 +0000 (13:12 +0000)]
runqueue.py: Add bb.runqueue.check_stamp_fn() for use by packaged-staging, also improve check_stamp_task debug output
Richard Purdie [Fri, 9 May 2008 10:23:19 +0000 (10:23 +0000)]
runqueue/taskdata.py: Make sure recrdeps tasks include all inter-task dependencies of a given fn
Richard Purdie [Fri, 9 May 2008 10:12:27 +0000 (10:12 +0000)]
runqueue.py: Flush stdout/stderr before forking to fix duplicate console output
Richard Purdie [Fri, 9 May 2008 10:08:56 +0000 (10:08 +0000)]
providers.py: No longer weight providers on the basis of a package being "already staged". This leads to builds being non-deterministic.
Richard Purdie [Mon, 5 May 2008 09:22:57 +0000 (09:22 +0000)]
runqueue.py: Fix default whitelist variable value
Richard Purdie [Sun, 4 May 2008 23:01:39 +0000 (23:01 +0000)]
runqueue.py: Add BB_STAMP_WHITELIST option which contains a list of stamps to ignore when checking stamp dependencies and using a BB_STAMP_POLICY of 'whitelist'. Useful for packaged-staging
Richard Purdie [Sun, 4 May 2008 22:58:17 +0000 (22:58 +0000)]
providers.py: Improve runtime PREFERRED_PROVIDERS warning messages to be more user friendly
Richard Purdie [Sun, 27 Apr 2008 12:51:57 +0000 (12:51 +0000)]
fetchers: Tweak the new checkstatus code to handle some corner cases better
Richard Purdie [Sun, 27 Apr 2008 11:09:50 +0000 (11:09 +0000)]
lib/bb/fetch: Add ability to fetchers to check URL validity without downloading
Holger Hans Peter Freyther [Fri, 11 Apr 2008 21:24:29 +0000 (21:24 +0000)]
Patch from John Lee to always use UTC time for checking out files.
I would suggest set cvs fetch in bitbake to always use UTC+0 for this
matter and we set the min and max date according to UTC+0 instead of
our own timezone. Enclosed please find the patch to the bitbake 1.8
branch.
Pretty sane.
Richard Purdie [Tue, 8 Apr 2008 11:36:36 +0000 (11:36 +0000)]
fetch/__init__.py: Improve runfetchcmd so errors are seen and various GIT variables are exported
Richard Purdie [Tue, 8 Apr 2008 10:29:07 +0000 (10:29 +0000)]
fetch/cvs.py Add proxy support to CVS fetcher (patch from Cyril Chemparathy/Poky)
Richard Purdie [Fri, 28 Mar 2008 17:18:42 +0000 (17:18 +0000)]
cache.py: Fix a bug where changed files weren't getting spotted and an invalid cache was being used
Richard Purdie [Mon, 17 Mar 2008 12:21:35 +0000 (12:21 +0000)]
git.py: Work around refs/HEAD issues with git over http (fixes #3410)
Richard Purdie [Thu, 13 Mar 2008 23:32:03 +0000 (23:32 +0000)]
cache.py: Ignore cache load errors and always just rebuild
Richard Purdie [Thu, 13 Mar 2008 22:46:17 +0000 (22:46 +0000)]
cache.py: Improve the way various data structures are handled to speed up the hot cache data path
Richard Purdie [Thu, 13 Mar 2008 22:35:01 +0000 (22:35 +0000)]
cooker.py: Fix a typo breaking -b -c -f combiantion of options
Richard Purdie [Thu, 13 Mar 2008 22:31:01 +0000 (22:31 +0000)]
runqueue.py: Fix problems with recrdeptask handling where some idepends weren't handled correctly
Richard Purdie [Thu, 13 Mar 2008 22:27:20 +0000 (22:27 +0000)]
runqueue.py: Switch to check_stamp code since its simpler than check_stamps and accounts for tasks which adjust other stamps in the system such as packaged staging. The drawback is we can't 'accelerate' task numbers to get an accurate idea of how many tasks will run
Richard Purdie [Thu, 13 Mar 2008 22:21:49 +0000 (22:21 +0000)]
runqueue.py: Fix check_stamps function
Michael 'Mickey' Lauer [Sat, 8 Mar 2008 12:01:06 +0000 (12:01 +0000)]
1.8.x/cooker: backport -f and -b fix from trunk
Richard Purdie [Thu, 6 Mar 2008 10:35:04 +0000 (10:35 +0000)]
taskdata.py: When handling build target failures make sure idepends are checked and failed where needed. Fixes --continue mode crashes.
Richard Purdie [Fri, 29 Feb 2008 23:06:43 +0000 (23:06 +0000)]
cache.py: Bump the cache version since digraph was removed and mayb still be present in old cache files
Richard Purdie [Thu, 28 Feb 2008 22:18:05 +0000 (22:18 +0000)]
build.py: Fix task variable expansion issue
Richard Purdie [Thu, 28 Feb 2008 09:10:47 +0000 (09:10 +0000)]
runqueue.py: Add BB_SCHEDULER and BB_STAMP_POLICY variables
Richard Purdie [Wed, 27 Feb 2008 23:51:25 +0000 (23:51 +0000)]
runqueue.py: Fix recursive looping issue
Richard Purdie [Wed, 27 Feb 2008 23:50:44 +0000 (23:50 +0000)]
fetch/__init__.py: Make fetcher timestamp updating non-fatal when permissions don't allow updates
Richard Purdie [Tue, 26 Feb 2008 17:58:24 +0000 (17:58 +0000)]
Remove digraph and switch to new stamp checking code.
Richard Purdie [Tue, 26 Feb 2008 17:32:00 +0000 (17:32 +0000)]
Convert -b option to use taskdata/runqueue
Richard Purdie [Tue, 26 Feb 2008 17:23:31 +0000 (17:23 +0000)]
runqueue.py: Add StampUpdate event
Richard Purdie [Tue, 26 Feb 2008 17:09:20 +0000 (17:09 +0000)]
shell.py: Update to use cooker.buildFile()
Richard Purdie [Tue, 26 Feb 2008 16:57:08 +0000 (16:57 +0000)]
utils.py: Tweak explode_deps function to remove unused manipulation
Richard Purdie [Sun, 24 Feb 2008 23:37:47 +0000 (23:37 +0000)]
build.py: Remove uneeded mkdirhiercall
Richard Purdie [Sun, 24 Feb 2008 11:35:18 +0000 (11:35 +0000)]
build.py: Convert exec_task to use getVarFlags
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
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.
Richard Purdie [Sun, 24 Feb 2008 11:25:23 +0000 (11:25 +0000)]
data_smart: Fix getVarFlags bug in data_smart
Richard Purdie [Sat, 23 Feb 2008 23:24:31 +0000 (23:24 +0000)]
bbimage: Update to reflect recent core changes
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
Richard Purdie [Tue, 22 Jan 2008 13:09:16 +0000 (13:09 +0000)]
git.py: Fix git branch tags fetching
Richard Purdie [Mon, 21 Jan 2008 10:13:36 +0000 (10:13 +0000)]
1.8.x: Fix MANIFEST in branch+release
Richard Purdie [Mon, 21 Jan 2008 10:04:52 +0000 (10:04 +0000)]
runqueue.py: Fix exit code for build failures in --continue mode
Richard Purdie [Sun, 20 Jan 2008 13:27:53 +0000 (13:27 +0000)]
Release bitbake 1.8.10
Michael 'Mickey' Lauer [Sun, 20 Jan 2008 13:22:59 +0000 (13:22 +0000)]
fetcher/git: remove debug output, add docstring
Richard Purdie [Sun, 20 Jan 2008 12:53:08 +0000 (12:53 +0000)]
persist_data.py: Add sqlite version checks
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)
Richard Purdie [Sat, 19 Jan 2008 18:56:40 +0000 (18:56 +0000)]
taskdata/runqueue.py: Make taskdata and runqueue errors more user friendly
Michael 'Mickey' Lauer [Fri, 18 Jan 2008 20:26:18 +0000 (20:26 +0000)]
add branch support to the git fetcher -- thanks Otavio Salvador.
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
Richard Purdie [Sun, 6 Jan 2008 23:50:56 +0000 (23:50 +0000)]
cooker.py: Fix -g option breakage from previous commits
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.
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)
Richard Purdie [Sun, 6 Jan 2008 13:13:02 +0000 (13:13 +0000)]
shell.py: Fix shell data updating problems (#1880)
Richard Purdie [Sun, 6 Jan 2008 12:37:38 +0000 (12:37 +0000)]
Fix shell showdata command (#3259)
Richard Purdie [Sun, 6 Jan 2008 10:59:05 +0000 (10:59 +0000)]
cooker.py: Add support for '-e target' (#3432)
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)
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.
Richard Purdie [Sat, 5 Jan 2008 23:58:56 +0000 (23:58 +0000)]
runqueue.py: Improve code comments
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
Richard Purdie [Sat, 1 Dec 2007 21:35:33 +0000 (21:35 +0000)]
Add selfstamp and lockfiles flags
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
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
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)
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.
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)
Richard Purdie [Mon, 22 Oct 2007 12:25:28 +0000 (12:25 +0000)]
data.py: Fix unexport handling (#3135)
Richard Purdie [Sun, 21 Oct 2007 23:33:01 +0000 (23:33 +0000)]
taskdata.py: Fix 'depends' flag splitting
Richard Purdie [Sun, 21 Oct 2007 23:11:16 +0000 (23:11 +0000)]
providers.py: Fix bogus preferred_version return values
Marcin Juszkiewicz [Sun, 7 Oct 2007 18:15:08 +0000 (18:15 +0000)]
runqueue: fix typo
Richard Purdie [Wed, 5 Sep 2007 21:08:54 +0000 (21:08 +0000)]
fetch/: Add mercurial (hg) fetcher 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)
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'
Richard Purdie [Wed, 5 Sep 2007 08:06:22 +0000 (08:06 +0000)]
fetch: Add bzr fetcher
Richard Purdie [Tue, 4 Sep 2007 22:46:26 +0000 (22:46 +0000)]
Add support for the syntax "export VARIABLE"
Richard Purdie [Sun, 2 Sep 2007 14:32:50 +0000 (14:32 +0000)]
BBHandler.py: Improve debug message
Richard Purdie [Sat, 25 Aug 2007 14:33:39 +0000 (14:33 +0000)]
svn.py: Handle paths in svn fetcher module parameter
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]
Richard Purdie [Fri, 24 Aug 2007 10:07:57 +0000 (10:07 +0000)]
providers.py: Fix regressions
Richard Purdie [Fri, 24 Aug 2007 08:27:56 +0000 (08:27 +0000)]
Changelog: Remove duplicates
Richard Purdie [Fri, 24 Aug 2007 08:11:10 +0000 (08:11 +0000)]
providers.py: Backport various providers fixed from trunk (+update Changelogs)
Richard Purdie [Fri, 24 Aug 2007 08:09:02 +0000 (08:09 +0000)]
cooker.py: Warn about malformed PREFERRED_PROVIDERS (#1072) [backport]
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]
Richard Purdie [Fri, 24 Aug 2007 08:06:58 +0000 (08:06 +0000)]
cooker.py Add support for BB_NICE_LEVEL option (#1627) [backport]
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
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
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.
Richard Purdie [Sat, 18 Aug 2007 14:46:31 +0000 (14:46 +0000)]
cooker.py: Only try to change terminal flags on terminals
Richard Purdie [Sat, 18 Aug 2007 14:43:20 +0000 (14:43 +0000)]
fetch/__init__.py: Don't create .lock files for local files
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)
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
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)
Richard Purdie [Fri, 17 Aug 2007 23:31:37 +0000 (23:31 +0000)]
bb/__init.py: Sort digraph output to make builds more reproducible
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)
Richard Purdie [Fri, 17 Aug 2007 23:25:14 +0000 (23:25 +0000)]
taskdata.py: Improve dump_data debugging code