All of lore.kernel.org
 help / color / mirror / Atom feed
* [layerindex-web][PATCH 0/5] Add support for classes-global and classes-recipe
@ 2024-01-23  4:15 Tim Orling
  2024-01-23  4:15 ` [layerindex-web][PATCH 1/5] layerindex/models: add BBClassRecipe BBClassGlobal Tim Orling
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Tim Orling @ 2024-01-23  4:15 UTC (permalink / raw)
  To: yocto

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

-- 
2.34.1



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-23  4:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23  4:15 [layerindex-web][PATCH 0/5] Add support for classes-global and classes-recipe Tim Orling
2024-01-23  4:15 ` [layerindex-web][PATCH 1/5] layerindex/models: add BBClassRecipe BBClassGlobal Tim Orling
2024-01-23  4:15 ` [layerindex-web][PATCH 2/5] layerindex/recipeparse.py: extend bbclass regex Tim Orling
2024-01-23  4:15 ` [layerindex-web][PATCH 3/5] layerindex/views: add classes-recipe,-global Tim Orling
2024-01-23  4:15 ` [layerindex-web][PATCH 4/5] templates: add bbclasstype badge Tim Orling
2024-01-23  4:15 ` [layerindex-web][PATCH 5/5] layerindex/update_layer.py: enable classes-global,-recipe Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.