mbox series

[v3,0/3] bitbake-setup: add descriptions for fragment choices

Message ID 20260122-bitbake-setup-choose-builtin-v3-0-c55291acc1a7@bootlin.com
Headers show
Series bitbake-setup: add descriptions for fragment choices | expand

Message

Antonin Godard Jan. 22, 2026, 3:01 p.m. UTC
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Changes in v3:
- Rework logic as suggested by Alex
- Remove modifications of {oe-nodistro,poky}-whinlatter.conf.json
- Add a test case for oe-fragments-one-of
- Link to v2: https://patch.msgid.link/20260120-bitbake-setup-choose-builtin-v2-0-ade604ff2351@bootlin.com

Changes in v2:
- As suggested by Alex, change the new way of specifying fragments to
  remain a dictionary so they can be extended in the future
- Link to v1: https://patch.msgid.link/20260116-bitbake-setup-choose-builtin-v1-0-8d66666a9efd@bootlin.com

---
Antonin Godard (3):
      bin/bitbake-setup: add descriptions for fragment choices
      default-registry: update fragments choices with descriptions
      lib/bb/tests/setup.py: add tests for oe-fragments-one-of

 bin/bitbake-setup                                  | 23 ++++++++++++++-----
 .../configurations/oe-nodistro-master.conf.json    |  6 ++++-
 .../configurations/poky-master.conf.json           | 14 ++++++++++--
 .../bitbake-user-manual-environment-setup.rst      | 26 ++++++++++++++++++++--
 lib/bb/tests/setup.py                              | 25 +++++++++++++++++++--
 setup-schema/bitbake-setup.schema.json             | 21 ++++++++++++++++-
 6 files changed, 101 insertions(+), 14 deletions(-)
---
base-commit: 5127faf986d8543bb88e73cf3dccb407d80c9a25
change-id: 20260116-bitbake-setup-choose-builtin-fb199054cc25

Comments

Alexander Kanavin Jan. 22, 2026, 5:57 p.m. UTC | #1
Thanks, other than the suggested test tweaks, lgtm. There might be a
merge conflict with the tests, as I've also tweaked them, but it
should not be hard to resolve.

Alex

On Thu, 22 Jan 2026 at 16:02, Antonin Godard <antonin.godard@bootlin.com> wrote:
>
> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
> Changes in v3:
> - Rework logic as suggested by Alex
> - Remove modifications of {oe-nodistro,poky}-whinlatter.conf.json
> - Add a test case for oe-fragments-one-of
> - Link to v2: https://patch.msgid.link/20260120-bitbake-setup-choose-builtin-v2-0-ade604ff2351@bootlin.com
>
> Changes in v2:
> - As suggested by Alex, change the new way of specifying fragments to
>   remain a dictionary so they can be extended in the future
> - Link to v1: https://patch.msgid.link/20260116-bitbake-setup-choose-builtin-v1-0-8d66666a9efd@bootlin.com
>
> ---
> Antonin Godard (3):
>       bin/bitbake-setup: add descriptions for fragment choices
>       default-registry: update fragments choices with descriptions
>       lib/bb/tests/setup.py: add tests for oe-fragments-one-of
>
>  bin/bitbake-setup                                  | 23 ++++++++++++++-----
>  .../configurations/oe-nodistro-master.conf.json    |  6 ++++-
>  .../configurations/poky-master.conf.json           | 14 ++++++++++--
>  .../bitbake-user-manual-environment-setup.rst      | 26 ++++++++++++++++++++--
>  lib/bb/tests/setup.py                              | 25 +++++++++++++++++++--
>  setup-schema/bitbake-setup.schema.json             | 21 ++++++++++++++++-
>  6 files changed, 101 insertions(+), 14 deletions(-)
> ---
> base-commit: 5127faf986d8543bb88e73cf3dccb407d80c9a25
> change-id: 20260116-bitbake-setup-choose-builtin-fb199054cc25
>