Skip to content

bitbake-setup: improve consistency in prompts

Quentin Schulz bitbake-devel 1 version In review

Get series with b4
b4 am 20251203-bitbake-setup-input-consistent-v1-0-3c7e6edecd57@cherry.de change-id 20251203-bitbake-setup-input-consistent-1186fa1d45a3

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bitbake-setup: allow to pass a prompt to int_inputbin/bitbake-setup+4 -40 replies
2/3bitbake-setup: make all callers of int_input pass their promptbin/bitbake-setup+6 -60 replies
3/3bitbake-setup: put colon of prompt after suggested defaultbin/bitbake-setup+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] bitbake-setup: improve consistency in prompts

The prompts for integer inputs are displaying the user input after the line while string inputs are displaying the user input next to the prompt. This aligns the behavior to have the user input next to the prompt in all cases, even for numbers, even for retries.

This also fixes what could be said to be a typo: the colon was added before the default value for one prompt instead of after, confusing me a bit as to what was expected from me.

---
Quentin Schulz (3):
bitbake-setup: allow to pass a prompt to int_input
bitbake-setup: make all callers of int_input pass their prompt
bitbake-setup: put colon of prompt after suggested default

 bin/bitbake-setup | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

---
base-commit: 720df1a53452983c1c832f624490e255cf389204
change-id: 20251203-bitbake-setup-input-consistent-1186fa1d45a3

Best regards,

Signature · 1 line
Quentin Schulz <[email protected]>