mbox series

[next,v3,0/3] check-package: support inline flags v3

Message ID 20230903163509.614740-1-ricardo.martincoski@gmail.com
Headers show
Series check-package: support inline flags v3 | expand

Message

Ricardo Martincoski Sept. 3, 2023, 4:35 p.m. UTC
Hello,

This small series tries to make easier to support a new type of special
comment in source files, recognized by check-package.
It is a v3 for:
- v1, 4 patches: support ignore-indent for check-package configs [1]
- v2, patch 1 Accepted in 'next': utils/check-package: cleanup line reading [2]

Patch 1 prepares the code.
Patch 2 do the equivalent to v1 patches 2 and 3.
Patch 3 do the equivalent to v1 patch 4.

Cc: James Knight <james.d.knight@live.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

James, Thomas,

Please feel free to rework or even completely drop this v2.
It is an attempt to make easier to the new code to arrive in the code
base. It is NOT a way to say 'I dislike v1'.

Regards,
Ricardo

[1] http://patchwork.ozlabs.org/project/buildroot/list/?series=352915&state=*&q=&archive=&delegate=
[2] http://patchwork.ozlabs.org/project/buildroot/patch/CYYP221MB114006AE3D1C77F421E44B43A0EBA@CYYP221MB1140.NAMP221.PROD.OUTLOOK.COM/

James Knight (1):
  utils/check-package: remove hard-coded list from lib_config:Indent

Ricardo Martincoski (2):
  utils/check-package: factor-out check_disabled()
  utils/check-package: support inline flags

 package/Config.in                   |   2 +
 package/Config.in.host              |   2 +
 package/kodi/Config.in              |   2 +
 package/x11r7/Config.in             |   2 +
 utils/check-package                 |   2 +-
 utils/checkpackagelib/base.py       |  21 ++++-
 utils/checkpackagelib/lib_config.py |   8 +-
 utils/checkpackagelib/test_base.py  | 131 ++++++++++++++++++++++++++++
 utils/checkpackagelib/test_util.py  |   5 +-
 9 files changed, 167 insertions(+), 8 deletions(-)
 create mode 100644 utils/checkpackagelib/test_base.py