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:11 UTC
[4/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/dcf8a231
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/dcf8a231
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/dcf8a231
Branch: refs/heads/branch-2.0
Commit: dcf8a2318305eb30669987762989228285d6495f
Parents: d9252da
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:43 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/dcf8a231/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 62a589e..7192041 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