kumquat-buildroot/support
Ricardo Martincoski 4f63e64d9c support/scripts/generate-gitlab-ci-yml: improve test-pkg support
Following the example of test-pkg config described in commit
"12c7a05da1 utils/test-pkg: add gitlab-ci support" to test a defconfig
fragment that contains a disabled option is currently possible, but
it do requires one to change the git config core.commentChart so the
lines starting with "#" are not discarded by git when creating/editing
the commit message.

For instance, without the indentation the 3rd line below would be
excluded from the commit message when the editor is closed:
    test-pkg config:
    SOME_OPTION=y
    # OTHER_OPTION is not set
    SOME_VARIABLE="some value"

Requiring to change git configs is not very nice.
So make the developer's life easier by changing the sed expression to
remove indentation with spaces from a defconfig fragment found on a
commit message.
For instance these lines become valid and generate a defconfig fragment
without the indentation of one space to be tested in GitLab CI:
test-pkg config:
 SOME_OPTION=y
 # OTHER_OPTION is not set
 SOME_VARIABLE="some value"

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 0ad3ae14c5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-02-22 17:36:45 +01:00
..
config-fragments support/config-fragments/autobuild/bootlin-armv7m-uclibc.config: specify configuration more precisely 2022-09-22 14:32:44 +02:00
dependencies support/dependencies: check for find and xargs 2022-09-17 10:17:47 +02:00
docker support/docker: add shellcheck 2022-02-06 18:27:03 +01:00
download support/download/helpers: adjust for older coreutils versions 2022-02-11 17:25:24 +01:00
gnuconfig support/gnuconfig: fix previous version bump 2020-09-27 18:30:05 +02:00
kconfig support/kconfig: fix compiler warnings 2021-10-06 21:11:09 +02:00
legal-info boot, package, support, toolchain: switch to 2 spaces for the hash file 2022-09-13 13:47:40 +02:00
libtool
misc Update for 2022.02.9 2023-01-18 11:44:24 +01:00
scripts support/scripts/generate-gitlab-ci-yml: improve test-pkg support 2023-02-22 17:36:45 +01:00
testing support/tests: print failed command and output on assertRunOK error 2023-01-01 19:34:40 +01:00