Add support for classes-global and classes-recipe
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | layerindex/models: add BBClassRecipe BBClassGloballayerindex/ layerindex/ | +83 | 0 replies | |
| 2/5 | layerindex/recipeparse.py: extend bbclass regexlayerindex/ | +2 | 0 replies | |
| 3/5 | layerindex/views: add classes-recipe,-globallayerindex/ | +2 | 0 replies | |
| 4/5 | templates: add bbclasstype badgetemplates/ templates/ | +8 | 0 replies | |
| 5/5 | layerindex/update_layer.py: enable classes-global,-recipelayerindex/ | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [layerindex-web][PATCH 0/5] Add support for classes-global and classes-recipe
Previously, only the 'classes' path was searched, but we should also be searching 'classes-global' and 'classes-recipe' since:
bitbake f33ce7e7
'BBHandler/cooker: Implement recipe and global classes'
and
oe-core f5c12800
'classes: Update classes to match new bitbake class scope functionality'
This requires changes not only in models.py, but also in recipeparse.py, update_layer.py and views.py.
While we are at it, add "Global" and "Recipe" 'badges' next to the class names in the appropriate class view templates.
[YOCTO #15238]
The following changes since commit 83378f2f9c881505027220a98514bcb933d82682:
global: deprecated pkg_resources parse_version (2024-01-22 16:08:37 -0800)
are available in the Git repository at:
https://github.com/moto-timo/layerindex-web timo/classes-global-recipe
https://github.com/moto-timo/layerindex-web/tree/timo/classes-global-recipe
Tim Orling (5):
layerindex/models: add BBClassRecipe BBClassGlobal layerindex/recipeparse.py: extend bbclass regex layerindex/views: add classes-recipe,-global
templates: add bbclasstype badge layerindex/update_layer.py: enable classes-global,-recipe
...obal_bbclassrecipe_bbclass_bbclass_type.py | 41 ++++++++++++++++++ layerindex/models.py | 43 ++++++++++++++++++- layerindex/recipeparse.py | 4 +- layerindex/update_layer.py | 19 ++++++-- layerindex/views.py | 3 +- templates/layerindex/classes.html | 5 ++- templates/layerindex/detail.html | 5 ++- 7 files changed, 111 insertions(+), 9 deletions(-) create mode 100644 layerindex/migrations/0048_bbclassglobal_bbclassrecipe_bbclass_bbclass_type.py
Signature · 1 line
2.34.1