Bug 14982

Summary: Some layers in the layerindex data have breaking subdirectory changes in "master" branch
Product: [Yocto Project Subprojects] Layer Index Reporter: Tim Orling <tim.orling>
Component: Layer Index MetadataAssignee: Tim Orling <tim.orling>
Status: RESOLVED FIXED QA Contact: apoorv sangal <apoorvsangal>
Severity: normal    
Priority: Medium+ CC: konrad.scherer, randy.macleod, tgamblin, tim.orling
Version: unspecified   
Target Milestone: 5.0 M3   
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 2022-12-08 15:56:29 UTC
Examples from https://layers.openembedded.org/layerindex/updates/35728/:

ERROR: Subdirectory for layer e100-bsp does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Failed to get last revision for layer e100-bsp on branch master
ERROR: conf/layer.conf not found for layer meta-hipos - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-browser - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-ros - is subdirectory set correctly?
ERROR: Subdirectory for layer meta-mel does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-luneos-backports-2-8 does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-mel-support does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-mentor-staging does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: conf/layer.conf not found for layer meta-ivi-demo - is subdirectory set correctly?
ERROR: Subdirectory for layer e300-bsp does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Failed to get last revision for layer e300-bsp on branch master
ERROR: Subdirectory for layer meta-agl does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: conf/layer.conf not found for layer meta-resin-jethro - is subdirectory set correctly?
ERROR: Subdirectory for layer meta-resin-raspberrypi does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-resin-ts does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-resin-qemu does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-resin-odroid does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-resin-genericx86 does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-resin-fsl-arm does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-resin-edison does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-resin-beaglebone does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-resin-artik does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: Subdirectory for layer meta-optee does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: conf/layer.conf not found for layer meta-gplv2 - is subdirectory set correctly?
ERROR: Subdirectory for layer meta-mender-toradex-nxp does not exist on branch master - if this is legitimate, the layer branch record should be deleted
ERROR: conf/layer.conf not found for layer meta-xperia - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-st-stm32mp - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-coral - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-zephyr - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-dts - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-dts-distro - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-zephyr - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-tq - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-zephyr - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-dts - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-dts-distro - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-ros - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-ros - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-ros - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-ros - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-ros - is subdirectory set correctly?
ERROR: conf/layer.conf not found for layer meta-coral - is subdirectory set correctly?
Comment 1 Tim Orling 2022-12-08 15:59:58 UTC
We could use some help from Paul or the Wind River layerindex folks to describe/document the approach(es) to fix these errors.
Comment 2 Randy MacLeod 2022-12-08 16:04:41 UTC
Konrad, do we have an approach to cleaning up obsolete meta-data that we can share with Yocto?
Comment 3 Randy MacLeod 2023-07-26 21:21:56 UTC
Bulk move of 64 bugs to 4.3 M3 after a quick review.
If a bug is actually fixed, please add a commit link and resolve it.
-- Randy for YP bug team.
Comment 4 Trevor Gamblin 2023-09-14 16:52:26 UTC
Moved to M4.
Comment 5 Randy MacLeod 2023-10-30 15:29:15 UTC
Bulk move to 5.0 M1. -- Randy
Comment 6 Randy MacLeod 2023-12-21 23:28:24 UTC
Bulk move of 52 5.0-M1 bugs to M2.
Comment 7 Randy MacLeod 2024-02-22 19:53:21 UTC
Bulk move of bugs from 5.0-M3 to 5.99.
The bugs in this list are all unassigned and are ones that I consider to be nice to do some time but not essential track from milestone to milestone in 5.0 or 5.1. We agreed on this bug handling approach in the YP bug review on Feb 22, 2024.

If you disagree, please move back to a 5.[012...]-M* milestone.
Comment 8 Tim Orling 2024-02-22 20:01:54 UTC
The specific layers that were trouble and why this bug was filed have now been fixed as part of the work funded by the Yocto Project members.

There will be on-going breakage of other specific layers. Hopefully folks will file bugs for them as they occur.
Comment 9 Tim Orling 2024-02-22 20:02:42 UTC
Also, layer maintainers need to continue to submit new sub-layers as they are created.