You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2018/08/21 14:49:15 UTC

[8/8] hbase git commit: HBASE-21058 When testing branches one, the PDF ref guide is named 'book.pdf'

HBASE-21058 When testing branches one, the PDF ref guide is named 'book.pdf'

Signed-off-by: Peter Somogyi <ps...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/69f50057
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/69f50057
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/69f50057

Branch: refs/heads/branch-1.2
Commit: 69f5005700a5968c7c5bf99c28c37436a365e971
Parents: 1a477b1
Author: Sean Busbey <bu...@apache.org>
Authored: Wed Aug 15 13:16:16 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:48:33 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/69f50057/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index df65c43..3c52dae 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -289,6 +289,7 @@ function refguide_rebuild
   local repostatus=$1
   local logfile="${PATCH_DIR}/${repostatus}-refguide.log"
   declare -i count
+  declare pdf_output
 
   if ! verify_needed_test refguide; then
     return 0
@@ -325,7 +326,13 @@ function refguide_rebuild
     return 1
   fi
 
-  if [[ ! -f "${PATCH_DIR}/${repostatus}-site/apache_hbase_reference_guide.pdf" ]]; then
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    pdf_output="book.pdf"
+  else
+    pdf_output="apache_hbase_reference_guide.pdf"
+  fi
+
+  if [[ ! -f "${PATCH_DIR}/${repostatus}-site/${pdf_output}" ]]; then
     add_vote_table -1 refguide "${repostatus} failed to produce the pdf version of the reference guide."
     add_footer_table refguide "@@BASE@@/${repostatus}-refguide.log"
     return 1