Bug 15221

Summary: Layerindex update cannot handle BBFILE_COLLECTIONS being the same for an updated layer (e.g. 'yocto' in meta-yocto and meta-poky)
Product: [Yocto Project Subprojects] Layer Index Reporter: Tim Orling <tim.orling>
Component: Layer IndexAssignee: Tim Orling <tim.orling>
Status: RESOLVED FIXED QA Contact: apoorv sangal <apoorvsangal>
Severity: normal    
Priority: Medium CC: konrad.scherer, randy.macleod
Version: 4.3.4   
Target Milestone: 5.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Tim Orling 2023-09-30 23:43:51 UTC
Example:
https://layers.openembedded.org/layerindex/updates/37986/

ERROR: Dependency meta-yocto of layer meta-toradex-demos does not have branch record for branch master

Likely this is because in the layerindex database, both meta-yocto and meta-poky have BBFILE_COLLECTIONS += "yocto"? The latest should win.

The code in question is:
https://git.yoctoproject.org/layerindex-web/tree/layerindex/recipeparse.py#n122
Comment 1 Tim Orling 2023-09-30 23:46:46 UTC
Other layer:branches are also reporting this error:
https://layers.openembedded.org/layerindex/updates/38029/


meta-toradex-demos dunfell
meta-toradex-demos master
meta-fsl-demos master
Comment 2 Tim Orling 2023-10-13 19:02:10 UTC
The same behavior can be seen for BBFILE_COLLECTIONS = 'xilinx' between the original meta-xilinx and the current meta-xilinx-core layers.

https://layers.openembedded.org/layerindex/updates/38165/