]>
code.ossystems Code Review - openembedded-core.git/log
Cliff Brake [Wed, 16 Jun 2010 00:29:54 +0000 (17:29 -0700)]
remove return in finally statement
causes exceptions to not be handled after the finally statement
(Bitbake rev:
1a04610dea376340b9ea4c109f64995b4fd6ad02 )
Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 22:09:55 +0000 (15:09 -0700)]
cooker: Kill __getitem__ usage on exception objects (python 3 prep)
(Bitbake rev:
1239df8b82ddcd607630da5a888ca83051a22fa8 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 17:21:41 +0000 (10:21 -0700)]
Handle SystemExit and KeyboardInterrupt sanely when executing a command
(Bitbake rev:
17f40d036814e4abf6d87363fff7823c8c85c298 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 17:36:06 +0000 (10:36 -0700)]
Drop unnecessarly duplicated messages wrt FuncFailed
(Bitbake rev:
9ec9c0e560d4fa6df74a90f598f9db92713525a2 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 17:23:03 +0000 (10:23 -0700)]
knotty: use the future division to prep for 3.x
(Bitbake rev:
bd0edc19f691146e748b91255be7a5788a070de6 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 17:36:19 +0000 (10:36 -0700)]
Kill the unnecessary setVarFlag debugging message
(Bitbake rev:
ef8475796fbab4f76a72bbc106da4c35e3afe2e1 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 17:44:20 +0000 (10:44 -0700)]
knotty: stop freaking out and dying when bb.build has removed the empty logfile
(Bitbake rev:
2197182fe5837d74f1499c644e882e87cf035238 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 16:46:02 +0000 (09:46 -0700)]
Use bb.utils.mkdirhier in bb.cache to shut up the pending deprecation warning
(Bitbake rev:
0c885752d69e4108e2960d59ec1bd6c911dd141a )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 16:43:39 +0000 (09:43 -0700)]
Use PendingDeprecationWarning for functions moved from bb to bb.utils
This is necessary, as there has not yet been a release with the bb.utils
versions in place. We can't show them a deprecation warning when they can't
safely change it yet. Show a PendingDeprecationWarning until 1.10 releases
and OE requires it, then we can move to DeprecationWarning.
(Bitbake rev:
43700fa1ca1d2635de4ed46110057cb164ee82d1 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 14:47:16 +0000 (07:47 -0700)]
Start ditching fatal() calls in favor of raising appropriate exceptions
(Bitbake rev:
681b73fcc04e22e692ed61650ad53c800b64cace )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 15:05:33 +0000 (08:05 -0700)]
Drop the non-debug traceback suppressor, at this point I think it does more harm than good
(Bitbake rev:
2c66ddc2713061ba31363ea69c24944f4a7cd3a8 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Ryan Phillips [Tue, 8 Jun 2010 19:20:55 +0000 (14:20 -0500)]
Change wget fetcher to use the runfetchcmd
* Fixes proxy support to honor standard proxy environment variables.
* Quote environment variables
(Bitbake rev:
f84f382f340d6db15b9e5afb8c7c93969249a958 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 10 Jun 2010 02:26:21 +0000 (19:26 -0700)]
Show a traceback when a task fails due to an exception
(Bitbake rev:
5bb24832761bd518cb0249125f67939e0cbd0998 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Wed, 9 Jun 2010 16:06:57 +0000 (18:06 +0200)]
parser: fix harmless typo in variable name
s/absolsute/absolute/
(Bitbake rev:
837c84ce47c298316b941a5f3d2479bd2643686b )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 9 Jun 2010 00:03:34 +0000 (17:03 -0700)]
Fix the silent exit when the specified task doesn't exist
(Bitbake rev:
2b64afa107dc24db510d0001b6eb58f0d5913d2f )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 8 Jun 2010 20:20:35 +0000 (13:20 -0700)]
Move the output of no provider and multiple provider messages into the UI
(Bitbake rev:
36b980c16bf74b3c2066cc120f9f27e11f189a63 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 8 Jun 2010 19:28:36 +0000 (12:28 -0700)]
Reorganize the main exception handling so an attribute exception raised in the ui isn't misinterpreted
(Bitbake rev:
49b8bab706c59e93287f8540187b62ba3ece0a11 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 8 Jun 2010 18:42:49 +0000 (11:42 -0700)]
Make knotty ignore the NoProvider event
(Bitbake rev:
e07f759dae96c0819c35bb67e1da18ca361bb584 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 8 Jun 2010 15:01:16 +0000 (08:01 -0700)]
Don't tell the user we're sending SIGINT to the remaining 0 tasks
(Bitbake rev:
0b963e52eca0447d5bbfc87d826ad662fe940381 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Mon, 7 Jun 2010 18:50:05 +0000 (20:50 +0200)]
cooker: use time.strftime() instead of spawing sh with date
time.strftime() defaults to using time.localtime(), use that instead
of spawning "sh -c 'date +<FMT>'"
(Bitbake rev:
ec1f2773b4811b3beb52710120bb5a9b215c174e )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 4 Jun 2010 23:44:07 +0000 (16:44 -0700)]
Adjust the exception handling based on Cliff Brake's patch
Rather than printing the exception ourselves, might as well re-raise and let
the default exception handler do it for us.
(Bitbake rev:
acca7eb8450cbe30d65b5b266f1a642e7965df8a )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Robert P. J. Day [Thu, 3 Jun 2010 09:58:09 +0000 (05:58 -0400)]
Fix a couple typos in the CVS Fetcher section.
"DL_DIRS" -> "DL_DIR"
Remove superfluous trailing ">" after CVSDIR.
(Bitbake rev:
34f396e749303367e657911bf10c43086dff7552 )
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:42 +0000 (14:04 +0200)]
cache: do not chdir unnecessarily
previously we called chdir() twice for every target, this patch reduces
the amount of chdir() calls via openembedded master from some 16000 to
4.
(Bitbake rev:
fa45f5625e13a82bec70d5f10815f52fbe705166 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:41 +0000 (14:04 +0200)]
persist_data: cache connection and use cursor
Store database connection to persistent database in fetcher.
(Bitbake rev:
8a6876752b90efd81d92f0947bfc9527d8260969 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:40 +0000 (14:04 +0200)]
cache: use a set() for __depends
to make updating depends easier/more intuitive/eventually faster
(Bitbake rev:
f7c69462b8ba726861898817cc5b13174c78e35a )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:39 +0000 (14:04 +0200)]
cache: use max() to determine newest_mtime
(Bitbake rev:
c0cf85beda4cf8748fd270c037442cde7b98146b )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:38 +0000 (14:04 +0200)]
cache: use os.path ops instead of stat
(Bitbake rev:
09fe0d403c75229931c10eabc7eecc0dc60058fe )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 4 Jun 2010 20:10:00 +0000 (13:10 -0700)]
Make the file not found error actually useable.
(Bitbake rev:
1cfcbee014478eb129ed382c13622317412b036e )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:37 +0000 (14:04 +0200)]
fetch: commentary typo fix in fetcher_init()
(Bitbake rev:
b786f1f60fb50565295e7c8e979b471327d924f3 )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:36 +0000 (14:04 +0200)]
cache: fix typo in error message of cacheValidUpdate()
(Bitbake rev:
9937d5992d72104c670e069f4c46cc62a490e18f )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Bernhard Reutner-Fischer [Fri, 4 Jun 2010 12:04:35 +0000 (14:04 +0200)]
fetch: documentation typo fix
s/initilize/initialize/
(Bitbake rev:
1497dd0d5bc0cca0de7d0ee9d314287000a0c34d )
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Khem Raj [Wed, 5 May 2010 05:56:49 +0000 (22:56 -0700)]
fetch: Check for existence of tar file along with md5 signature
(Bitbake rev:
a5b1c0605328660de15bb8127b6f7d798c664d32 )
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 22 May 2010 23:36:08 +0000 (16:36 -0700)]
Revert "In expand, drop the unnecessary second regular expression match"
This reverts commit
05462fa7908fc22988b3dc9d376798d0a46ccb5a .
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 20 Apr 2010 21:23:18 +0000 (14:23 -0700)]
Don't emit vars starting with __, as those are internal
(Bitbake rev:
211f44ce0e15c7c419606e9ef3568d9cea6775b7 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 21 May 2010 20:08:44 +0000 (13:08 -0700)]
In expand, drop the unnecessary second regular expression match
(Bitbake rev:
05462fa7908fc22988b3dc9d376798d0a46ccb5a )
Signed-off-by: Imran Mehmood <imran_mehmood@mentor.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 21 Apr 2010 17:57:17 +0000 (10:57 -0700)]
Simplify _findVar a bit
(Bitbake rev:
b017acd39b811a00305002a8044e7d02e79f41d7 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 21 Apr 2010 23:47:10 +0000 (16:47 -0700)]
Fix major bug that slipped in when moving update_data
The root cause is, I was testing the use of renameVar() from finalize, in
order to get flags copied over when an override is applied, but renameVar
removes the original, whereas the old code did not do so. Going back to the
old method, will revisit the override/flags later on.
(Bitbake rev:
2f7c498abcf675e5b8de197d8056a0581670c2bd )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 21 Apr 2010 01:47:36 +0000 (18:47 -0700)]
Move a var definition in cooker.parse_next
(Bitbake rev:
1b378ddf3dc9b2aa5384e8b28945b63fc623a6a4 )
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 20 Apr 2010 22:56:20 +0000 (15:56 -0700)]
Enhance the expansion exception message
(Bitbake rev:
1cc11164a85a5b30d6b9184cb5a8f7f7ac1aaff2 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 20 Apr 2010 22:54:42 +0000 (15:54 -0700)]
For ${@}, run str() on the result
(Bitbake rev:
cf1a51eab11f645c95e5fa278221f78c129b9dd1 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 20 Apr 2010 20:44:06 +0000 (13:44 -0700)]
Allow emission of non-string objects in emit_var, instead running str() on it first
(Bitbake rev:
5b09e28cb4a2c6c99ad58e71fb803160922a7e1e )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 20 Apr 2010 20:51:35 +0000 (13:51 -0700)]
emit_env: clean up, iterate once
(Bitbake rev:
db718ec6f67c7c0d0efb4ba0b5b24384f707dcf5 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 20 Apr 2010 19:23:41 +0000 (12:23 -0700)]
Fix the debug level check in print_exception
(Bitbake rev:
9cb52edf9198fe6db735abbb61d0c4026c97a8d9 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 20 Apr 2010 18:53:31 +0000 (11:53 -0700)]
Don't try to expand non-string values
(Bitbake rev:
fe36a726b9f930bbd6fd758c0aee78559e95f02b )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 15 Apr 2010 15:45:15 +0000 (08:45 -0700)]
Move the python version check into the python package
This ensures the check is run for anyone using the package, including
setup.py, though it's sad that it's necessary, since all it really wants is
__version__.
Ideally, we'd avoid the version check entirely in favor of checking for
functionality, but that's rather difficult with language constructs like
context managers, so this'll do for now.
(Bitbake rev:
f936f1c0edf70860ea0f39ec1a500ba43b56f289 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 15 Apr 2010 15:14:53 +0000 (08:14 -0700)]
Drop an unnecessary second python version check and use the less ugly sys.version_info
(Bitbake rev:
8f4b7b10f8740a41c085beeca5105f15204b0979 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 15 Apr 2010 15:05:10 +0000 (08:05 -0700)]
Bump version to 1.11.0
(Bitbake rev:
6c89c332664a7789d02a701e7e530838ab778264 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 15 Apr 2010 14:49:54 +0000 (07:49 -0700)]
Move the python version check before the module imports, in case the modules utilize the newer python features
(Bitbake rev:
87c15dfcbeb10e7cafb14726209e4954671b3dbe )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 14 Apr 2010 21:38:18 +0000 (14:38 -0700)]
Search up the directory tree for bblayers.conf
(Bitbake rev:
1c6b31c649474b4c2b63ef9d9311e61de20bc8c2 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 14 Apr 2010 21:30:09 +0000 (14:30 -0700)]
Add a hack to avoid the req that all vars using LAYERDIR be immediately expanded
See the comment in the code for details.
(Bitbake rev:
849dbd63244cbc4eaca0f1beedbb67baca024629 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 14 Apr 2010 21:27:29 +0000 (14:27 -0700)]
Move the unset BBPATH sanity check after the bblayers processing
This way we can fully utilize bblayers, you can do everything in bblayers.conf
and avoid setting any environment variables at all.
(Bitbake rev:
5def1c8c31432968349f9b29d6333d7962260a8b )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 12 Apr 2010 15:14:11 +0000 (08:14 -0700)]
Kill unnecessary usages of the types module
types.IntType -> int
types.StringType -> basestring
...
Also moves our ImmutableTypes tuple into our own namespace.
(Bitbake rev:
83674a3a5564ecb1f9d2c9b2d5b1eeb3c31272ab )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 12 Apr 2010 00:03:55 +0000 (17:03 -0700)]
Apply some 2to3 transforms that don't cause issues in 2.6
(Bitbake rev:
d39ab776e7ceaefc8361150151cf0892dcb70d9c )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Mon, 12 Apr 2010 00:21:14 +0000 (17:21 -0700)]
Add __contains__ to COWDictMeta
(Bitbake rev:
b3b314aade1f0a04e888361e1ac946e5195e1509 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 11 Apr 2010 23:39:24 +0000 (16:39 -0700)]
Drop unused bb.data.expandData function
(Bitbake rev:
188af3ef5fdb5cd86b74147bf5eafc085ac489be )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 11 Apr 2010 05:07:43 +0000 (22:07 -0700)]
Ignore deprecation warnings for now
(Bitbake rev:
661fe59445161c5bc6a2e73b7fcbf9d20c492e27 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 11 Apr 2010 05:05:02 +0000 (22:05 -0700)]
Switch some references to moved functions
(Bitbake rev:
ddea2978cb969cf1381cfee5c055de0c9e56a4e3 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sun, 11 Apr 2010 05:04:52 +0000 (22:04 -0700)]
Add a missing import of print_function
(Bitbake rev:
30ae747cc5c733512e417c61fca23c0cd15b0e44 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 10 Apr 2010 02:46:14 +0000 (19:46 -0700)]
Apply the 2to3 print function transform
(Bitbake rev:
ff2e28d0d9723ccd0e9dd635447b6d889cc9f597 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 23:51:09 +0000 (16:51 -0700)]
Deprecate the usage of certain objects via certain modules
As an example, this displays a deprecation warning for the use of
"bb.encodeurl" when you should be using "bb.fetch.encodeurl". It includes a
convenience function for this purpose. It should be of use when moving
objects between modules permanently, changing the API the user sees.
(Bitbake rev:
78f56049ba863b2e585b89db12b32697eb879bbc )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 21:01:11 +0000 (14:01 -0700)]
Exception handling fixups
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 25 Mar 2010 00:05:38 +0000 (17:05 -0700)]
Add some missing docstrings
(Bitbake rev:
20b6f2d1d2d4541e612e8cffbdf1ca4822a3e394 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 18:51:29 +0000 (11:51 -0700)]
Drop __all__ usage
(Bitbake rev:
b4983cc7bfe5300c1d2904f34fb03d4fb2f41d90 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 8 Apr 2010 22:42:53 +0000 (15:42 -0700)]
Drop some unused functions
(Bitbake rev:
eb83df5bc7077685f314df01949cf06850e4693c )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 8 Apr 2010 22:16:17 +0000 (15:16 -0700)]
Drop some unused classes
(Bitbake rev:
5cc47a49518c69c94f8b78e9dda6d542ba17b1e8 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 18:47:08 +0000 (11:47 -0700)]
Drop some unused vars
(Bitbake rev:
b79ca5f1cc2d262de877047769ce25279ba26672 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 8 Apr 2010 17:22:29 +0000 (10:22 -0700)]
Import fixups
(Bitbake rev:
4fa052f426e3205ebace713eaa22deddc0420e8a )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 24 Mar 2010 23:56:12 +0000 (16:56 -0700)]
Formatting cleanups
(Bitbake rev:
2caf134b43a44dad30af4fbe33033b3c58deee57 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 18:49:36 +0000 (11:49 -0700)]
Drop doctest, as we aren't utilizing it
We should add back in some proper unit testing. Doctest is rather limited,
and we haven't actually made use of it since the original implementation of
the datastore when the project started, as far as I'm aware.
(Bitbake rev:
3a11c2807972bbbddffde2fa67fc380d159da467 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 22:56:14 +0000 (15:56 -0700)]
Don't run metadata event handlers for bb.msg events
(Bitbake rev:
297305b3742323d09d9ca58e958c4f18e945a148 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 10 Apr 2010 00:11:03 +0000 (17:11 -0700)]
Stop using functions via 'bb' that were moved from there to other modules
(Bitbake rev:
03a6c26f8da226f442c3cab557e4733f7cd6eeac )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 10 Apr 2010 02:34:07 +0000 (19:34 -0700)]
Add a function to get the debug level, without poking into debug_levels manually
(Bitbake rev:
6ccc01a1a72ec354de52fef2bf5620384b8461ce )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 10 Apr 2010 02:33:04 +0000 (19:33 -0700)]
Fix invalid logging domain warning
(Bitbake rev:
8441fab6f27191fcc3c153a10753871e6aef08b1 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 10 Apr 2010 02:29:56 +0000 (19:29 -0700)]
Bump minimum python version check to 2.6.
(Bitbake rev:
85c000cc7db47cfd489cf282c58db2dab0d87908 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 10 Apr 2010 02:27:21 +0000 (19:27 -0700)]
Make the default domain a proper domain, not a string
This lets you do -l Default on the commandline to bump the debug level of
messages with no domain, without bumping the level of everything else.
(Bitbake rev:
bef33dfc36713d8c93e38e63ddac2e4f9858e787 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 10 Apr 2010 02:22:52 +0000 (19:22 -0700)]
Implement bb.msg.domain as a named tuple, drop the Enum class
Also fixes some bb.msg references from within bb.msg.
(Bitbake rev:
db95af590f742c8186e84046ad9704fae1733720 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Sat, 10 Apr 2010 00:55:11 +0000 (17:55 -0700)]
Fix an error in the ncurses UI
(Bitbake rev:
90c68238cb62afa1c39e1d4fff1f418c9ec047e5 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 22:55:55 +0000 (15:55 -0700)]
Display python warnings via bb.msg
(Bitbake rev:
648415a562d92109c4945cb3cc98ed2ec44667a7 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 22:55:17 +0000 (15:55 -0700)]
Immediately display messages if no UI handlers are installed yet
(Bitbake rev:
17c414d0c050c42d4beb3f1dd84573020aacb392 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 20:25:58 +0000 (13:25 -0700)]
Use __import__ for the ui rather than exec
(Bitbake rev:
7d00bab300961431f9960cf6759966f608580bc0 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 20:25:34 +0000 (13:25 -0700)]
Fix the task event handling in the ncurses UI
(Bitbake rev:
50b7b817d418532583da3bad62a36fcefe3637a2 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 19:33:29 +0000 (12:33 -0700)]
Ensure we always utilize the correct messaging domains
(Bitbake rev:
92a2e2e90981c0615171abe03645a772d84f6986 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 8 Apr 2010 23:30:52 +0000 (16:30 -0700)]
bb.event: NotHandled and Handled are on the way out
(Bitbake rev:
ed35b30f8e09b0bfc15102fa6483c55d6b7d61de )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 8 Apr 2010 23:01:14 +0000 (16:01 -0700)]
Rename the finalise method for consistency
Apparently the finalise spelling is becoming less common in British English.
(Bitbake rev:
47449b2fc433e5725839ca4f7e9bca931a475838 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 8 Apr 2010 22:43:47 +0000 (15:43 -0700)]
Move update_data into the DataSmart class as a finalize() method
(Bitbake rev:
ff801397785567cb84b3615de86bff764d65decf )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Thu, 8 Apr 2010 22:11:28 +0000 (15:11 -0700)]
Initialize pkgs_to_build in the BBConfiguration constructor
(Bitbake rev:
69a3e4895b88110fd3a25167aa16cf7c00463175 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Fri, 9 Apr 2010 18:49:36 +0000 (11:49 -0700)]
Drop doctest, as we aren't utilizing it
We should add back in some proper unit testing. Doctest is rather limited,
and we haven't actually made use of it since the original implementation of
the datastore when the project started, as far as I'm aware.
(Bitbake rev:
3a11c2807972bbbddffde2fa67fc380d159da467 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Enrico Scholz [Sun, 21 Mar 2010 22:02:56 +0000 (23:02 +0100)]
Made '-b' work with BBCLASSEXTEND
When BBCLASSEXTEND is set, '-b' builds usually failed with messages
like
| ERROR: Parsing error data_fn virtual:native:<recipe>.bb and fn
<recipe>.bb don't match
|
| File ".../bb/providers.py", line 47, in sortPriorities
| priority = dataCache.bbfile_priority[f]
| KeyError: 'virtual:native:<recipe>.bb'
This patch fixes it and allows to specify the alternative class in a
way like
| ./bitbake -b virtual:native:<recipe>.bb
This patch was written to be so minimal as possible; variables should be
probably renamed to reflect their new meaning.
(Bitbake rev:
f1c7fe9fc12161ceb3fe201cde370b929b208729 )
Signed-off-by: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 6 Apr 2010 22:29:19 +0000 (15:29 -0700)]
Resurrect the old bb.vercmp as bb.utils.vercmp, and its deps
This is just for compatibility. We may drop it in the future, or rewrite it,
as it's not particularly pythonic.
(Bitbake rev:
c4e31d7fe1d15a1e3ef2a453e7c7812d403d22cb )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 6 Apr 2010 15:52:54 +0000 (08:52 -0700)]
Pass the config metadata into the Cache constructor rather than the cooker
Cache only uses the config metadata from the cooker, no need for the cooker itself.
(Bitbake rev:
bf58d43444642d31293a341ce72292003ca5c162 )
Signed-off-by: Chris Larson <clarson@kergoth.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 31 Mar 2010 16:14:18 +0000 (09:14 -0700)]
Resurrect merged anonfunc execution
(Bitbake rev:
0c2ed40277e157406ea25c858f14c3cebb73c21b )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 31 Mar 2010 15:52:41 +0000 (08:52 -0700)]
Add & utilize a simple_exec utility function
(Bitbake rev:
5ead16f14f996bcbb2fb14277b8ce5a9317b8160 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Wed, 31 Mar 2010 03:06:07 +0000 (20:06 -0700)]
Consolidate the exec/eval bits, switch anonfunc to better_exec, etc
The methodpool, ${@} expansions, anonymous python functions, event handlers
now all run with the same global context, ensuring a consistent environment
for them. Added a bb.utils.better_eval function which does an eval() with the
same globals as better_exec.
(Bitbake rev:
424d7e267b009cc19b8503eadab782736d9597d0 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 30 Mar 2010 23:59:46 +0000 (16:59 -0700)]
Pass an empty locals dict in expansion, since list comprehensions apparently leak their '_' helper variable
(Bitbake rev:
97da0cebbaf4dd1b46e58bd2e80cab6c007ae7c9 )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Chris Larson [Tue, 30 Mar 2010 23:21:23 +0000 (16:21 -0700)]
Two minor changes to the way python snippet expansion happens
- Use a single dictionary for the context, both global & local, since for some
reason it chokes wanting a global "d" rather than a local in the metadata.
- First compile the string into a code object before running eval, so we can
include the variable name in an evaluation error.
(Bitbake rev:
49534d928a37e0804ca84eed186cd22363023b2e )
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Nitin A Kamble [Mon, 21 Jun 2010 11:56:52 +0000 (04:56 -0700)]
linux-libc-headers: upgrade from 2.6.33 to 2.6.34
added a new patch to fix glibc build issue on powerpc
ppc_glibc_build_fix.patch
Added attribution to the hayes-gone.patch.
And updated the metadata variables like LICENSE & LIC_CHKSUM_FILES
And removing all the older recipes and related files
Change the linux-libc-header version inpoky-default.inc
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Kevin Tian [Wed, 30 Jun 2010 09:14:42 +0000 (17:14 +0800)]
dbus: fix metadata
Signed-off-by Kevin Tian <kevin.tian@intel.com>
Kevin Tian [Wed, 30 Jun 2010 08:35:09 +0000 (16:35 +0800)]
libgpg-error: fix metadata
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Kevin Tian [Wed, 30 Jun 2010 07:30:11 +0000 (15:30 +0800)]
module-init-tools: fix metadata
Signe-off-by: Kevin Tian <kevin.tian@intel.com>
Dongxiao Xu [Thu, 1 Jul 2010 09:12:37 +0000 (17:12 +0800)]
distro_tracking: Adding tracking fields for upgraded packages
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>