Bug 15238

Summary: Need to add classes-recipe and classes-global paths to BBClass model
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+    
Version: 4.3.4   
Target Milestone: 5.0   
Hardware: All   
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-10-15 19:41:28 UTC
https://git.yoctoproject.org/layerindex-web/tree/layerindex/models.py#n784

Only the 'classes' path is searched, but should also be searching 'classes-global' and 'classes-recipe' since:
https://git.openembedded.org/bitbake/commit/?id=f33ce7e742f46635658c400b82558cf822690b5e
Comment 2 Tim Orling 2024-02-01 03:07:19 UTC
Merged:

ac0ef05 layerindex/update_layer.py: enable classes-global,-recipe
38ec722 templates: add bbclasstype badge
c99a7be layerindex/views: add classes-recipe,-global
b71fff2 layerindex/recipeparse.py: extend bbclass regex
c2a8e07 layerindex/models: add BBClassRecipe BBClassGlobal

and deployed.