Files
poky/bitbake/lib/layerindexlib
Joshua Watt 75f87db413 bitbake: logging: Make bitbake logger compatible with python logger
The bitbake logger overrode the definition of the debug() logging call
to include a debug level, but this causes problems with code that may
be using standard python logging, since the extra argument is
interpreted differently.

Instead, change the bitbake loggers debug() call to match the python
logger call and add a debug2() and debug3() API to replace calls that
were logging to a different debug level.

[RP: Small fix to ensure bb.debug calls bbdebug()]
(Bitbake rev: f68682a79d83e6399eb403f30a1f113516575f51)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
..
2020-01-19 13:31:05 +00:00

The layerindexlib module is designed to permit programs to work directly with layer index information. (See layers.openembedded.org...)

The layerindexlib module includes a plugin interface that is used to extend the basic functionality. There are two primary plugins available: restapi and cooker.

The restapi plugin works with a web based REST Api compatible with the layerindex-web project, as well as the ability to store and retried a the information for one or more files on the disk.

The cooker plugin works by reading the information from the current build project and processing it as if it were a layer index.

TODO:

init.py: Implement local on-disk caching (using the rest api store/load) Implement layer index style query operations on a combined index

common.py: Stop network access if BB_NO_NETWORK or allowed hosts is restricted

cooker.py: Cooker - Implement recipe parsing