Whamcloud - gitweb
LU-883 build: allow blank after signoff, email fix
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 15 Dec 2011 07:16:20 +0000 (00:16 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 19 Jan 2012 23:41:21 +0000 (18:41 -0500)
commitf40494c72908d2fafd652c16cb8c093a981eb679
treeab31ca452bad81660998f226cfa0ee17c98eb03c
parent4072f026a706fcabb9b8cbaec4dcd534e9de7c95
LU-883 build: allow blank after signoff, email fix

Allow blank lines after the signoff section, since there will usually
be a blank line between the signoff and the checkpatch.pl output.

Improve the EMAILPAT regex to detect bad email addresses that do not
have a full name (at least 2 parts) and a full domain (also with
at least 2 parts).

Allow a generic "{Organization}-bug-id:" line in the signoff section
to allow linking the patch commit into arbitrary bug databases for
ease of tracking patches.

Add test cases for all of these changes.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Iaf14f6c985d3dd4837064d29071bd9acd8031d67
Reviewed-on: http://review.whamcloud.com/1867
Reviewed-by: <bruce.korb@gmail.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bobi Jam <bobijam@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
build/Makefile
build/commit-msg
build/commit.ok_bugid [new file with mode: 0644]
build/commit.ok_dupsign
build/commit.ok_innocuous [new file with mode: 0644]
build/commit.ok_signoff
build/test-commit-msg.sh