LayerIndex/Checker

From Openembedded.org
Revision as of 11:48, 18 August 2020 by Dl9pf (talk | contribs)
Jump to: navigation, search

This is a project to increase the quality of the LayerIndex entries.

It uses existing tools and the guidelines documented e.g. in the BSP guides and in the existing tests/tooling.

Currently it does 3 things:

a) grep LAYERSERIES_COMPAT <layer>/conf/layer.conf

b) grep LAYERDEPENDS <layer>/conf/layer.conf

c) run layer check script: yocto-check-layer (from OE-core repo)


An example run is available on this page for 'dunfell' LayerIndex/Checker/dunfell


Next steps:

  • need help with:
    • Update layerindex to add field noting the layer passed the 'checker' (or however we will name it)
    • Expose api call to upload this for branch/layer/package combination
    • option: add field showing if the checker did run/run last
    • option: add field noting the error if it did not pass
  • will do myself
    • update script to work against api
    • will host runner for layers.openembedded.org (weekly/stable branches ... master does not make too much sense atm).