1*4882a593SmuzhiyunThe layerindexlib module is designed to permit programs to work directly 2*4882a593Smuzhiyunwith layer index information. (See layers.openembedded.org...) 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunThe layerindexlib module includes a plugin interface that is used to extend 5*4882a593Smuzhiyunthe basic functionality. There are two primary plugins available: restapi 6*4882a593Smuzhiyunand cooker. 7*4882a593Smuzhiyun 8*4882a593SmuzhiyunThe restapi plugin works with a web based REST Api compatible with the 9*4882a593Smuzhiyunlayerindex-web project, as well as the ability to store and retried a 10*4882a593Smuzhiyunthe information for one or more files on the disk. 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunThe cooker plugin works by reading the information from the current build 13*4882a593Smuzhiyunproject and processing it as if it were a layer index. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunTODO: 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun__init__.py: 19*4882a593SmuzhiyunImplement local on-disk caching (using the rest api store/load) 20*4882a593SmuzhiyunImplement layer index style query operations on a combined index 21*4882a593Smuzhiyun 22*4882a593Smuzhiyuncommon.py: 23*4882a593SmuzhiyunStop network access if BB_NO_NETWORK or allowed hosts is restricted 24*4882a593Smuzhiyun 25*4882a593Smuzhiyuncooker.py: 26*4882a593SmuzhiyunCooker - Implement recipe parsing 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun 29