aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKjeld Schouten-Lebbing <kjeld@schouten-lebbing.nl>2020-09-23 16:53:26 +0000
committerGitHub <noreply@github.com>2020-09-23 16:53:26 +0000
commiteb267f08cf52fb5f31c6c671bfc0f2cfbf6d0c06 (patch)
tree1a20bf1596c43c34b1456a2e33c362805a252c48 /scripts
parent20dfe8cd3b63773f0c50a5c611300843c28ef6ae (diff)
downloadsrc-eb267f08cf52fb5f31c6c671bfc0f2cfbf6d0c06.tar.gz
src-eb267f08cf52fb5f31c6c671bfc0f2cfbf6d0c06.zip
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/commitcheck.sh59
1 files changed, 0 insertions, 59 deletions
diff --git a/scripts/commitcheck.sh b/scripts/commitcheck.sh
index c7515c23e1d0..1fe29da9b986 100755
--- a/scripts/commitcheck.sh
+++ b/scripts/commitcheck.sh
@@ -89,56 +89,6 @@ function new_change_commit()
return $error
}
-function is_openzfs_port()
-{
- # subject starts with OpenZFS means it's an openzfs port
- subject=$(git log -n 1 --pretty=%s "$REF" | grep -E -m 1 '^OpenZFS')
- if [ -n "$subject" ]; then
- return 0
- fi
-
- return 1
-}
-
-function openzfs_port_commit()
-{
- error=0
-
- # subject starts with OpenZFS dddd
- subject=$(git log -n 1 --pretty=%s "$REF" | grep -E -m 1 '^OpenZFS [[:digit:]]+(, [[:digit:]]+)* - ')
- if [ -z "$subject" ]; then
- echo "error: OpenZFS patch ports must have a subject line that starts with \"OpenZFS dddd - \""
- error=1
- fi
-
- # need an authored by line
- if ! check_tagged_line "Authored by" ; then
- error=1
- fi
-
- # need a reviewed by line
- if ! check_tagged_line "Reviewed by" ; then
- error=1
- fi
-
- # need ported by line
- if ! check_tagged_line "Ported-by" ; then
- error=1
- fi
-
- # need a url to openzfs commit and it should be valid
- if ! check_tagged_line_with_url "OpenZFS-commit" ; then
- error=1
- fi
-
- # need a url to illumos issue and it should be valid
- if ! check_tagged_line_with_url "OpenZFS-issue" ; then
- error=1
- fi
-
- return $error
-}
-
function is_coverity_fix()
{
# subject starts with Fix coverity defects means it's a coverity fix
@@ -192,15 +142,6 @@ if [ -n "$1" ]; then
REF="$1"
fi
-# if openzfs port, test against that
-if is_openzfs_port; then
- if ! openzfs_port_commit ; then
- exit 1
- else
- exit 0
- fi
-fi
-
# if coverity fix, test against that
if is_coverity_fix; then
if ! coverity_fix_commit; then