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:09 UTC

[2/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/f9a3d8ac
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f9a3d8ac
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f9a3d8ac

Branch: refs/heads/branch-2
Commit: f9a3d8acc4ed6d90a5e2c3e7fbfdc30a324254c1
Parents: 98da781
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:46:03 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/f9a3d8ac/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 1d8b7fb..ac2f60b 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -305,6 +305,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
@@ -341,7 +342,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