bitbake.git
10 years agoAdd PERSISTENT_DIR to bitbake.conf, as bb.fetch requires it or CACHE.
Chris Larson [Wed, 22 Jul 2009 18:19:02 +0000 (11:19 -0700)]
Add PERSISTENT_DIR to bitbake.conf, as bb.fetch requires it or CACHE.

Signed-off-by: Chris Larson <clarson@mvista.com>
10 years agoKill unused projectdir in bb package.
Chris Larson [Mon, 20 Jul 2009 04:57:09 +0000 (21:57 -0700)]
Kill unused projectdir in bb package.

Signed-off-by: Chris Larson <clarson@mvista.com>
10 years agoFix msg usage in the moved utility functions.
Chris Larson [Sun, 19 Jul 2009 17:07:00 +0000 (10:07 -0700)]
Fix msg usage in the moved utility functions.

Signed-off-by: Chris Larson <clarson@kergoth.com>
10 years agoMove most utility functions from bb into bb.utils.
Chris Larson [Sun, 19 Jul 2009 17:05:52 +0000 (10:05 -0700)]
Move most utility functions from bb into bb.utils.

Signed-off-by: Chris Larson <clarson@kergoth.com>
10 years agoMove compat imports in the bb package to avoid circular dep issues.
Chris Larson [Sun, 19 Jul 2009 16:54:46 +0000 (09:54 -0700)]
Move compat imports in the bb package to avoid circular dep issues.

Signed-off-by: Chris Larson <clarson@kergoth.com>
10 years agoMove encodeurl, decodeurl into bb.fetch.
Chris Larson [Sun, 19 Jul 2009 16:51:29 +0000 (09:51 -0700)]
Move encodeurl, decodeurl into bb.fetch.

Signed-off-by: Chris Larson <clarson@kergoth.com>
10 years agoMove MalformedUrl, VarExpandError into appropriate modules.
Chris Larson [Sun, 19 Jul 2009 16:49:36 +0000 (09:49 -0700)]
Move MalformedUrl, VarExpandError into appropriate modules.

Signed-off-by: Chris Larson <clarson@kergoth.com>
10 years agoAdd FETCHCMD parameter for git
Martyn Welch [Tue, 26 Jan 2010 14:35:51 +0000 (14:35 +0000)]
Add FETCHCMD parameter for git

The Git fetcher currently hardwires the git command to "git". Allow the
path and any additional wrappers to the Git command to be provided via
FETCHCMD functionality, as with some of the other fetchers.

If FETCHCMD_git is not define in bitbake.conf, the fetcher defaults to "git".

Signed-off-by: Malcolm Crossley <malcolm.crossley@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
10 years agoRevert "providers.py: sort eligible providers by DEFAULT_PREFERENCE"
Richard Purdie [Tue, 16 Feb 2010 15:38:55 +0000 (15:38 +0000)]
Revert "providers.py: sort eligible providers by DEFAULT_PREFERENCE"

This breaks preferred providers functionality

This reverts commit ee9afccf33b220a21b74fab279925eeb4771249b.

10 years agofix invalid method and logic
Joshua Lock [Fri, 5 Feb 2010 12:41:08 +0000 (12:41 +0000)]
fix invalid method and logic

The previous bitbake change included an invalid method call and inverted logic.

(From Poky rev: 52cbb074235fc7b1bcd94bc1147c4607612fe701)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoTest premirrors and mirrors in checkstatus()
Joshua Lock [Fri, 5 Feb 2010 12:08:15 +0000 (12:08 +0000)]
Test premirrors and mirrors in checkstatus()

checkstatus() is used to ensure we can fetch a copy of each file, so it makes
sense to also test PREMIRRORS and MIRRORS in the method.

This patch adds calls to try_mirrors() to the Fetch.checkstatus() method and
changes the try_mirrors() method to take a check argument, which is False by
default. When check is True try_mirrors() will call a fetchers checkstatus()
with the replaced uri.

(From Poky rev: ec92133d6fc049b4b666d670d3ac263de5a1d103)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoFix try_mirrors() logic, was only trying the first mirror.
Joshua Lock [Thu, 4 Feb 2010 14:08:34 +0000 (14:08 +0000)]
Fix try_mirrors() logic, was only trying the first mirror.

The logic in try_mirrors() was buggy such that only the first entry in the
mirrors list was tried.

This patch fixes this. Thanks to Richard for the review.

(From Poky rev: c9fd126f64ec57cc0799ad03f32f509b5266e0ff)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoif PREMIRRORS set test for local file in FetchData.setup_localpath
Joshua Lock [Wed, 3 Feb 2010 16:08:09 +0000 (16:08 +0000)]
if PREMIRRORS set test for local file in FetchData.setup_localpath

When we are using PREMIRRORS it's possible a mirror in the local namespace
(some filesystem path, i.e. an NFS share) provides read-only files.
This is a perfectly valid scenario so this patch fixes bitbake so that for
such a scenario locapath is set to the files path rather than some child
of DL_DIR.

(From Poky rev: afe12428a9229b9a96f9e98c86d95786689aaf79)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoEnhance the fetchers' support for local mirrors
Joshua Lock [Tue, 2 Feb 2010 17:57:20 +0000 (17:57 +0000)]
Enhance the fetchers' support for local mirrors

Modify the try_mirrors() function to return the localpath of the fetched file
and update the data dictionary to reflect this.
Secondly the metadata files, lock and md5, should always be stored relative to
the ${DL_DIR} as it is possible that the localpath is a read-only directory,
for example in the scenario where there is a read-only file:// mirror.

(From Poky rev: b571168ac7716a8ee4bee98ba5c3b53f70a13118)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agounify mirror support and make it independant of the fetcher
Joshua Lock [Mon, 1 Feb 2010 16:56:16 +0000 (16:56 +0000)]
unify mirror support and make it independant of the fetcher

This patch serves two purposes. Firstly it unifies the concept of mirrors into
PREMIRRORS and MIRRORS. PREMIRRORS are tried before the SRC_URI defined in the
recipe whereas MIRRORS are tried only if that fails.
The tarball stash was conceptually inline with a PREMIRROR only with special
handling within the wget fetcher and therefore only worked with certain
fetch types.
Secondly the patch removes the need for individual fetch implementations to
worry about mirror handling.

With this patch, the base fetch implementation will first try to use a
PREMIRROR to fetch the desired object, if this fails the native fetch method
for the object will be tried and if this fails will try to fetch a copy from
one of the MIRRORS.

(From Poky rev: 0737552c1de18c64db8a5a52248a3e7b217f30aa)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years agoutils.py: Don't error if an exported environment variable is unset (i.e. None)
Richard Purdie [Fri, 12 Feb 2010 13:50:19 +0000 (13:50 +0000)]
utils.py: Don't error if an exported environment variable is unset (i.e. None)

(From Poky rev: 62c103ce0e154ee5bf6183987adc90fc6df154c6)

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
10 years ago[cache] copy instead of deepcopy in sync
Holger Freyther [Sun, 17 May 2009 03:59:06 +0000 (05:59 +0200)]
[cache] copy instead of deepcopy in sync

We only intend to modify the dict, no need to copy all
elements.

10 years ago[parse] In ast, make StatementGroup inherit list, and add a AstNode base class.
Chris Larson [Tue, 21 Jul 2009 19:00:29 +0000 (12:00 -0700)]
[parse] In ast, make StatementGroup inherit list, and add a AstNode base class.

Signed-off-by: Chris Larson <clarson@mvista.com>
10 years ago[parse] Use bb.which in resolve_file
Chris Larson [Sun, 19 Jul 2009 05:36:32 +0000 (22:36 -0700)]
[parse] Use bb.which in resolve_file

Signed-off-by: Chris Larson <clarson@kergoth.com>
10 years ago[parser] Make resolve_file only resolve the path
Holger Freyther [Tue, 19 May 2009 11:59:50 +0000 (13:59 +0200)]
[parser] Make resolve_file only resolve the path

Do not attempt to open the file in the resolve_file method
(a lot like bb.which... maybe bb.which can be used). This way
we don't need to open/close a file which we have already parsed.

10 years ago[parser] Cache parsed .inc and .bbclass files for a parse speedup
Holger Freyther [Tue, 19 May 2009 11:53:12 +0000 (13:53 +0200)]
[parser] Cache parsed .inc and .bbclass files for a parse speedup

Have a growing dict with .inc and .bbclass'es. This avoids to reparse
files we have already seen.

10 years ago[parser] prepare to cache some .bbcclass and .inc files
Holger Freyther [Tue, 19 May 2009 11:22:30 +0000 (13:22 +0200)]
[parser] prepare to cache some .bbcclass and .inc files

Our parser is shit but instead to replace it now we will see
how long we can drive the wave by caching parsed files. This
will not go through the feeder again but we can just reevaluate
the StatementGroup.

10 years ago[parser] Remove the "data" from feeder, evaluate after parsing a file
Holger Freyther [Tue, 19 May 2009 10:10:37 +0000 (12:10 +0200)]
[parser] Remove the "data" from feeder, evaluate after parsing a file

Evaluate the statements after having parsed one file. This is
referred to as "entwirren" and we can remove the direct evaluation
and postpone a bit, in the future we can use a cached copy instead
of parsing the original.

10 years ago[parse] Move vars_from_file from bb.parse.BBHandler into bb.parse.
Chris Larson [Tue, 21 Jul 2009 23:22:30 +0000 (16:22 -0700)]
[parse] Move vars_from_file from bb.parse.BBHandler into bb.parse.

Signed-off-by: Chris Larson <clarson@mvista.com>
10 years ago[parse] Don't use relative import of parse_py.
Chris Larson [Wed, 22 Jul 2009 18:09:25 +0000 (11:09 -0700)]
[parse] Don't use relative import of parse_py.

Signed-off-by: Chris Larson <clarson@mvista.com>
10 years ago[parse] Move the last method to the AST...
Holger Freyther [Tue, 19 May 2009 08:57:00 +0000 (10:57 +0200)]
[parse] Move the last method to the AST...

10 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

10 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

10 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

10 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>
10 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

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

10 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

10 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

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

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

10 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

10 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

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

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

10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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