aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2010-02-12[parser] Move methodflags over to the astHolger Freyther
2010-02-12[parser] Build fixRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-12[parser] Move more statements over the two phase ASTHolger Freyther
Create the data first, then evaluate on the data dict
2010-02-12[parse] Change handling include through the AstNodeHolger Freyther
Disable the recursively evaluating the statement for now as it is causing problems.
2010-02-12[parser] Call eval and remove non ast codeHolger Freyther
2010-02-12[parser] Call eval immeditaley to test this codeHolger Freyther
2010-02-12[parser] Prepare to cease out getFuncHolger Freyther
getFunc is now a method of the data node, hopefully we can kill the other version soon.
2010-02-12[parser] Preserve include vs. require behaviourRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-12[parser] Firs set of AST nodes with construction and evalHolger Freyther
First set of ConfHandling with AST nodes. The include can use a speed up and things might need to be migrated... into this class.
2010-02-12[parser] Add documentation about usage of this codeHolger Freyther
2010-02-12[parser] Move the finalise into the ast as wellHolger Freyther
2010-02-12[parser] Cary a Statement Node through the parsingHolger Freyther
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.
2010-02-12[parser] Move evaluating into the ast class...Holger Freyther
2010-02-10providers.py: sort eligible providers by DEFAULT_PREFERENCEBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-10runqueue.py: improve printing dependent tasksBernhard Reutner-Fischer
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>
2010-02-10taskdata.py: fix typo in debug messageBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-10providers.py: commentary typo fixBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-01-27build.py: No need for this gross hack now (from Poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-26BBHandler: pass lineno and fn to handleMethodKhem Raj
* 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>
2010-01-22bitbake: Don't import xmlrpc server unless neededRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22parse_py/ConfHandler.py: missing colon after elseMartin Jansa
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-22cooker: Drop unneeded importRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21knotty: Improve task failure message handling using the uihelper codeRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21runqueue.py: Use fcntl to make the worker pipes non-blockingRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21bitbake/event: If the server disappears, we just exit tooRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21runqueue: When a task fails, make sure the server still processes events ↵Richard Purdie
from other workers Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21ConfHandler: Fix require vs. include behaviourRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21[parser] Move more stuff out the feederHolger Freyther
2010-01-21[parse] Move inherit handling to methodHolger Freyther
2010-01-21[parsers] Move out more functionsHolger Freyther
2010-01-21[parser] Move more stuff out to separate methods...Holger Freyther
2010-01-21[parser] Move the handling of a method to a functionHolger Freyther
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.
2010-01-21[parse] Unify opening a file...Holger Freyther
2010-01-21[parser] Kill obtain/localpath from the parserHolger Freyther
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.
2010-01-21Fix bb.plain and bb.warn function, initial patch from Petri Lehtinen ↵Richard Purdie
<petri.lehtinen+bitbake-dev@inoi.fi> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21git: remove repodir usage after 57b3a9a86bf8c6940187c6a899cedbbbb484884aMartin Jansa
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-21runqueue: Fix typoRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-20Improve BBCLASSEXTEND handling for skipped packages and report better ↵Richard Purdie
parsing statistics Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19taskdata: Improve error message if incorrectly formatted tasks are found ↵Richard Purdie
(from poky) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19data_smart.py: Fix error where update-rc.d would not get added to the ↵Richard Purdie
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>
2010-01-19BBHandler: Only add do_ prefix to tasks if its not already present (from Poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19providers: Apply modified version of a patch from Martin Jansa ↵Richard Purdie
<martin.jansa@gmail.com> to allow wildcards at the end of PREFERRED_VERSION strings Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19Drop version requirement to 2.5 apart from XMLRPC modeRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19fetch: Add GIT_PROXY_COMMAND to runfetchcmd functionRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19runqueue.py: Improve IPC between worker threads and the server allowing ↵Richard Purdie
proper event handling Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19ui: Convert remaining event handlers to use isinstanceRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19event.py: Convert to using pickle for events and isinstance in knotty UI handlerRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19server/xmlrpc: Fix idle timeout handling and missing parameterRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19event.py: Drop unused eventsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19event.py: Pass the datastore to the fire command, don't build it into eventsRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>