devtools: check prefix for libraries patches
PATCH 1/1 devtools: check prefix for libraries patches
The convention in DPDK is to directly use library names as prefix, without a lib/.
Signed-off-by David Marchand <[email protected]>
--- devtools/check-git-log.sh | 6 ++++++ 1 file changed, 6 insertions(+)
devtools/check-git-log.sh +6 -0
@@ -89,6 +89,12 @@ bad=$(for commit in $commits ; do done | sed 's,^,\t,') [ -z "$bad" ] || { printf "Wrong headline prefix:\n$bad\n" && failure=true;} +# check headline prefix for libraries +bad=$(echo "$headlines" | grep --color=always \ + -e '^lib/' \ + | sed 's,^,\t,') +[ -z "$bad" ] || { printf "Wrong headline prefix:\n$bad\n" && failure=true;} + # check headline label for common typos bad=$(echo "$headlines" | grep --color=always \ -e '^example[:/]' \
Signature · 1 line
2.23.0
Thomas Monjalon
Applied20/10/2021 11:14, David Marchand:
Quoted 4 lines
The convention in DPDK is to directly use library names as prefix, without a
lib/.Signed-off-by David Marchand <[email protected]>
Applied, thanks.