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

Message ID 20201224122855.22200-1-laurent.pinchart@ideasonboard.com
Headers show
Series
  • checkstyle.py: Ensure meson.build is updated when adding header
Related show

Message

Laurent Pinchart Dec. 24, 2020, 12:28 p.m. UTC
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(-)