poky/bitbake/lib/bb
Johannes Schneider 7320e59aec bitbake: bitbake-setup: commandline: use subsubparser for settings {list,set,unset}
Previously the sub-command 'settings' would take any number of
arguments and then silently do nothing if the number wasn't three.

The help text was also not clear about this, marking the positionals
separately as optional:

usage: bitbake-setup settings [-h] [--global] [--unset UNSET UNSET] [-l] [section] [key] [value]

The '--unset SECTION SETTING' also did not  integrate too well, as it
had its own positional arguments for section+setting.

For a bit more consistency and a explorable help, a sub-subparser is
added, that provides the commands:
  bitbake-setup settings list
  bitbake-setup settings set foo bar baz
  bitbake-setup settings unset foo bar
with a '--global' that is added from a stand-alone parent parser, so
that it shows up in all sub-command help texts.

The new help text now reads:
usage: bitbake-setup settings [-h] [--global] {list,set,unset} ...

and the respective sub commands:
usage: bitbake-setup settings list [-h] [--global]
usage: bitbake-setup settings set [-h] [--global] <section> <setting> <value>
usage: bitbake-setup settings unset [-h] [--global] <section> <setting>

(Bitbake rev: 8b582ef8dd0cef0192d4c0104bcd9b5d642d132c)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
..
asyncrpc bitbake: Use a "fork" multiprocessing context 2025-07-23 11:34:31 +01:00
compress bitbake: bb/compress: use lz4 instead of lz4c 2024-11-05 11:17:17 +00:00
fetch2 bitbake: fetch2/git: verify if local clone contains tag 2025-08-19 11:35:52 +01:00
parse bitbake: ast: Warn on multiple builtin config fragments for the same variable 2025-10-13 23:30:31 +01:00
pysh
server bitbake: Use a "fork" multiprocessing context 2025-07-23 11:34:31 +01:00
tests bitbake: bitbake-setup: commandline: use subsubparser for settings {list,set,unset} 2025-10-14 11:24:57 +01:00
ui bitbake: knotty, uihelper: Remove running_pids and lastpids 2025-10-13 23:30:31 +01:00
__init__.py bitbake: bitbake: Update version to 2.15.2 2025-08-12 10:05:11 +01:00
acl.py bitbake: lib: Remove double imports 2025-02-27 15:12:55 +00:00
build.py bitbake: lib/bb/build: remove mention of OE_EXTRA_IMPORTS 2025-02-27 15:21:10 +00:00
cache_extra.py
cache.py bitbake: cooker/cache: Drop mc 'default' string value 2025-01-25 11:30:51 +00:00
checksum.py bitbake: checksum/fetch2: Switch from persist_data to a standard cache file 2024-10-09 13:04:30 +01:00
codeparser.py bitbake: codeparser: Add function decorators for vardeps 2025-04-10 11:07:38 +01:00
command.py bitbake: command: Fix command complete event ordering 2025-03-11 10:53:13 +00:00
cooker.py bitbake: cooker: adjust the error message about missing websockets module to mention bitbake-setup 2025-10-14 11:24:57 +01:00
cookerdata.py bitbake: cooker/cache: Drop mc 'default' string value 2025-01-25 11:30:51 +00:00
COW.py bitbake: COW: Fix hardcoded magic numbers and work with python 3.13 2024-10-09 13:04:30 +01:00
daemonize.py bitbake: bitbake: Add copyright headers where missing 2022-08-12 11:49:29 +01:00
data_smart.py bitbake: data_smart: Add setVarFilter function to implement variabl filtering 2025-08-12 10:05:11 +01:00
data.py bitbake: codeparser/data: Ensure module function contents changing is accounted for 2024-07-01 13:53:23 +01:00
event.py bitbake: event/runqueue: remove unused 'd' arg from check_for_interrupts 2025-08-12 10:05:11 +01:00
filter.py bitbake: lib/bb: Add filter support 2025-08-12 10:05:11 +01:00
main.py bitbake: main: Add an option to specify what to profile 2025-07-17 10:45:57 +01:00
methodpool.py
monitordisk.py bitbake: Fix disk space monitoring on cephfs 2023-08-25 07:55:34 +01:00
msg.py bitbake: Remove custom exception backtrace formatting 2024-11-28 00:06:24 +00:00
namedtuple_with_abc.py
process.py bitbake: bitbake: Add copyright headers where missing 2022-08-12 11:49:29 +01:00
progress.py bitbake: progress: Fix typo "wherever" 2022-02-20 16:45:25 +00:00
providers.py bitbake: providers: use local variable for packages_dynamic pattern 2022-04-19 14:15:09 +01:00
remotedata.py
runqueue.py bitbake: runqueue: use enum to represent runQueue state to improve readability 2025-08-12 10:05:11 +01:00
siggen.py bitbake: sigen: Avoid bitbake abort with EOFerror from an incomplete hashserv communication 2025-07-23 11:34:31 +01:00
taskdata.py bitbake: lib/bb: Replace "abort" usage in task handling 2022-02-21 23:37:26 +00:00
tinfoil.py bitbake: tinfoil: add wait_for decorator and build_file_sync() helper 2025-07-01 08:49:37 +01:00
utils.py bitbake: Add bb.utils.explode_deps as a filter function 2025-08-12 10:05:11 +01:00
xattr.py bitbake: lib/bb: Add xattr and acl libraries 2023-08-24 16:49:38 +01:00