BACKPORT: util/lint: Introduce linter for git sign-off-by line
For compliance and to check if the commit message matches the
development guidelines, add a linter checking for the sign-off-by line
in the commit message. Also, hook it up to the test_build.sh script
which is used for CI builds.
These scripts were copied from the coreboot repository and were adjusted
so that they work for flashrom.
BUG=None
BRANCH=None
TEST=None
backport: skip test_build.sh
(cherry picked from commit 748575abb2dbd93a7f4c87ca10887b9d72ac6a37)
Original-Change-Id: I03f1827803f8492d60a0a44174d5822c2265bfcb
Original-Signed-off-by: Felix Singer <felixsinger@posteo.net>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/70079
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
GitOrigin-RevId: 748575abb2dbd93a7f4c87ca10887b9d72ac6a37
Change-Id: If4ad0f2f5a370a36b4b6ef3344d0d976df25d96f
Signed-off-by: Evan Benn <evanbenn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/4109849
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: George Engelbrecht <engeg@google.com>
Tested-by: George Engelbrecht <engeg@google.com>
2 files changed