lib/bb/ui/crumbs/recipeselectionpage: fix type availabel->available

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
hob: enable sanity checks after launch

To ensure the users configuration is sanity tested enable the sanity
checks after the GUI has started but before any parsing is done.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
event.py: Add SanityCheck and SanityCheckPassed events

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hob: Add proxy setting into setting's md5

If user changed the proxy setting, we will reparse configuration because
it may need sanity check.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hob: Issue sanity check after parse is completed

In original scheme, sanity check is part of the parsing process. If a
sanity check fails, it means the parsing is failed and values in Hob
GUI may not correct.

With this commit, Hob will actively issue sanity_check() after the
parsing is completed.

This fixes [YOCTO #2361]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update version to 1.15.2 (correspdoning to Yocto 1.2 release)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
fetch2/git: Allow file:// URLs without checking for network access

Don't check for network access before grabbing the the current head,
cloning, or updating a clone when the protocol is 'file'.

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/fetch2: Fix spelling error in network access error message

Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/utils: Convert vercmp_string() to use vercmp internally

Having two different version comparision algorithms in bitbake has never seemed
like a sensible idea. Worryingly, they also return different results to each other.

The vercmp_string API is relatively unused with no users in OE-Core or BitBake
itself for example. This patch converts it to use vercmp internalls, bringing
consitency to the comparisions which is easy now we have other recently added
functions. Yes, this changes behaviour but in this case I'd prefer we were
consistent than having two different comparisions.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake: Add start of bitbake regression/self testing

This adds some basic unit testing for the codeparser and data store code. Many of
the actual test cases were taken from work by Chris Larson's OE-Signatures work but with
changes to adapt to the current bitbake APIs we need to test.

I also imported CoW tests written by Holger Freyther from the original bitbake-test
codebase: http://svn.berlios.de/wsvn/bitbake/trunk/bitbake-tests/tests/ and
some tests from the doctests that were removed in commit:
http://git.openembedded.org/bitbake/commit?id=3a11c2807972bbbddffde2fa67fc380d159da467

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/tests: Add missing __init__.py file

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/fetch2: Remove WORKDIR reference, should use passed parameter

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/fetch2: When unpacking, only use PATH variable if its set

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/fetch2/wget: Remove unnecessary use of OVERRIDES

This allows some simplifications of the function and is slightly faster.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/fetch2/wget: Remove unneeded function indirection and reindent

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/fetch2/wget: Add fallback/default wget commands

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/tests/fetch: Add simple http fetcher tests

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hob: Clear the building status if command failed

We may meet certain command failure during build time, for example,
out of memory. In this case, we need to clear the "building" status.

This fixes [YOCTO #2371]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hob: change the refresh icon speed to make it view clear

Because the arrow icon refresh so fast as the go backward by illusion, so adjust it slow.

[YOCTO #2335]

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hob: add original url show function with the tooltip hyperlink for user

When case about No browser, such as running in 'Build Appliance', user can't open
the hyper link, so add this work around for user. (Checking the browser is avaiable
or not is hard by different system and browser type)

[YOCTO #2340]

Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>