]> 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)
committerNeil Horman <nhorman@openssl.org>
Sat, 13 Jul 2024 16:23:52 +0000 (12:23 -0400)
commit42230f294ae97cbd50052038499e091d0060ba8e
treee1dc73c4a1c91cf3bce7f50d21b952f2c56e66d6
parente8c7febc8f1b0ef9e5b62b0944748d2830b1a0b4
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)
util/check-format-commit.sh