mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
Commit message format in contributing guidelines
Add the need to have a commit message with a specific format to the contributing guidelines. Provide a script to help enforce commit message style. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov> Closes #5943
This commit is contained in:
committed by
Brian Behlendorf
parent
10cb2e0a19
commit
cb524aa23a
+7
-1
@@ -39,7 +39,12 @@ dist-hook:
|
||||
sed -i 's/Release:[[:print:]]*/Release: $(RELEASE)/' \
|
||||
$(distdir)/META
|
||||
|
||||
checkstyle: cstyle shellcheck flake8
|
||||
checkstyle: cstyle shellcheck flake8 commitcheck
|
||||
|
||||
commitcheck:
|
||||
@if git rev-parse --git-dir > /dev/null 2>&1; then \
|
||||
scripts/commitcheck.sh; \
|
||||
fi
|
||||
|
||||
cstyle:
|
||||
@find ${top_srcdir} -name '*.[hc]' ! -name 'zfs_config.*' \
|
||||
@@ -51,6 +56,7 @@ shellcheck:
|
||||
scripts/zloop.sh \
|
||||
scripts/zfs-tests.sh \
|
||||
scripts/zfs.sh; \
|
||||
scripts/commitcheck.sh; \
|
||||
(find cmd/zed/zed.d/*.sh -type f) | \
|
||||
grep -v 'zfs-script-config' | \
|
||||
while read file; do \
|
||||
|
||||
Reference in New Issue
Block a user