bitbake-layers: layerindex-fetch: respect --branch for already-configured layers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | bitbake-layers: layerindex-fetch: Fix undefined stderr variablelib/ | +1 | 1 reply | |
| 2/4 | bitbake-layers: layerindex-fetch: Fix branch detection methodlib/ | +4 | 4 replies | |
| 3/4 | bitbake-layers: layerindex-fetch: Respect --branch for already-configured layerslib/ | +2 | 0 replies | |
| 4/4 | bitbake-layers: layerindex-fetch: Add branch check/switch for cooker layerslib/ | +38 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Paul Barker |
|---|---|
| 1/4 | R-b |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] bitbake-layers: layerindex-fetch: respect --branch for already-configured layers
[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(-)
Signature · 1 line
2.43.0