[libcamera-devel] [PATCH 0/8] checkstyle.py: Ensure meson.build is updated when adding header

Laurent Pinchart laurent.pinchart at ideasonboard.com
Thu Dec 24 13:28:47 CET 2020


Hello,

This patch series adds a new checker to checkstyle.py to ensure that
headers added to the public or internal include directories are
accompanied by a corresponding update of meson.build in the same
directory.

Patches 1/8 to 6/8 are small refactorings and cleanups to prepare for
the new featur, 7/8 adds a new type of checkers to check entire commits,
and patch 8/8 adds the new feature.

Laurent Pinchart (8):
  utils: checkstyle.py: Drop arguments to super() when possible
  utils: checkstyle.py: Factor out automatic class registry
  utils: checkstyle.py: Move commit handling to a separate section
  utils: checkstyle.py: Make title and files properties of commit class
  utils: checkstyle.py: Add ability to filter files by status in a
    commit
  utils: checkstyle.py: Move diff parsing to Commit class
  utils: checkstyle.py: Add commit checkers
  utils: checkstyle.py: Add header add checker

 utils/checkstyle.py | 295 +++++++++++++++++++++++++++++---------------
 1 file changed, 197 insertions(+), 98 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list