diff options
author | Kjeld Schouten-Lebbing <[email protected]> | 2020-09-23 18:53:26 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-23 09:53:26 -0700 |
commit | eb267f08cf52fb5f31c6c671bfc0f2cfbf6d0c06 (patch) | |
tree | 1a20bf1596c43c34b1456a2e33c362805a252c48 /scripts | |
parent | 20dfe8cd3b63773f0c50a5c611300843c28ef6ae (diff) |
Update issue templates, commitcheck and Contributing.md
- Removes OpenZFS ports from commit check
- Removes OpenZFS ports from CONTRIBUTING.md
- Adds mailings lists and IRC to issue template selector
- Remove blank issue option from issue creator
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Co-authored-by: George Melikov <[email protected]>
Signed-off-by: Kjeld Schouten-Lebbing <[email protected]>
Closes #10965
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/commitcheck.sh | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/scripts/commitcheck.sh b/scripts/commitcheck.sh index c7515c23e..1fe29da9b 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 |