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).
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.
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
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).
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.
Richard Purdie [Thu, 4 Jan 2007 22:53:43 +0000 (22:53 +0000)]
taskqueue.py: Add tasks to be queried but not created
Marcin Juszkiewicz [Thu, 4 Jan 2007 11:09:36 +0000 (11:09 +0000)]
moved 'here comes the log' message back to proper place
Marcin Juszkiewicz [Thu, 4 Jan 2007 11:02:50 +0000 (11:02 +0000)]
build.by: Added option to limit amount of log lines displayed - close #97
- option is named BBINCLUDELOGS_LINES and is integer
- if option is set then logs are passed via 'tail' command
Marcin Juszkiewicz [Thu, 4 Jan 2007 10:33:42 +0000 (10:33 +0000)]
drop shebangs from lib/bb scripts
- those scripts are not called by hand by bitbake users
and most of package linting tools (lintian/Debian, rpmlint/Fedora)
complain about not executable scripts.
- if someone want to run them by hand then he will be able to do it
with calling 'python SCRIPT'
Marcin Juszkiewicz [Thu, 4 Jan 2007 10:28:09 +0000 (10:28 +0000)]
setup.py: use FHS compatible directories
Richard Purdie [Tue, 2 Jan 2007 17:28:49 +0000 (17:28 +0000)]
svn fetcher: Don't have a date in the filename for specific svn revisions
Holger Hans Peter Freyther [Fri, 8 Dec 2006 20:51:04 +0000 (20:51 +0000)]
Add proper GPLv2 headers to all BitBake files
BitBake trunk is now GPLv2 only, no mix of
MIT,FreeBSD License is left.
Update GPL headers to point to the correct
address of the FSF
Update the list of authors. Uli Luckas,
Seb Frankengul and Tim Amsell contributed to
the sourcecode as well
Holger Hans Peter Freyther [Fri, 8 Dec 2006 20:46:42 +0000 (20:46 +0000)]
Update the GPL to the current version of the FSF
Update the address of the FSF
Holger Hans Peter Freyther [Fri, 8 Dec 2006 20:43:38 +0000 (20:43 +0000)]
Remove the first attempt to integrate Marc's flex/lemon
Remove the first C implementation. I'm too lazy to
create proper license headers for what will be replaced
with the bitbake-parser code soon(tm).
Richard Purdie [Wed, 6 Dec 2006 22:45:39 +0000 (22:45 +0000)]
cooker.py: Clean up pkgs_to_build handling
Richard Purdie [Wed, 6 Dec 2006 22:27:35 +0000 (22:27 +0000)]
bitbake: Move cooker from bin/bitbake to lib/bb/cooker.py
Richard Purdie [Wed, 6 Dec 2006 20:13:21 +0000 (20:13 +0000)]
runqeue.py: Send SIGINT, not SIGTERM when ending tasks. Use process groups to ensure all children are terminated.
Richard Purdie [Wed, 6 Dec 2006 20:12:23 +0000 (20:12 +0000)]
fetch/__init__.py: Have getSrcDate process an optional srcdate parameter within the url
Richard Purdie [Wed, 6 Dec 2006 20:10:31 +0000 (20:10 +0000)]
Fix docs typo (from ross@o-hand.com)
Richard Purdie [Thu, 30 Nov 2006 09:29:02 +0000 (09:29 +0000)]
bin/bitbake: Fix incorrect variable reference
Richard Purdie [Thu, 30 Nov 2006 09:15:18 +0000 (09:15 +0000)]
shell.py: Fix typo (thanks to pH5 for spotting)
Richard Purdie [Wed, 29 Nov 2006 23:09:18 +0000 (23:09 +0000)]
fix typo
Richard Purdie [Wed, 29 Nov 2006 22:54:28 +0000 (22:54 +0000)]
bin/bitbake: Update generateDotGraph to use taskData/runQueue correcting the dependency graphs. depends.dot now includes both rdepends and depends, all-depends.dot isn't generated and a new comprehensive task-depends.dot is generated.
Richard Purdie [Sat, 25 Nov 2006 21:54:27 +0000 (21:54 +0000)]
data.py: Revert inherits_class change - merge error :-(
Richard Purdie [Sat, 25 Nov 2006 21:47:30 +0000 (21:47 +0000)]
data.py: Fix inherits_class() so it doesn't split lists. Add unexport handling to emit_env.
Richard Purdie [Sat, 25 Nov 2006 21:45:33 +0000 (21:45 +0000)]
runqueue: Avoid running task sanity checks upon task failure
Richard Purdie [Sat, 25 Nov 2006 21:44:14 +0000 (21:44 +0000)]
data_smart: Micro optimisation - search for "${" instead of "$"
Richard Purdie [Sat, 25 Nov 2006 21:39:59 +0000 (21:39 +0000)]
BBHandle: Remove unused __bbpath_found__ variable
Richard Purdie [Sat, 25 Nov 2006 21:37:09 +0000 (21:37 +0000)]
fetch/__init__.py: Store urldata by 'FILE' to solve url contamination between .bb files
Richard Purdie [Wed, 22 Nov 2006 10:14:03 +0000 (10:14 +0000)]
git.py: Fix typo (from koen)
Marcin Juszkiewicz [Sun, 19 Nov 2006 18:40:16 +0000 (18:40 +0000)]
AUTHORS: added myself
Marcin Juszkiewicz [Sun, 19 Nov 2006 18:39:35 +0000 (18:39 +0000)]
svn fetcher: added my (C) as this is code which I wrote in 2004 (pre-bitbake times)
http://oe-devel.bkbits.net:8080/oe.deprecated/cset%401.780
Marcin Juszkiewicz [Sun, 19 Nov 2006 16:17:34 +0000 (16:17 +0000)]
added bitbake manpage based on --help output
Richard Purdie [Sun, 19 Nov 2006 11:05:58 +0000 (11:05 +0000)]
BBHandle.py: Instead of iterating through data.keys(d) calling getVarFlag each time, memorise the list of handlers in __BBHANDLERS and tasks in __BBTASKS. Against 600 .bb files in poky, this removes 2 million function calls in total of which 700,000 were to getVarTask resulting in a 5-10% speedup
Holger Hans Peter Freyther [Sat, 18 Nov 2006 21:18:14 +0000 (21:18 +0000)]
Hack to avoid 3 million key expansions by a simple string match
Richard Purdie [Sat, 18 Nov 2006 20:52:25 +0000 (20:52 +0000)]
ConfHandler, BBHandler: Optmise number of expand calls
Holger Hans Peter Freyther [Sat, 18 Nov 2006 17:01:36 +0000 (17:01 +0000)]
bitbake/ old parser: Compile all anonfuncs at once!
This gives a small speed-up and forces anonfuncs
to follow the same spacing/et/noet settings
Richard Purdie [Sat, 18 Nov 2006 15:47:42 +0000 (15:47 +0000)]
runqueue.py: Change failed tasks handling so all failed tasks are reported, not just the first. Also add signal handling so Ctrl+C only interrupts the main tasks upon the first keypress, the second keypress sends SIGTERM to all children
Holger Hans Peter Freyther [Fri, 17 Nov 2006 22:10:41 +0000 (22:10 +0000)]
Remember that we have compiled and added this file.
This reduces the time of the new parser from 2:42 to
1:6. The old one takes 1:42 on this macbook here
Holger Hans Peter Freyther [Fri, 17 Nov 2006 14:53:46 +0000 (14:53 +0000)]
Micro-Optimisation for parsing. Do not join and split the inherit_cache over and over again
Richard Purdie [Thu, 16 Nov 2006 20:15:42 +0000 (20:15 +0000)]
runqueue.py: Enhance dependency chain debug messages
Richard Purdie [Wed, 15 Nov 2006 23:20:29 +0000 (23:20 +0000)]
bin/bitbake: Improve -b error message
Richard Purdie [Tue, 14 Nov 2006 21:13:56 +0000 (21:13 +0000)]
tastdata.py: Minor speedup
Richard Purdie [Tue, 14 Nov 2006 21:12:05 +0000 (21:12 +0000)]
cache.py: Share the parser's mtime_cache, reducing the number of stat syscalls
Richard Purdie [Tue, 14 Nov 2006 15:09:11 +0000 (15:09 +0000)]
git.py: Fix conversion error
Richard Purdie [Tue, 14 Nov 2006 10:23:27 +0000 (10:23 +0000)]
taskqueue/runqueue.py: Remove matches_in_list and both_contain functions and use tasks_lookup instead - 33% speedup for world runqueue calculation
Richard Purdie [Tue, 14 Nov 2006 09:40:33 +0000 (09:40 +0000)]
runqueue.py: Catch EventException and don't print a backtrace
Richard Purdie [Tue, 14 Nov 2006 02:29:44 +0000 (02:29 +0000)]
taskdata.py: Stop failed dependencies being added back into taskData. Improve multiple provders messages
Richard Purdie [Mon, 13 Nov 2006 22:47:00 +0000 (22:47 +0000)]
Add perforce fetcher from Jordan Crouse, suitably modified for recent bitbake changes
Richard Purdie [Mon, 13 Nov 2006 15:30:21 +0000 (15:30 +0000)]
runqueue.py: Fix inverted logic. Less speed, more haste.
Richard Purdie [Mon, 13 Nov 2006 15:26:40 +0000 (15:26 +0000)]
runqueue.py: Fix indentation
Richard Purdie [Mon, 13 Nov 2006 15:20:30 +0000 (15:20 +0000)]
runqueue.py: Improve handling of zero length task lists in -k case
Richard Purdie [Mon, 13 Nov 2006 00:19:15 +0000 (00:19 +0000)]
Bump to version 1.7.4
Richard Purdie [Mon, 13 Nov 2006 00:18:18 +0000 (00:18 +0000)]
providers.py: Make PREFERRED_PROVIDER_foobar defaults to foobar if available
Richard Purdie [Sun, 12 Nov 2006 23:59:27 +0000 (23:59 +0000)]
runqueue.py: Avoid errors in builds with build failures when using -k option
Richard Purdie [Sun, 12 Nov 2006 23:58:26 +0000 (23:58 +0000)]
runqueue.py: Have recrdeptask follow depends as well as rdepends (and rdepends of depends and depends of rdepends)
Richard Purdie [Sun, 12 Nov 2006 23:56:39 +0000 (23:56 +0000)]
taskdata.py: Add some extra debug to dump_data and optimise depid and rdepid to avoid duplicates
Richard Purdie [Sun, 12 Nov 2006 21:57:23 +0000 (21:57 +0000)]
taskdata.py: Add missing error message for unbuildable targets
Richard Purdie [Sun, 12 Nov 2006 19:35:57 +0000 (19:35 +0000)]
runqueue.py: Add sanity check for zero length task list
Richard Purdie [Sun, 12 Nov 2006 19:34:40 +0000 (19:34 +0000)]
runqueue.py: raise build failure exceptions instead of trapping them to allow stack traces to be seen
Richard Purdie [Sun, 12 Nov 2006 19:20:50 +0000 (19:20 +0000)]
bitbake: Add calls to expandKeys, fixing issues in bug #1294
Richard Purdie [Sun, 12 Nov 2006 19:18:18 +0000 (19:18 +0000)]
taskdata.py: Improve abort flag handling, fixing several bugs
Richard Purdie [Sun, 12 Nov 2006 18:25:48 +0000 (18:25 +0000)]
svk.py: Remove unused variables
Richard Purdie [Sun, 12 Nov 2006 18:12:17 +0000 (18:12 +0000)]
Fetchers: More cleanups, error handling fixes, fix SRCDATE handling to account for PN 'overrides'
Richard Purdie [Sun, 12 Nov 2006 17:21:07 +0000 (17:21 +0000)]
Fetchers: Add forcefetch method for handling of SRCDATE now or tag= Move md5 code from wget.py into the fetchre core. Start generating md5 stamps for all downloads including scm tarballs. When a download is accessed, touch the md5 file to allow easy creation of source mirrors
Richard Purdie [Sun, 12 Nov 2006 15:30:35 +0000 (15:30 +0000)]
fetchers: Only call createCopy and update_data after checking if the download already exists. Refactor parameters to wget's fetch_uri and make md5 a global urldata option.
Richard Purdie [Sun, 12 Nov 2006 15:15:31 +0000 (15:15 +0000)]
svn.py: Fix a references to date
Richard Purdie [Sun, 12 Nov 2006 15:10:51 +0000 (15:10 +0000)]
svn.py: Fix a reference to parm
Richard Purdie [Sun, 12 Nov 2006 15:03:40 +0000 (15:03 +0000)]
fetchers: Cleanup more variables
Richard Purdie [Sun, 12 Nov 2006 14:31:10 +0000 (14:31 +0000)]
fetchers: Remove check_for_tarball() in favour of try_mirror directly
Richard Purdie [Sun, 12 Nov 2006 14:25:28 +0000 (14:25 +0000)]
fetchers: Create a urldata object which is passed between the different url methods. Start to use this to remove duplicate code and duplicate function execution, simplifying the fetchers
Richard Purdie [Sun, 12 Nov 2006 00:12:32 +0000 (00:12 +0000)]
fetchers: Refactor interating through urls into the fetcher core (preparing for common md5/tarball stash code)
Richard Purdie [Sat, 11 Nov 2006 19:10:44 +0000 (19:10 +0000)]
Add ssh fetcher written by kergoth (from poky)
Richard Purdie [Fri, 10 Nov 2006 13:53:10 +0000 (13:53 +0000)]
data.py: Fix emit_env() to expand keynames as well as values
Richard Purdie [Thu, 9 Nov 2006 23:12:09 +0000 (23:12 +0000)]
Improve errors messages for required vs. inherited files
Holger Hans Peter Freyther [Thu, 9 Nov 2006 22:44:01 +0000 (22:44 +0000)]
lib/bb/parse/parse_py/BBHandler.py: Commit the parsed method at EOF
Make sure to commit the pending __body__ when we are
__inpython__. Currently sending '' lead to simply appending
it to the body.
We create a special LINE Number to indicate the EOF which
will lead to closing/comitting the code.
The side effects of this can be huge... I mean huge
Richard Purdie [Sun, 5 Nov 2006 11:14:56 +0000 (11:14 +0000)]
BBHandler.py: make inherit fail if the class doesn't exist (#1478)
Richard Purdie [Sat, 4 Nov 2006 19:06:40 +0000 (19:06 +0000)]
shell.py: Add support for the abort flag
Holger Hans Peter Freyther [Wed, 1 Nov 2006 11:18:27 +0000 (11:18 +0000)]
bitbake/trunk/bitbake: Add more files to the MANIFEST and make it work again
Holger Hans Peter Freyther [Wed, 1 Nov 2006 11:11:36 +0000 (11:11 +0000)]
BitBake: Tag 1.6.2 and 1.7.2 of BitBake
Richard Purdie [Sun, 29 Oct 2006 13:35:17 +0000 (13:35 +0000)]
cache.py: Allow version field in DEPENDS (ignored for now)
Richard Purdie [Sat, 21 Oct 2006 11:45:55 +0000 (11:45 +0000)]
bump 1.7 versions
Richard Purdie [Wed, 4 Oct 2006 08:12:55 +0000 (08:12 +0000)]
bin/bitbake: fix typo
Richard Purdie [Tue, 3 Oct 2006 22:45:05 +0000 (22:45 +0000)]
bin/bitbake: Move handle_data() into parse_bbfiles instead of the callback
Richard Purdie [Tue, 3 Oct 2006 22:39:12 +0000 (22:39 +0000)]
cache.py: Stop passing cooker around as its no longer needed
Richard Purdie [Tue, 3 Oct 2006 22:34:21 +0000 (22:34 +0000)]
parse_py/ConfHandler.py: Remove broken default options (as identified by mithro)
Richard Purdie [Tue, 3 Oct 2006 22:32:55 +0000 (22:32 +0000)]
data_smart.py: Add expand_cache, caching expanded data (but wiped on any write to the data) - gives a performance improvement
Chris Larson [Thu, 28 Sep 2006 18:36:47 +0000 (18:36 +0000)]
Minor bugfix in taskdata, the dump function was passing a list to bb.msg.debug where it expected a string. Use ', '.join() to create a string.
Richard Purdie [Sat, 16 Sep 2006 22:30:33 +0000 (22:30 +0000)]
taskdata.py: Remove a seemingly incorrect line of code fixing issues reported by pH5. This code was likely added for a reason so lets see what breaks...
Richard Purdie [Sat, 16 Sep 2006 14:27:25 +0000 (14:27 +0000)]
Fix -f force option when used without -b
Richard Purdie [Sat, 16 Sep 2006 14:26:35 +0000 (14:26 +0000)]
taskData.py: Only mark external targets as external
Richard Purdie [Fri, 15 Sep 2006 15:34:54 +0000 (15:34 +0000)]
cache.py: Don't error if a file doesn't exist, just mark the cache entry invalid
Richard Purdie [Thu, 14 Sep 2006 22:17:29 +0000 (22:17 +0000)]
taskqueue.py: Add a small cache for task ids for a big speed improvement
Richard Purdie [Thu, 14 Sep 2006 20:40:43 +0000 (20:40 +0000)]
runqueue.py: Convert Deps and RunDeps fields into sets, add debugging code for tracing indriect circular dependencies
Michael 'Mickey' Lauer [Mon, 11 Sep 2006 22:50:28 +0000 (22:50 +0000)]
* shell: fix 'which' command
* shell: use 'rebuild' task for implementing rebuild
Richard Purdie [Mon, 11 Sep 2006 11:46:32 +0000 (11:46 +0000)]
bin/bitbake: parse.handle must have an absolute path
Richard Purdie [Mon, 11 Sep 2006 11:34:00 +0000 (11:34 +0000)]
bitbake/lib/bb/shell.py:
bitbake/bin/bitbake:
Split collect_bbfiles into collect_bbfiles and parse_bbfiles
Allow -b option to accept an expression which uniquely identifies a .bb file instead of requiring a full path
Disable BBFILES support within .bb files (it was already non-functional)
Richard Purdie [Mon, 11 Sep 2006 11:28:08 +0000 (11:28 +0000)]
cache.py: The cache doesn't really need to know about any progress callback - adjust logging accordingly
Richard Purdie [Sun, 10 Sep 2006 22:02:58 +0000 (22:02 +0000)]
taskdata.py: Clean up mesage handling for unbuildable targets - log at debug level unless the target was directly requested
Richard Purdie [Sun, 10 Sep 2006 21:39:29 +0000 (21:39 +0000)]
build.py: Really fix debug_level references causing excessive debug output (s/general/default - thanks for spotting koen)