bitbake.git
9 years ago[parser] Move more methods to the ast scheme
Holger Freyther [Tue, 19 May 2009 08:52:18 +0000 (10:52 +0200)]
[parser] Move more methods to the ast scheme

9 years ago[parser] Move one more item to the ast
Holger Freyther [Tue, 19 May 2009 08:10:26 +0000 (10:10 +0200)]
[parser] Move one more item to the ast

9 years ago[parser] Move methodflags over to the ast
Holger Freyther [Tue, 19 May 2009 08:02:55 +0000 (10:02 +0200)]
[parser] Move methodflags over to the ast

9 years ago[parser] Build fix
Richard Purdie [Fri, 12 Feb 2010 17:45:51 +0000 (17:45 +0000)]
[parser] Build fix

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years ago[parser] Move more statements over the two phase AST
Holger Freyther [Tue, 19 May 2009 07:51:29 +0000 (09:51 +0200)]
[parser] Move more statements over the two phase AST

Create the data first, then evaluate on the data dict

9 years ago[parse] Change handling include through the AstNode
Holger Freyther [Tue, 19 May 2009 07:46:42 +0000 (09:46 +0200)]
[parse] Change handling include through the AstNode

Disable the recursively evaluating the statement for now
as it is causing problems.

9 years ago[parser] Call eval and remove non ast code
Holger Freyther [Tue, 19 May 2009 07:37:41 +0000 (09:37 +0200)]
[parser] Call eval and remove non ast code

9 years ago[parser] Call eval immeditaley to test this code
Holger Freyther [Tue, 19 May 2009 07:37:07 +0000 (09:37 +0200)]
[parser] Call eval immeditaley to test this code

9 years ago[parser] Prepare to cease out getFunc
Holger Freyther [Mon, 18 May 2009 18:03:50 +0000 (20:03 +0200)]
[parser] Prepare to cease out getFunc

getFunc is now a method of the data node, hopefully we can kill the other
version soon.

9 years ago[parser] Preserve include vs. require behaviour
Richard Purdie [Fri, 12 Feb 2010 14:41:28 +0000 (14:41 +0000)]
[parser] Preserve include vs. require behaviour

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years ago[parser] Firs set of AST nodes with construction and eval
Holger Freyther [Mon, 18 May 2009 17:50:14 +0000 (19:50 +0200)]
[parser] Firs set of AST nodes with construction and eval

First set of ConfHandling with AST nodes. The include can
use a speed up and things might need to be migrated... into
this class.

9 years ago[parser] Add documentation about usage of this code
Holger Freyther [Mon, 18 May 2009 17:53:53 +0000 (19:53 +0200)]
[parser] Add documentation about usage of this code

9 years ago[parser] Move the finalise into the ast as well
Holger Freyther [Mon, 18 May 2009 17:56:36 +0000 (19:56 +0200)]
[parser] Move the finalise into the ast as well

9 years ago[parser] Cary a Statement Node through the parsing
Holger Freyther [Mon, 18 May 2009 17:24:07 +0000 (19:24 +0200)]
[parser] Cary a Statement Node through the parsing

When parsing we will collect a number of statements
that can be evaluated...The plan is to be evaluate
things twice (old+new) and then compare the result,
it should be the same.

9 years ago[parser] Move evaluating into the ast class...
Holger Freyther [Fri, 12 Feb 2010 14:14:49 +0000 (14:14 +0000)]
[parser] Move evaluating into the ast class...

9 years agoproviders.py: sort eligible providers by DEFAULT_PREFERENCE
Bernhard Reutner-Fischer [Mon, 8 Feb 2010 17:50:33 +0000 (18:50 +0100)]
providers.py: sort eligible providers by DEFAULT_PREFERENCE

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
9 years agorunqueue.py: improve printing dependent tasks
Bernhard Reutner-Fischer [Mon, 8 Feb 2010 17:50:34 +0000 (18:50 +0100)]
runqueue.py: improve printing dependent tasks

Print names instead of Task-IDs (and not mentioning they're task ids).

Previously we printed e.g.:
Dependency loop #1 found:
  Task 89 (/there/src/oe/openembedded/recipes/busybox/busybox-native_1.15.2.bb, do_configure) (depends: Set([88, 282, 92, 87]))

Now we say
Dependency loop #1 found:
  Task 89 (/there/src/oe/openembedded/recipes/busybox/busybox-native_1.15.2.bb, do_configure) (dependent Task-IDs ['busybox-native, do_patch', 'update-rc.d, do_populate_staging', 'busybox-native, do_populate_staging', 'shasum-native.bb, do_populate_staging', 'busybox-native, do_unpack'])

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
9 years agotaskdata.py: fix typo in debug message
Bernhard Reutner-Fischer [Mon, 8 Feb 2010 17:49:49 +0000 (18:49 +0100)]
taskdata.py: fix typo in debug message

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
9 years agoproviders.py: commentary typo fix
Bernhard Reutner-Fischer [Mon, 8 Feb 2010 17:49:48 +0000 (18:49 +0100)]
providers.py: commentary typo fix

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
9 years agobuild.py: No need for this gross hack now (from Poky)
Richard Purdie [Wed, 27 Jan 2010 12:40:02 +0000 (12:40 +0000)]
build.py: No need for this gross hack now (from Poky)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agoBBHandler: pass lineno and fn to handleMethod
Khem Raj [Sat, 23 Jan 2010 03:23:00 +0000 (19:23 -0800)]
BBHandler: pass lineno and fn to handleMethod

* lineno and fn are needed in handleMethod
  to restore the functionality as it was before.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
9 years agobitbake: Don't import xmlrpc server unless needed
Richard Purdie [Fri, 22 Jan 2010 16:16:15 +0000 (16:16 +0000)]
bitbake: Don't import xmlrpc server unless needed

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agosetup.py: remove removed bbimage from installed scripts
Martin Jansa [Fri, 22 Jan 2010 13:20:18 +0000 (14:20 +0100)]
setup.py: remove removed bbimage from installed scripts

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agoparse_py/ConfHandler.py: missing colon after else
Martin Jansa [Fri, 22 Jan 2010 13:20:17 +0000 (14:20 +0100)]
parse_py/ConfHandler.py: missing colon after else

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agobin/bitbake: Add import server
Richard Purdie [Fri, 22 Jan 2010 09:00:44 +0000 (09:00 +0000)]
bin/bitbake: Add import server

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agocooker: Drop unneeded import
Richard Purdie [Fri, 22 Jan 2010 00:04:24 +0000 (00:04 +0000)]
cooker: Drop unneeded import

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agobbimage: Drop, nobody should be using that now as its pointless
Richard Purdie [Thu, 21 Jan 2010 23:53:43 +0000 (23:53 +0000)]
bbimage: Drop, nobody should be using that now as its pointless

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agobitbake: Fix UI failure exception handling with python 2.6
Richard Purdie [Thu, 21 Jan 2010 23:50:22 +0000 (23:50 +0000)]
bitbake: Fix UI failure exception handling with python 2.6

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agoknotty: Improve task failure message handling using the uihelper code
Richard Purdie [Thu, 21 Jan 2010 23:50:09 +0000 (23:50 +0000)]
knotty: Improve task failure message handling using the uihelper code

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agorunqueue.py: Use fcntl to make the worker pipes non-blocking
Richard Purdie [Thu, 21 Jan 2010 23:47:26 +0000 (23:47 +0000)]
runqueue.py: Use fcntl to make the worker pipes non-blocking

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
9 years agocontrib/vim: Update with the changes from Ricardo Salveti and other fixes.
Khem Raj [Thu, 21 Jan 2010 22:06:43 +0000 (14:06 -0800)]
contrib/vim: Update with the changes from Ricardo Salveti and other fixes.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agobitbake/event: If the server disappears, we just exit too
Richard Purdie [Thu, 21 Jan 2010 16:00:21 +0000 (16:00 +0000)]
bitbake/event: If the server disappears, we just exit too

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agorunqueue: When a task fails, make sure the server still processes events from other...
Richard Purdie [Thu, 21 Jan 2010 15:59:16 +0000 (15:59 +0000)]
runqueue: When a task fails, make sure the server still processes events from other workers

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoConfHandler: Fix require vs. include behaviour
Richard Purdie [Thu, 21 Jan 2010 13:14:25 +0000 (13:14 +0000)]
ConfHandler: Fix require vs. include behaviour

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years ago[parser] Move more stuff out the feeder
Holger Freyther [Sun, 17 May 2009 13:56:40 +0000 (15:56 +0200)]
[parser] Move more stuff out the feeder

10 years ago[parse] Move inherit handling to method
Holger Freyther [Sun, 17 May 2009 11:00:42 +0000 (13:00 +0200)]
[parse] Move inherit handling to method

10 years ago[parsers] Move out more functions
Holger Freyther [Sun, 17 May 2009 10:55:18 +0000 (12:55 +0200)]
[parsers] Move out more functions

10 years ago[parser] Move more stuff out to separate methods...
Holger Freyther [Sun, 17 May 2009 10:42:43 +0000 (12:42 +0200)]
[parser] Move more stuff out to separate methods...

10 years ago[parser] Move the handling of a method to a function
Holger Freyther [Sun, 17 May 2009 10:32:36 +0000 (12:32 +0200)]
[parser] Move the handling of a method to a function

We want to convert this into a proper AST. So move all
such operations to methods... Later change them to generate
a node... and create that node from here.

10 years ago[parse] Unify opening a file...
Holger Freyther [Sun, 17 May 2009 04:19:39 +0000 (06:19 +0200)]
[parse] Unify opening a file...

10 years ago[parser] Kill obtain/localpath from the parser
Holger Freyther [Sun, 17 May 2009 04:06:14 +0000 (06:06 +0200)]
[parser] Kill obtain/localpath from the parser

With obtain it was possible to use an existing fetcher to
download a bb or config file. In practive no one has used it
and it was likely broken in regard to depends_cache... Remove
it for now, simplfiy the code.

10 years agousermanual.xml: Add section for ?= var setting.
Theodore A. Roth [Mon, 2 Mar 2009 20:08:09 +0000 (12:08 -0800)]
usermanual.xml: Add section for ?= var setting.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoFix bb.plain and bb.warn function, initial patch from Petri Lehtinen <petri.lehtinen...
Richard Purdie [Thu, 21 Jan 2010 10:44:21 +0000 (10:44 +0000)]
Fix bb.plain and bb.warn function, initial patch from Petri Lehtinen <petri.lehtinen+bitbake-dev@inoi.fi>

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agogit: remove repodir usage after 57b3a9a86bf8c6940187c6a899cedbbbb484884a
Martin Jansa [Sat, 16 Jan 2010 21:58:15 +0000 (22:58 +0100)]
git: remove repodir usage after 57b3a9a86bf8c6940187c6a899cedbbbb484884a

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agorunqueue: Fix typo
Richard Purdie [Thu, 21 Jan 2010 10:26:32 +0000 (10:26 +0000)]
runqueue: Fix typo

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoImprove BBCLASSEXTEND handling for skipped packages and report better parsing statistics
Richard Purdie [Wed, 20 Jan 2010 12:16:40 +0000 (12:16 +0000)]
Improve BBCLASSEXTEND handling for skipped packages and report better parsing statistics

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agotaskdata: Improve error message if incorrectly formatted tasks are found (from poky)
Richard Purdie [Tue, 19 Jan 2010 15:31:52 +0000 (15:31 +0000)]
taskdata: Improve error message if incorrectly formatted tasks are found (from poky)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agodata_smart.py: Fix error where update-rc.d would not get added to the dependency...
Richard Purdie [Tue, 19 Jan 2010 15:30:22 +0000 (15:30 +0000)]
data_smart.py: Fix error where update-rc.d would not get added to the dependency tree (from Poky)

If there was a variable such as:

X_${Y}_append = "Z" The "Z" would be lost if X_${Y} was unset. This was due to a bug in the renameVar
function used by expandKeys().

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoBBHandler: Only add do_ prefix to tasks if its not already present (from Poky)
Richard Purdie [Tue, 19 Jan 2010 15:29:26 +0000 (15:29 +0000)]
BBHandler: Only add do_ prefix to tasks if its not already present (from Poky)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoproviders: Apply modified version of a patch from Martin Jansa <martin.jansa@gmail...
Richard Purdie [Tue, 19 Jan 2010 15:28:37 +0000 (15:28 +0000)]
providers: Apply modified version of a patch from Martin Jansa <martin.jansa@gmail.com> to allow wildcards at the end of PREFERRED_VERSION strings

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoDrop version requirement to 2.5 apart from XMLRPC mode
Richard Purdie [Tue, 19 Jan 2010 15:07:59 +0000 (15:07 +0000)]
Drop version requirement to 2.5 apart from XMLRPC mode

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agofetch: Add GIT_PROXY_COMMAND to runfetchcmd function
Richard Purdie [Tue, 19 Jan 2010 14:49:50 +0000 (14:49 +0000)]
fetch: Add GIT_PROXY_COMMAND to runfetchcmd function

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agobitdoc: Fixup against recent core changes
Richard Purdie [Tue, 19 Jan 2010 14:49:27 +0000 (14:49 +0000)]
bitdoc: Fixup against recent core changes

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agorunqueue.py: Improve IPC between worker threads and the server allowing proper event...
Richard Purdie [Tue, 19 Jan 2010 13:22:00 +0000 (13:22 +0000)]
runqueue.py: Improve IPC between worker threads and the server allowing proper event handling

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoui: Convert remaining event handlers to use isinstance
Richard Purdie [Tue, 19 Jan 2010 10:27:29 +0000 (10:27 +0000)]
ui: Convert remaining event handlers to use isinstance

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoevent.py: Convert to using pickle for events and isinstance in knotty UI handler
Richard Purdie [Tue, 19 Jan 2010 09:56:25 +0000 (09:56 +0000)]
event.py: Convert to using pickle for events and isinstance in knotty UI handler

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoserver/xmlrpc: Fix idle timeout handling and missing parameter
Richard Purdie [Tue, 19 Jan 2010 09:55:21 +0000 (09:55 +0000)]
server/xmlrpc: Fix idle timeout handling and missing parameter

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoevent.py: Drop unused events
Richard Purdie [Tue, 19 Jan 2010 09:53:51 +0000 (09:53 +0000)]
event.py: Drop unused events

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoevent.py: Pass the datastore to the fire command, don't build it into events
Richard Purdie [Tue, 19 Jan 2010 09:47:36 +0000 (09:47 +0000)]
event.py: Pass the datastore to the fire command, don't build it into events

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoserver: Improve idle handling timeouts
Richard Purdie [Mon, 18 Jan 2010 22:14:01 +0000 (22:14 +0000)]
server: Improve idle handling timeouts

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoAdd none server type to avoid xmlrpc in the default case
Richard Purdie [Mon, 18 Jan 2010 17:40:10 +0000 (17:40 +0000)]
Add none server type to avoid xmlrpc in the default case

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoMerge branch 'contrib-rday' of ssh://git@git.openembedded.net/bitbake
Richard Purdie [Mon, 18 Jan 2010 11:53:55 +0000 (11:53 +0000)]
Merge branch 'contrib-rday' of ssh://git@git.openembedded.net/bitbake

Conflicts:
doc/bitbake.1

10 years agoFix a couple copy-and-paste errors in fetcher comments.
Robert P. J. Day [Sat, 16 Jan 2010 17:45:39 +0000 (12:45 -0500)]
Fix a couple copy-and-paste errors in fetcher comments.

10 years ago"pserver" is not a valid type for a CVS fetch, it's now a possible
Robert P. J. Day [Sat, 16 Jan 2010 17:37:51 +0000 (12:37 -0500)]
"pserver" is not a valid type for a CVS fetch, it's now a possible
method instead.  This just gets rid of a historical holdover.

10 years agoFix an obvious copy-and-paste error in the documentation for a
Robert P. J. Day [Sat, 16 Jan 2010 09:51:59 +0000 (04:51 -0500)]
Fix an obvious copy-and-paste error in the documentation for a
local fetch, and remove the option for a "patch" type URL, since
patches use a "file" type URL.

10 years agoFix a number of obvious documentation typoes.
Robert P. J. Day [Sat, 16 Jan 2010 09:50:51 +0000 (04:50 -0500)]
Fix a number of obvious documentation typoes.

10 years agoRemove the now-obsolete reference to "bbread".
Robert P. J. Day [Sat, 16 Jan 2010 09:47:33 +0000 (04:47 -0500)]
Remove the now-obsolete reference to "bbread".

10 years agoFix typoes
Robert P. J. Day [Sat, 16 Jan 2010 09:37:55 +0000 (10:37 +0100)]
Fix typoes

10 years agoCorrect a number of misspellings of "seperate".
Robert P. J. Day [Wed, 13 Jan 2010 20:40:40 +0000 (15:40 -0500)]
Correct a number of misspellings of "seperate".

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
10 years agoSolidify server class creation
Richard Purdie [Thu, 14 Jan 2010 18:52:43 +0000 (18:52 +0000)]
Solidify server class creation

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years ago.gitignore: Ignore backup files
Richard Purdie [Fri, 18 Dec 2009 17:41:37 +0000 (17:41 +0000)]
.gitignore: Ignore backup files

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoMove xmlrpcserver.py into lib/bb/server as xmlrpc.py
Richard Purdie [Fri, 18 Dec 2009 17:41:21 +0000 (17:41 +0000)]
Move xmlrpcserver.py into lib/bb/server as xmlrpc.py

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agofetch: Clean up debug
Richard Purdie [Fri, 18 Dec 2009 17:08:41 +0000 (17:08 +0000)]
fetch: Clean up debug

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoEnable --ignore-deps options to access regular expression string
Guo Hongruan [Tue, 15 Dec 2009 09:10:13 +0000 (17:10 +0800)]
Enable --ignore-deps options to access regular expression string

1. Add a function named re_match_strings(target,strings), to match
   target using the string in strings which can be regular expression

10 years agogit: Allow fetching a single subdirectory from a git repository
Paul Eggleton [Mon, 14 Dec 2009 10:15:55 +0000 (10:15 +0000)]
git: Allow fetching a single subdirectory from a git repository

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agofetch/__init__.py: Remove uneeded debug
Richard Purdie [Mon, 14 Dec 2009 09:31:11 +0000 (09:31 +0000)]
fetch/__init__.py: Remove uneeded debug

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agogit.py: Trap empty return values and error (from Poky)
Richard Purdie [Mon, 14 Dec 2009 09:23:56 +0000 (09:23 +0000)]
git.py: Trap empty return values and error (from Poky)

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agofetch/git.py: Add fullclone parameter to allow WORKDIRs to contain full git repositor...
Richard Purdie [Mon, 14 Dec 2009 09:22:27 +0000 (09:22 +0000)]
fetch/git.py: Add fullclone parameter to allow WORKDIRs to contain full git repositories (from Poky)

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agofetch/git.py: Move variable init into the localpath function
Richard Purdie [Mon, 14 Dec 2009 09:20:49 +0000 (09:20 +0000)]
fetch/git.py: Move variable init into the localpath function

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agocooker.py: Fix variable name: targets doesn't exist, should be item
Richard Purdie [Sun, 22 Nov 2009 00:10:08 +0000 (00:10 +0000)]
cooker.py: Fix variable name: targets doesn't exist, should be item

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agofetch/git.py: BB_GIT_CLONE_FOR_SRCREV updates
Richard Purdie [Sun, 22 Nov 2009 00:04:45 +0000 (00:04 +0000)]
fetch/git.py: BB_GIT_CLONE_FOR_SRCREV updates

Based on a patch from Martin Jansa <Martin.Jansa@gmail.com>:

* Add a _sortable_buildindex attribute and return the index separate from
  the revision
* This means the git.py internal cache is no longer needed
* Adds the returned value to the cache so if the mechanism for
  selecting the index changes, the values increase.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agofetch/__init__.py: Replace _sortable_revision_valid attribute with an init call for...
Richard Purdie [Sat, 21 Nov 2009 23:38:18 +0000 (23:38 +0000)]
fetch/__init__.py: Replace _sortable_revision_valid attribute with an init call for fetchers to clean up logic

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoOptional LOCALCOUNT for recipe
Martin Jansa [Tue, 17 Nov 2009 07:24:52 +0000 (08:24 +0100)]
Optional LOCALCOUNT for recipe

* Instead of autoincrement from persistent cache when srcrev is changed.
* Should be used by distributions with multiple builders, where consistent
  PV is needed.
* Can be used instead of PR bump in PVs like this "0.0+${PR}+gitr${SRCPV}"
* BB_LOCALCOUNT_OVERRIDE to enable setting LOCALCOUNT for recipe
* This way LOCALCOUNTs can be specified directly in recipes instead of
  separated distro config (as not all want to use them). And will be
  used only when BB_LOCALCOUNT_OVERRIDE set in distro config.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoutils.py: add special handling for version delimiters
Denys Dmytriyenko [Mon, 12 Oct 2009 04:00:47 +0000 (04:00 +0000)]
utils.py: add special handling for version delimiters

Make version comparison work properly for pre-releases and release-candidates,
when there is an extra suffix in the field, such as:
PV = "2.6.29+2.6.30-rc5-${PR}+gitr${SRCREV}"

More details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/26691

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agofetch/__init__.py: Allow SRC_URI to be overridden in fetcher go() function
Richard Purdie [Fri, 6 Nov 2009 16:34:35 +0000 (16:34 +0000)]
fetch/__init__.py: Allow SRC_URI to be overridden in fetcher go() function

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agoproviders.py: Fix package sorting order to reflect priorities
Chris Conroy [Mon, 21 Sep 2009 20:07:40 +0000 (16:07 -0400)]
providers.py: Fix package sorting order to reflect priorities

I found that the code that sorts packages does not respect the priority
order.

By iterating over sortpkg_pn.keys() instead of pkg_pn.keys(), it
produces the expected order based on the priorities I have set.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agogit.py: Search mirrors for tarballs before fetching, not just local directories
Richard Purdie [Wed, 4 Nov 2009 00:47:09 +0000 (00:47 +0000)]
git.py: Search mirrors for tarballs before fetching, not just local directories

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agofetch/__init__.py: Try and make the sortable_revision code mode readable
Richard Purdie [Wed, 4 Nov 2009 00:42:17 +0000 (00:42 +0000)]
fetch/__init__.py: Try and make the sortable_revision code mode readable

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agoBBHandler.py: Use exec_func, not exec_func_python
Richard Purdie [Tue, 3 Nov 2009 22:19:40 +0000 (22:19 +0000)]
BBHandler.py: Use exec_func, not exec_func_python

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agoImprove anonymous python function handling sp functions use the methodpool and are...
Richard Purdie [Sat, 17 Oct 2009 19:15:21 +0000 (20:15 +0100)]
Improve anonymous python function handling sp functions use the methodpool and are no longer concatenated

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agofetch/svk: Fix up breakage. Evidently nobody uses svk
Richard Purdie [Fri, 23 Oct 2009 09:39:43 +0000 (10:39 +0100)]
fetch/svk: Fix up breakage. Evidently nobody uses svk

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agobuild.py: Make sure the logfile exists before checking its size. Previously this...
Richard Purdie [Fri, 23 Oct 2009 09:25:30 +0000 (10:25 +0100)]
build.py: Make sure the logfile exists before checking its size. Previously this broke upon recursive calls.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoAdd hg fetcher auto revisioning, patch from Carl Simonson <simonsonc@gmail.com>
Richard Purdie [Fri, 23 Oct 2009 09:23:25 +0000 (10:23 +0100)]
Add hg fetcher auto revisioning, patch from Carl Simonson <simonsonc@gmail.com>

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agofetch/__init__.py: Fix a bug where errors could corrupt bitbake internal state wrt...
Richard Purdie [Sat, 17 Oct 2009 18:48:34 +0000 (19:48 +0100)]
fetch/__init__.py: Fix a bug where errors could corrupt bitbake internal state wrt SRCREVINACTION (from Poky)

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agofetch/__init__.py: Remove hardcoded use of SRC_URI - OE.dev was adjusted for this...
Richard Purdie [Sat, 17 Oct 2009 18:46:48 +0000 (19:46 +0100)]
fetch/__init__.py: Remove hardcoded use of SRC_URI - OE.dev was adjusted for this a long time ago (from Poky)

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agoBBHandler: Drop unused internal __functions__ variable
Richard Purdie [Sat, 17 Oct 2009 18:30:34 +0000 (19:30 +0100)]
BBHandler: Drop unused internal __functions__ variable

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agoknotty: Add new event from compare reivions code
Richard Purdie [Sat, 17 Oct 2009 18:29:48 +0000 (19:29 +0100)]
knotty: Add new event from compare reivions code

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agobuild.py: Optimisation to remove zero sized log files (from Poky)
Richard Purdie [Sat, 17 Oct 2009 18:28:35 +0000 (19:28 +0100)]
build.py: Optimisation to remove zero sized log files (from Poky)

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agorunqueue.py: Small optimisation in set creation removing an update call (from Poky)
Richard Purdie [Sat, 17 Oct 2009 18:27:31 +0000 (19:27 +0100)]
runqueue.py: Small optimisation in set creation removing an update call (from Poky)

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
10 years agocache.py: Add check for leakage of SRCREVINACTION variable (from Poky)
Richard Purdie [Sat, 17 Oct 2009 18:05:57 +0000 (19:05 +0100)]
cache.py: Add check for leakage of SRCREVINACTION variable (from Poky)

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>