HADOOP-11928. Test-patch check for @author tags incorrectly flags removal of @author tags (Kengo Seki via aw)

This commit is contained in:
Allen Wittenauer 2015-05-11 11:35:02 -07:00
parent 77587fe198
commit fa1cf5a51a
2 changed files with 4 additions and 1 deletions

View File

@ -1495,7 +1495,7 @@ function check_author
return 0 return 0
fi fi
authorTags=$("${GREP}" -c -i '@author' "${PATCH_DIR}/patch") authorTags=$("${GREP}" -c -i '^[^-].*@author' "${PATCH_DIR}/patch")
echo "There appear to be ${authorTags} @author tags in the patch." echo "There appear to be ${authorTags} @author tags in the patch."
if [[ ${authorTags} != 0 ]] ; then if [[ ${authorTags} != 0 ]] ; then
add_jira_table -1 @author \ add_jira_table -1 @author \

View File

@ -191,6 +191,9 @@ Release 2.8.0 - UNRELEASED
HADOOP-9729. The example code of org.apache.hadoop.util.Tool is incorrect HADOOP-9729. The example code of org.apache.hadoop.util.Tool is incorrect
(hellojinjie via jlowe) (hellojinjie via jlowe)
HADOOP-11928. Test-patch check for @author tags incorrectly flags
removal of @author tags (Kengo Seki via aw)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES