1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 17:39:31 +00:00
Files
poky/bitbake/lib/layerindexlib
Richard Purdie 89705a60f3 bitbake: data_smart: Don't pass unneeded datastore
The datastore is already available to this function internally so don't
also try and pass the datastore as a parameter. This is clearly broken
API when you look at the existing calls to it.

This then doesn't break the planned tinfoil data connector changes.

(Bitbake rev: af1654498ee5b47368a41dad2d2b7b6abc19ff15)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:01:03 +00:00
..
2020-01-19 13:31:05 +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