public inbox for bitbake-devel@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/4] bitbake-layers: layerindex-fetch: respect --branch for already-configured layers
@ 2025-12-12 19:08 Osama Abdelkader
  2025-12-12 19:08 ` [PATCH 1/4] bitbake-layers: layerindex-fetch: Fix undefined stderr variable Osama Abdelkader
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Osama Abdelkader @ 2025-12-12 19:08 UTC (permalink / raw)
  To: bitbake-devel; +Cc: paul, Osama Abdelkader

[YOCTO #7852]

This patch series fixes issues with the layerindex-fetch command when --branch
is specified for layers that are already configured in bblayers.conf.

The series is organized with bug fixes first (for potential backporting),
followed by feature additions:

1. Fix undefined stderr variable (bug fix - may need backporting)
2. Fix branch detection method (bug fix)
3. Respect --branch for already-configured layers (feature)
4. Add branch check/switch for cooker layers (feature)

The main issues addressed:
- Early exit without branch verification when layer is already configured
- Cooker layers being skipped entirely, preventing branch checking
- Fragile branch detection using 'git branch' output parsing
- Undefined variable bug in error handling

Osama Abdelkader (4):
  bitbake-layers: layerindex-fetch: Fix undefined stderr variable
  bitbake-layers: layerindex-fetch: Fix branch detection method
  bitbake-layers: layerindex-fetch: Respect --branch for
    already-configured layers
  bitbake-layers: layerindex-fetch: Add branch check/switch for cooker
    layers

 bitbake/lib/bblayers/layerindex.py | 51 ++++++++++++++++++++++++++----
 1 file changed, 45 insertions(+), 6 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-12-19 16:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-12 19:08 [PATCH 0/4] bitbake-layers: layerindex-fetch: respect --branch for already-configured layers Osama Abdelkader
2025-12-12 19:08 ` [PATCH 1/4] bitbake-layers: layerindex-fetch: Fix undefined stderr variable Osama Abdelkader
2025-12-15 11:52   ` Paul Barker
2025-12-12 19:08 ` [PATCH 2/4] bitbake-layers: layerindex-fetch: Fix branch detection method Osama Abdelkader
2025-12-15 11:54   ` Paul Barker
2025-12-15 22:34     ` Osama Abdelkader
2025-12-18 19:39       ` Paul Barker
2025-12-19 16:05         ` Osama Abdelkader
2025-12-12 19:08 ` [PATCH 3/4] bitbake-layers: layerindex-fetch: Respect --branch for already-configured layers Osama Abdelkader
2025-12-12 19:08 ` [PATCH 4/4] bitbake-layers: layerindex-fetch: Add branch check/switch for cooker layers Osama Abdelkader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox