{"id":10736,"url":"https://patchwork.libcamera.org/api/1.1/covers/10736/?format=json","web_url":"https://patchwork.libcamera.org/cover/10736/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20201224122855.22200-1-laurent.pinchart@ideasonboard.com>","date":"2020-12-24T12:28:47","name":"[libcamera-devel,0/8] checkstyle.py: Ensure meson.build is updated when adding header","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/10736/mbox/","series":[{"id":1550,"url":"https://patchwork.libcamera.org/api/1.1/series/1550/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=1550","date":"2020-12-24T12:28:47","name":"checkstyle.py: Ensure meson.build is updated when adding header","version":1,"mbox":"https://patchwork.libcamera.org/series/1550/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/10736/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id BF2B2C0F1A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 24 Dec 2020 12:29:09 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 23371615B2;\n\tThu, 24 Dec 2020 13:29:09 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3447B60526\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 24 Dec 2020 13:29:08 +0100 (CET)","from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id A0095A1D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 24 Dec 2020 13:29:07 +0100 (CET)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"L4U2u/Bq\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1608812947;\n\tbh=YbiyOR3ad1MlqYuMpW75enseZeW1tJEXYuHsQbiEWdc=;\n\th=From:To:Subject:Date:From;\n\tb=L4U2u/BqAYe4LTi7dPrjBnJflxODCTtTXUknbmnDZav7JZHvAWHI3XTmQlHnQUwTL\n\tWDczbqsB5PtCFAr6k9qtcTeAPIm4Lq7o5l/JIM+mX+jaCdF1JgXp6pC7HJ3CmuNJ1s\n\tP0yKIgb6q6V/qHZKz+qURukjgD7UxOjUYjClKUFw=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 24 Dec 2020 14:28:47 +0200","Message-Id":"<20201224122855.22200-1-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.27.0","MIME-Version":"1.0","Subject":"[libcamera-devel] [PATCH 0/8] checkstyle.py: Ensure meson.build is\n\tupdated when adding header","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hello,\n\nThis patch series adds a new checker to checkstyle.py to ensure that\nheaders added to the public or internal include directories are\naccompanied by a corresponding update of meson.build in the same\ndirectory.\n\nPatches 1/8 to 6/8 are small refactorings and cleanups to prepare for\nthe new featur, 7/8 adds a new type of checkers to check entire commits,\nand patch 8/8 adds the new feature.\n\nLaurent Pinchart (8):\n  utils: checkstyle.py: Drop arguments to super() when possible\n  utils: checkstyle.py: Factor out automatic class registry\n  utils: checkstyle.py: Move commit handling to a separate section\n  utils: checkstyle.py: Make title and files properties of commit class\n  utils: checkstyle.py: Add ability to filter files by status in a\n    commit\n  utils: checkstyle.py: Move diff parsing to Commit class\n  utils: checkstyle.py: Add commit checkers\n  utils: checkstyle.py: Add header add checker\n\n utils/checkstyle.py | 295 +++++++++++++++++++++++++++++---------------\n 1 file changed, 197 insertions(+), 98 deletions(-)"}