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:12 UTC
[5/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/0ac59992
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0ac59992
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0ac59992
Branch: refs/heads/branch-1
Commit: 0ac59992041fee790c88d5d502f45dddb649ec9a
Parents: e500207
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:47:12 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/0ac59992/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 1a7ec0b..93727b3 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -293,6 +293,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
@@ -329,7 +330,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