]> git.ipfire.org Git - thirdparty/openssl.git/commit
Convert check-format-commits.sh to use allowlist
authorNeil Horman <nhorman@openssl.org>
Fri, 12 Jul 2024 11:25:20 +0000 (07:25 -0400)
committerDr. David von Oheimb <dev@ddvo.net>
Sat, 26 Oct 2024 17:15:13 +0000 (19:15 +0200)
commitf8635bcf4093e38ad72938acbfb83aded13d8eab
treea62bea1e3d4c3d2a40880855d56173d7ad16a64a
parentcddc51291c85030e90aeea99ce63a28cb311443c
Convert check-format-commits.sh to use allowlist

Initially check-format-commits.sh tried to check everything, using a
banlist to exlude files not appropriate for checking.

Its becoming clear that that approach isn't workable, given that the
number of files that we should not check far outweighs the number of
files that we should check.

Ideally we should be checking .c files, .h files and their .in
counterparts, everything else should be excluded (at least for now)

convert the script to using an allowlist, only checking the above list,
and ignoring everything else

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/24865)

(cherry picked from commit 42230f294ae97cbd50052038499e091d0060ba8e)
util/check-format-commit.sh