This is an automated email from the ASF dual-hosted git repository. aw pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/master by this push: new 6b94d9d YETUS-307. Update to middleman v4 (#66) 6b94d9d is described below commit 6b94d9dfe5714904b6508938f86b26f80504a274 Author: Allen Wittenauer <a...@apache.org> AuthorDate: Mon Jun 3 08:04:58 2019 -0700 YETUS-307. Update to middleman v4 (#66) --- asf-site-src/Gemfile | 20 +- asf-site-src/Gemfile.lock | 155 ++++++--------- asf-site-src/config.rb | 68 ++++--- .../source/{_footer.md.erb => _footer.html.erb} | 0 .../source/{_header.md.erb => _header.html.erb} | 0 .../contribute/{releases.md => releases.html.md} | 220 ++++++++++----------- .../contribute/{website.md => website.html.md} | 0 ...ication.md => interface-classification.html.md} | 0 ...{precommit-admin.md => precommit-admin.html.md} | 0 ...mmit-advanced.md => precommit-advanced.html.md} | 0 ...it-apidocs.md.erb => precommit-apidocs.html.md} | 13 +- ...hitecture.md => precommit-architecture.html.md} | 0 ...{precommit-basic.md => precommit-basic.html.md} | 0 ...-bugsystems.md => precommit-bugsystems.html.md} | 0 ...-buildtools.md => precommit-buildtools.html.md} | 0 ...cleanup.md => precommit-docker-cleanup.html.md} | 0 ...recommit-docker.md => precommit-docker.html.md} | 0 ...mmit-glossary.md => precommit-glossary.html.md} | 0 ...-patchnames.md => precommit-patchnames.html.md} | 0 .../{precommit-qbt.md => precommit-qbt.html.md} | 0 ...recommit-robots.md => precommit-robots.html.md} | 0 ...atch.md => precommit-smart-apply-patch.html.md} | 0 ...estformats.md => precommit-testformats.html.md} | 0 ...{releasedocmaker.md => releasedocmaker.html.md} | 0 .../{shelldocs.md => shelldocs.html.md} | 0 ...-maven-plugin.md => yetus-maven-plugin.html.md} | 0 .../source/layouts/{layout.erb => layout.html.erb} | 2 +- ...-docker-image.md => yetus-docker-image.html.md} | 0 28 files changed, 230 insertions(+), 248 deletions(-) diff --git a/asf-site-src/Gemfile b/asf-site-src/Gemfile index 7db8b0b..a51899f 100644 --- a/asf-site-src/Gemfile +++ b/asf-site-src/Gemfile @@ -13,26 +13,26 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# + +# rubocop:disable Style/HashSyntax, Style/SymbolArray + # If you do not have OpenSSL installed, update -# the following line to use "http://" instead +# the following line to use 'http://' instead source 'https://rubygems.org' -gem "middleman", "~>3.4.0" +gem 'middleman', '~> 4.2' # Live-reloading plugin -gem "middleman-livereload" +gem 'middleman-livereload' gem 'middleman-syntax', github: 'middleman/middleman-syntax' # For faster file watcher updates on Windows: -gem "wdm", "~> 0.1.0", :platforms => [:mswin, :mingw] +gem 'wdm', '~> 0.1.0', :platforms => [:mswin, :mingw] # Windows does not come with time zone data -gem "tzinfo-data", platforms: [:mswin, :mingw, :jruby] - -gem 'redcarpet', github: 'vmg/redcarpet' - -gem 'rake', '10.3.1' +gem 'tzinfo-data', platforms: [:mswin, :mingw, :jruby] gem 'therubyracer' + +# rubocop:enable Style/HashSyntax, Style/SymbolArray diff --git a/asf-site-src/Gemfile.lock b/asf-site-src/Gemfile.lock index 072bb37..078d5ef 100644 --- a/asf-site-src/Gemfile.lock +++ b/asf-site-src/Gemfile.lock @@ -6,157 +6,124 @@ GIT middleman-core (>= 3.2) rouge (~> 3.1) -GIT - remote: git://github.com/vmg/redcarpet.git - revision: 94f6e27bdf2395efa555a7c772a3d8b70fb84346 - specs: - redcarpet (3.4.0) - GEM remote: https://rubygems.org/ specs: - activesupport (4.2.11.1) - i18n (~> 0.7) + activesupport (5.0.7.2) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 0.7, < 2) minitest (~> 5.1) - thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - capybara (2.4.4) - mime-types (>= 1.16) - nokogiri (>= 1.3.3) - rack (>= 1.0.0) - rack-test (>= 0.5.4) - xpath (~> 2.0) - chunky_png (1.3.11) + addressable (2.6.0) + public_suffix (>= 2.0.2, < 4.0) + backports (3.15.0) coffee-script (2.4.1) coffee-script-source execjs coffee-script-source (1.12.2) - compass (1.0.3) - chunky_png (~> 1.2) - compass-core (~> 1.0.2) - compass-import-once (~> 1.0.5) - rb-fsevent (>= 0.9.3) - rb-inotify (>= 0.9) - sass (>= 3.3.13, < 3.5) - compass-core (1.0.3) - multi_json (~> 1.0) - sass (>= 3.3.0, < 3.5) - compass-import-once (1.0.5) - sass (>= 3.2, < 3.5) + concurrent-ruby (1.1.5) + contracts (0.13.0) + dotenv (2.7.2) em-websocket (0.5.1) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) erubis (2.7.0) eventmachine (1.2.7) execjs (2.7.0) - ffi (1.10.0) - haml (5.0.4) + fast_blank (1.0.0) + fastimage (2.1.5) + ffi (1.11.1) + haml (5.1.1) temple (>= 0.8.0) tilt - hike (1.2.3) - hooks (0.4.1) - uber (~> 0.0.14) + hamster (3.0.0) + concurrent-ruby (~> 1.0) + hashie (3.6.0) http_parser.rb (0.6.0) - i18n (0.7.0) - json (2.2.0) + i18n (0.9.5) + concurrent-ruby (~> 1.0) kramdown (1.17.0) libv8 (3.16.14.19) listen (3.0.8) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - middleman (3.4.1) + memoist (0.16.0) + middleman (4.3.4) coffee-script (~> 2.2) - compass (>= 1.0.0, < 2.0.0) - compass-import-once (= 1.0.5) - execjs (~> 2.0) haml (>= 4.0.5) kramdown (~> 1.2) - middleman-core (= 3.4.1) - middleman-sprockets (>= 3.1.2) - sass (>= 3.4.0, < 4.0) - uglifier (~> 2.5) - middleman-core (3.4.1) - activesupport (~> 4.1) - bundler (~> 1.1) - capybara (~> 2.4.4) + middleman-cli (= 4.3.4) + middleman-core (= 4.3.4) + middleman-cli (4.3.4) + thor (>= 0.17.0, < 2.0) + middleman-core (4.3.4) + activesupport (>= 4.2, < 5.1) + addressable (~> 2.3) + backports (~> 3.6) + bundler + contracts (~> 0.13.0) + dotenv erubis - hooks (~> 0.3) - i18n (~> 0.7.0) - listen (~> 3.0.3) - padrino-helpers (~> 0.12.3) - rack (>= 1.4.5, < 2.0) - thor (>= 0.15.2, < 2.0) - tilt (~> 1.4.1, < 2.0) + execjs (~> 2.0) + fast_blank + fastimage (~> 2.0) + hamster (~> 3.0) + hashie (~> 3.4) + i18n (~> 0.9.0) + listen (~> 3.0.0) + memoist (~> 0.14) + padrino-helpers (~> 0.13.0) + parallel + rack (>= 1.4.5, < 3) + sassc (~> 2.0) + servolux + tilt (~> 2.0.9) + uglifier (~> 3.0) middleman-livereload (3.4.6) em-websocket (~> 0.5.1) middleman-core (>= 3.3) rack-livereload (~> 0.3.15) - middleman-sprockets (3.5.0) - middleman-core (>= 3.3) - sprockets (~> 2.12.1) - sprockets-helpers (~> 1.1.0) - sprockets-sass (~> 1.3.0) - mime-types (3.2.2) - mime-types-data (~> 3.2015) - mime-types-data (3.2019.0331) - mini_portile2 (2.4.0) minitest (5.11.3) - multi_json (1.13.1) - nokogiri (1.10.2) - mini_portile2 (~> 2.4.0) - padrino-helpers (0.12.9) + padrino-helpers (0.13.3.4) i18n (~> 0.6, >= 0.6.7) - padrino-support (= 0.12.9) + padrino-support (= 0.13.3.4) tilt (>= 1.4.1, < 3) - padrino-support (0.12.9) + padrino-support (0.13.3.4) activesupport (>= 3.1) - rack (1.6.11) + parallel (1.17.0) + public_suffix (3.1.0) + rack (2.0.7) rack-livereload (0.3.17) rack - rack-test (1.1.0) - rack (>= 1.0, < 3) - rake (10.3.1) + rake (12.3.2) rb-fsevent (0.10.3) rb-inotify (0.10.0) ffi (~> 1.0) ref (2.0.0) rouge (3.3.0) - sass (3.4.25) - sprockets (2.12.5) - hike (~> 1.2) - multi_json (~> 1.0) - rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-helpers (1.1.0) - sprockets (~> 2.0) - sprockets-sass (1.3.1) - sprockets (~> 2.0) - tilt (~> 1.1) + sassc (2.0.1) + ffi (~> 1.9) + rake + servolux (0.13.0) temple (0.8.1) therubyracer (0.12.3) libv8 (~> 3.16.14.15) ref thor (0.20.3) thread_safe (0.3.6) - tilt (1.4.1) + tilt (2.0.9) tzinfo (1.2.5) thread_safe (~> 0.1) - uber (0.0.15) - uglifier (2.7.2) - execjs (>= 0.3.0) - json (>= 1.8.0) - xpath (2.1.0) - nokogiri (~> 1.3) + uglifier (3.2.0) + execjs (>= 0.3.0, < 3) PLATFORMS ruby DEPENDENCIES - middleman (~> 3.4.0) + middleman (~> 4.2) middleman-livereload middleman-syntax! - rake (= 10.3.1) - redcarpet! therubyracer tzinfo-data wdm (~> 0.1.0) diff --git a/asf-site-src/config.rb b/asf-site-src/config.rb index 7266503..95f30bd 100644 --- a/asf-site-src/config.rb +++ b/asf-site-src/config.rb @@ -15,19 +15,22 @@ # limitations under the License. # -set :markdown_engine, :redcarpet +set :markdown_engine, :kramdown +# rubocop:disable Layout/AlignHash set( :markdown, + input: 'GFM', layout_engine: :erb, with_toc_data: true, - smartypants: true, fenced_code_blocks: true, no_intra_emphasis: true, tables: true, autolink: true, quote: true, - lax_spacing: true + lax_spacing: true, + relative_links: true ) +# rubocop:enable Layout/AlignHash set :build_dir, 'target/site' @@ -44,8 +47,11 @@ activate :directory_indexes activate :syntax activate :livereload -# disable layout -page '.htaccess.apache', :layout => false # rubocop:disable Style/HashSyntax +# Per-page layout changes +page '/*.xml', layout: false +page '/*.json', layout: false +page '/*.txt', layout: false +page '.htaccess.apache', layout: false # classes needed to publish our api docs class CopyInPlaceResource < ::Middleman::Sitemap::Resource @@ -85,9 +91,11 @@ def shelldocs(output, docs = []) FileUtils.uptodate?(output, [SHELLDOCS]) inputs = docs.map { |entry| "--input=#{entry}" } `#{SHELLDOCS} --skipprnorep --output #{output} #{inputs.join ' '}` - unless $CHILD_STATUS.exitstatus == 0 - abort("shelldocs failed to generate docs for '#{docs}'") - end + errmsg = $stderr + return if $CHILD_STATUS.exitstatus.zero? + + puts(errmsg) + abort("shelldocs failed to generate docs for '#{docs}'") end end @@ -99,12 +107,13 @@ def releasenotes(output, version) `(cd #{output} && #{RELEASEDOCMAKER} --project=YETUS --version=#{version} \ --projecttitle="Apache Yetus" \ --dirversions --empty \ + --extension=.html.md \ --usetoday --license --lint=all)` errmsg = $stderr - unless $CHILD_STATUS.exitstatus == 0 - puts(errmsg) - abort("releasedocmaker failed to generate release notes for #{version}.") - end + return if $CHILD_STATUS.exitstatus.zero? + + puts(errmsg) + abort("releasedocmaker failed to generate release notes for #{version}.") end GITREPO = 'https://github.com/apache/yetus.git'.freeze @@ -157,24 +166,26 @@ end def precommit_shelldocs(apidocs_dir, source_dir) # core API - shelldocs("#{apidocs_dir}/core.md", Dir.glob("#{source_dir}/core.d/*.sh")) + shelldocs("#{apidocs_dir}/core.html.md", Dir.glob("#{source_dir}/core.d/*.sh")) # smart-apply-patch API - shelldocs("#{apidocs_dir}/smart-apply-patch.md", ["#{source_dir}/smart-apply-patch.sh"]) + shelldocs("#{apidocs_dir}/smart-apply-patch.html.md", ["#{source_dir}/smart-apply-patch.sh"]) # primary API - shelldocs("#{apidocs_dir}/test-patch.md", ["#{source_dir}/test-patch.sh"]) + shelldocs("#{apidocs_dir}/test-patch.html.md", ["#{source_dir}/test-patch.sh"]) # plugins API - shelldocs("#{apidocs_dir}/plugins.md", Dir.glob("#{source_dir}/test-patch.d/*.sh")) + shelldocs("#{apidocs_dir}/plugins.html.md", Dir.glob("#{source_dir}/test-patch.d/*.sh")) end # Add in apidocs rendered by other parts of the repo after_configuration do # rubocop:disable Metrics/BlockLength + # Since `after_configuration` runs twice in middleman 4, + # we will build twice if we don't skip the config run + next if app.config[:mode] == :config + # This allows us to set the style for tables. - ::Middleman::Renderers::MiddlemanRedcarpetHTML.class_eval do - def table(header, body) - '<table class=\'table table-bordered table-striped\'>' \ - "<thead>#{header}</thead>" \ - "<tbody>#{body}</tbody>" \ - '</table>' + ::Middleman::Renderers::MiddlemanKramdownHTML.class_eval do + def convert_table(el, indent) # rubocop:disable Naming/UncommunicativeMethodParamName + el.attr['class'] = 'table table-bordered table-striped' + super end end @@ -184,7 +195,8 @@ after_configuration do # rubocop:disable Metrics/BlockLength ApiDocs.new( sitemap, 'documentation/in-progress/javadocs', - '../target/site/documentation/in-progress/javadocs' + File.expand_path('../target/site/documentation/in-progress/javadocs', + File.dirname(__FILE__)) ) ) @@ -195,8 +207,8 @@ after_configuration do # rubocop:disable Metrics/BlockLength # instead of symlinks FileUtils.mkdir_p 'target/in-progress/precommit-apidocs/' precommit_shelldocs('target/in-progress/precommit-apidocs/', '../precommit/src/main/shell') - unless data.versions.releases.nil? - data.versions.releases.each do |release| + unless app.data.versions.releases.nil? + app.data.versions.releases.each do |release| build_release_docs('target', release) releasenotes('target', release) if release =~ /^0.[0-8]\./ @@ -206,7 +218,8 @@ after_configuration do # rubocop:disable Metrics/BlockLength ApiDocs.new( sitemap, "documentation/#{release}/audience-annotations-apidocs", - "target/build-#{release}/audience-annotations-component/target/site/apidocs" + File.expand_path("target/build-#{release}/audience-annotations-component/target/site/apidocs", # rubocop:disable Metrics/LineLength + File.dirname(__FILE__)) ) ) else @@ -215,7 +228,8 @@ after_configuration do # rubocop:disable Metrics/BlockLength ApiDocs.new( sitemap, "documentation/#{release}", - "target/build-#{release}" + File.expand_path("target/build-#{release}", + File.dirname(__FILE__)) ) ) end diff --git a/asf-site-src/source/_footer.md.erb b/asf-site-src/source/_footer.html.erb similarity index 100% rename from asf-site-src/source/_footer.md.erb rename to asf-site-src/source/_footer.html.erb diff --git a/asf-site-src/source/_header.md.erb b/asf-site-src/source/_header.html.erb similarity index 100% rename from asf-site-src/source/_header.md.erb rename to asf-site-src/source/_header.html.erb diff --git a/asf-site-src/source/contribute/releases.md b/asf-site-src/source/contribute/releases.html.md similarity index 84% rename from asf-site-src/source/contribute/releases.md rename to asf-site-src/source/contribute/releases.html.md index 61012bb..fe84f41 100644 --- a/asf-site-src/source/contribute/releases.md +++ b/asf-site-src/source/contribute/releases.html.md @@ -381,119 +381,119 @@ If you've gone through all of the ASF required checks, you'll already have made 1. Test Precommit. The smart-apply-patch and test-patch scripts don't get flexed as a part of the above candidate verification. If you have a downstream project you regularly use, it should suffice to attempt local verification of a contribution. If that project happens to be an ASF project with an example personality, this should be as simple as finding an issue in patch-available status. - ```bash - $ cd path/to/my/repo/for/hbase - $ /some/path/to/the/unpacked/candidate/bin/test-patch --project=hbase HBASE-1772 - ...SNIP... - -1 overall - - | Vote | Subsystem | Runtime | Comment - ============================================================================ - | 0 | reexec | 0m 0s | Docker mode activated. - | +1 | hbaseanti | 0m 0s | Patch does not have any anti-patterns. - | +1 | @\author | 0m 0s | The patch does not contain any @\author - | | | | tags. - | +1 | test4tests | 0m 0s | The patch appears to include 2 new or - | | | | modified test files. - | +1 | mvninstall | 4m 41s | master passed - | +1 | compile | 1m 4s | master passed with JDK v1.8.0_72 - | +1 | compile | 0m 57s | master passed with JDK v1.7.0_95 - | +1 | checkstyle | 0m 36s | master passed - | +1 | mvneclipse | 0m 35s | master passed - | -1 | findbugs | 1m 6s | hbase-client in master has 19 extant - | | | | Findbugs warnings. - | -1 | findbugs | 2m 8s | hbase-server in master has 84 extant - | | | | Findbugs warnings. - | -1 | javadoc | 0m 23s | hbase-client in master failed with JDK - | | | | v1.8.0_72. - | -1 | javadoc | 0m 34s | hbase-server in master failed with JDK - | | | | v1.8.0_72. - | +1 | javadoc | 0m 57s | master passed with JDK v1.7.0_95 - | +1 | mvninstall | 1m 3s | the patch passed - | +1 | compile | 0m 59s | the patch passed with JDK v1.8.0_72 - | +1 | javac | 0m 59s | the patch passed - | +1 | compile | 0m 59s | the patch passed with JDK v1.7.0_95 - | +1 | javac | 0m 59s | the patch passed - | +1 | checkstyle | 0m 32s | the patch passed - | +1 | mvneclipse | 0m 28s | the patch passed - | +1 | whitespace | 0m 0s | Patch has no whitespace issues. - | +1 | hadoopcheck | 4m 28s | Patch does not cause any errors with - | | | | Hadoop 2.4.1 2.5.2 2.6.0. - | +1 | findbugs | 3m 37s | the patch passed - | -1 | javadoc | 0m 24s | hbase-client in the patch failed with - | | | | JDK v1.8.0_72. - | -1 | javadoc | 0m 36s | hbase-server in the patch failed with - | | | | JDK v1.8.0_72. - | +1 | javadoc | 1m 2s | the patch passed with JDK v1.7.0_95 - | +1 | unit | 1m 23s | hbase-client in the patch passed with - | | | | JDK v1.8.0_72. - | -1 | unit | 67m 12s | hbase-server in the patch failed with - | | | | JDK v1.8.0_72. - | +1 | unit | 1m 28s | hbase-client in the patch passed with - | | | | JDK v1.7.0_95. - | -1 | unit | 66m 16s | hbase-server in the patch failed with - | | | | JDK v1.7.0_95. - | +1 | asflicense | 0m 30s | Patch does not generate ASF License - | | | | warnings. - | | | 177m 13s | - - - Reason | Tests - JDK v1.8.0_72 Failed junit tests | hadoop.hbase.client.TestMultiParallel - JDK v1.7.0_95 Failed junit tests | hadoop.hbase.client.TestMultiParallel - - - || Subsystem || Report/Notes || - ============================================================================ - | Docker | Client=1.9.1 Server=1.9.1 Image:yetus/hbase:date2016-02-11 | - | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12787466/HBASE-1772.patch | - | JIRA Issue | HBASE-15198 | - | Optional Tests | asflicense javac javadoc unit findbugs hadoopcheck hbaseanti checkstyle compile | - | uname | Linux 67e02eb9aeea 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | - | Build tool | maven | - | Personality | /testptch/patchprocess/precommit/personality/hbase.sh | - | git revision | master / 81a6fff | - | findbugs | v2.0.1 | - | findbugs | /testptch/patchprocess/branch-findbugs-hbase-client-warnings.html | - | findbugs | /testptch/patchprocess/branch-findbugs-hbase-server-warnings.html | - | javadoc | /testptch/patchprocess/branch-javadoc-hbase-client-jdk1.8.0_72.txt | - | javadoc | /testptch/patchprocess/branch-javadoc-hbase-server-jdk1.8.0_72.txt | - | javadoc | /testptch/patchprocess/patch-javadoc-hbase-client-jdk1.8.0_72.txt | - | javadoc | /testptch/patchprocess/patch-javadoc-hbase-server-jdk1.8.0_72.txt | - | unit | /testptch/patchprocess/patch-unit-hbase-server-jdk1.8.0_72.txt | - | unit | /testptch/patchprocess/patch-unit-hbase-server-jdk1.7.0_95.txt | - | unit test logs | /testptch/patchprocess/patch-unit-hbase-server-jdk1.8.0_72.txt /testptch/patchprocess/patch-unit-hbase-server-jdk1.7.0_95.txt | - | modules | C: hbase-client hbase-server U: . | - | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | - ``` + ```bash + $ cd path/to/my/repo/for/hbase + $ /some/path/to/the/unpacked/candidate/bin/test-patch --project=hbase HBASE-1772 + ...SNIP... + -1 overall + + | Vote | Subsystem | Runtime | Comment + ============================================================================ + | 0 | reexec | 0m 0s | Docker mode activated. + | +1 | hbaseanti | 0m 0s | Patch does not have any anti-patterns. + | +1 | @\author | 0m 0s | The patch does not contain any @\author + | | | | tags. + | +1 | test4tests | 0m 0s | The patch appears to include 2 new or + | | | | modified test files. + | +1 | mvninstall | 4m 41s | master passed + | +1 | compile | 1m 4s | master passed with JDK v1.8.0_72 + | +1 | compile | 0m 57s | master passed with JDK v1.7.0_95 + | +1 | checkstyle | 0m 36s | master passed + | +1 | mvneclipse | 0m 35s | master passed + | -1 | findbugs | 1m 6s | hbase-client in master has 19 extant + | | | | Findbugs warnings. + | -1 | findbugs | 2m 8s | hbase-server in master has 84 extant + | | | | Findbugs warnings. + | -1 | javadoc | 0m 23s | hbase-client in master failed with JDK + | | | | v1.8.0_72. + | -1 | javadoc | 0m 34s | hbase-server in master failed with JDK + | | | | v1.8.0_72. + | +1 | javadoc | 0m 57s | master passed with JDK v1.7.0_95 + | +1 | mvninstall | 1m 3s | the patch passed + | +1 | compile | 0m 59s | the patch passed with JDK v1.8.0_72 + | +1 | javac | 0m 59s | the patch passed + | +1 | compile | 0m 59s | the patch passed with JDK v1.7.0_95 + | +1 | javac | 0m 59s | the patch passed + | +1 | checkstyle | 0m 32s | the patch passed + | +1 | mvneclipse | 0m 28s | the patch passed + | +1 | whitespace | 0m 0s | Patch has no whitespace issues. + | +1 | hadoopcheck | 4m 28s | Patch does not cause any errors with + | | | | Hadoop 2.4.1 2.5.2 2.6.0. + | +1 | findbugs | 3m 37s | the patch passed + | -1 | javadoc | 0m 24s | hbase-client in the patch failed with + | | | | JDK v1.8.0_72. + | -1 | javadoc | 0m 36s | hbase-server in the patch failed with + | | | | JDK v1.8.0_72. + | +1 | javadoc | 1m 2s | the patch passed with JDK v1.7.0_95 + | +1 | unit | 1m 23s | hbase-client in the patch passed with + | | | | JDK v1.8.0_72. + | -1 | unit | 67m 12s | hbase-server in the patch failed with + | | | | JDK v1.8.0_72. + | +1 | unit | 1m 28s | hbase-client in the patch passed with + | | | | JDK v1.7.0_95. + | -1 | unit | 66m 16s | hbase-server in the patch failed with + | | | | JDK v1.7.0_95. + | +1 | asflicense | 0m 30s | Patch does not generate ASF License + | | | | warnings. + | | | 177m 13s | + + + Reason | Tests + JDK v1.8.0_72 Failed junit tests | hadoop.hbase.client.TestMultiParallel + JDK v1.7.0_95 Failed junit tests | hadoop.hbase.client.TestMultiParallel + + + || Subsystem || Report/Notes || + ============================================================================ + | Docker | Client=1.9.1 Server=1.9.1 Image:yetus/hbase:date2016-02-11 | + | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12787466/HBASE-1772.patch | + | JIRA Issue | HBASE-15198 | + | Optional Tests | asflicense javac javadoc unit findbugs hadoopcheck hbaseanti checkstyle compile | + | uname | Linux 67e02eb9aeea 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | + | Build tool | maven | + | Personality | /testptch/patchprocess/precommit/personality/hbase.sh | + | git revision | master / 81a6fff | + | findbugs | v2.0.1 | + | findbugs | /testptch/patchprocess/branch-findbugs-hbase-client-warnings.html | + | findbugs | /testptch/patchprocess/branch-findbugs-hbase-server-warnings.html | + | javadoc | /testptch/patchprocess/branch-javadoc-hbase-client-jdk1.8.0_72.txt | + | javadoc | /testptch/patchprocess/branch-javadoc-hbase-server-jdk1.8.0_72.txt | + | javadoc | /testptch/patchprocess/patch-javadoc-hbase-client-jdk1.8.0_72.txt | + | javadoc | /testptch/patchprocess/patch-javadoc-hbase-server-jdk1.8.0_72.txt | + | unit | /testptch/patchprocess/patch-unit-hbase-server-jdk1.8.0_72.txt | + | unit | /testptch/patchprocess/patch-unit-hbase-server-jdk1.7.0_95.txt | + | unit test logs | /testptch/patchprocess/patch-unit-hbase-server-jdk1.8.0_72.txt /testptch/patchprocess/patch-unit-hbase-server-jdk1.7.0_95.txt | + | modules | C: hbase-client hbase-server U: . | + | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | + ``` 1. Test Audience Annotations. If you have a downstream project that relies on the audience annotations project, you should be able to install the jars locally and test with the updated version. - ```bash - $ mkdir apache-yetus-0.7.0-src_unpack - $ tar -C apache-yetus-0.7.0-src_unpack -xzf apache-yetus-0.7.0-src.tar.gz - $ cd apache-yetus-0.7.0-src_unpack/yetus-0.7.0 - $ mvn --batch-mode install - ...SNIP... - [INFO] ------------------------------------------------------------------------ - [INFO] BUILD SUCCESS - [INFO] ------------------------------------------------------------------------ - [INFO] Total time: 3.539 s - [INFO] Finished at: 2016-02-13T02:12:39-06:00 - [INFO] Final Memory: 14M/160M - [INFO] ------------------------------------------------------------------------ - $ cd path/to/your/project - $ vim pom.xml # edit version to be e.g. 0.7.0 - $ mvn verify - ...SNIP... - [INFO] ------------------------------------------------------------------------ - [INFO] BUILD SUCCESS - [INFO] ------------------------------------------------------------------------ - [INFO] Total time: 7.539 m - [INFO] Finished at: 2016-02-13T02:13:39-06:00 - [INFO] Final Memory: 14M/160M - [INFO] ------------------------------------------------------------------------ - ``` + ```bash + $ mkdir apache-yetus-0.7.0-src_unpack + $ tar -C apache-yetus-0.7.0-src_unpack -xzf apache-yetus-0.7.0-src.tar.gz + $ cd apache-yetus-0.7.0-src_unpack/yetus-0.7.0 + $ mvn --batch-mode install + ...SNIP... + [INFO] ------------------------------------------------------------------------ + [INFO] BUILD SUCCESS + [INFO] ------------------------------------------------------------------------ + [INFO] Total time: 3.539 s + [INFO] Finished at: 2016-02-13T02:12:39-06:00 + [INFO] Final Memory: 14M/160M + [INFO] ------------------------------------------------------------------------ + $ cd path/to/your/project + $ vim pom.xml # edit version to be e.g. 0.7.0 + $ mvn verify + ...SNIP... + [INFO] ------------------------------------------------------------------------ + [INFO] BUILD SUCCESS + [INFO] ------------------------------------------------------------------------ + [INFO] Total time: 7.539 m + [INFO] Finished at: 2016-02-13T02:13:39-06:00 + [INFO] Final Memory: 14M/160M + [INFO] ------------------------------------------------------------------------ + ``` ## Cleanup diff --git a/asf-site-src/source/contribute/website.md b/asf-site-src/source/contribute/website.html.md similarity index 100% rename from asf-site-src/source/contribute/website.md rename to asf-site-src/source/contribute/website.html.md diff --git a/asf-site-src/source/documentation/in-progress/interface-classification.md b/asf-site-src/source/documentation/in-progress/interface-classification.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/interface-classification.md rename to asf-site-src/source/documentation/in-progress/interface-classification.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-admin.md b/asf-site-src/source/documentation/in-progress/precommit-admin.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-admin.md rename to asf-site-src/source/documentation/in-progress/precommit-admin.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-advanced.md b/asf-site-src/source/documentation/in-progress/precommit-advanced.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-advanced.md rename to asf-site-src/source/documentation/in-progress/precommit-advanced.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-apidocs.md.erb b/asf-site-src/source/documentation/in-progress/precommit-apidocs.html.md similarity index 70% rename from asf-site-src/source/documentation/in-progress/precommit-apidocs.md.erb rename to asf-site-src/source/documentation/in-progress/precommit-apidocs.html.md index e2f05d3..7b68109 100644 --- a/asf-site-src/source/documentation/in-progress/precommit-apidocs.md.erb +++ b/asf-site-src/source/documentation/in-progress/precommit-apidocs.html.md @@ -16,12 +16,13 @@ specific language governing permissions and limitations under the License. --> -Precommit API Docs -================== + +# Precommit API Docs + Following gives the downstream consumable API for precommit components. -* <%= link_to "Core Functions", "core" %>, common to both smart-apply-patch and test-patch. -* <%= link_to "Smart Apply Patch", "smart-apply-patch" %> -* <%= link_to "Test Patch", "test-patch" %>, available to all plugins. -* <%= link_to "Precommit Plugins", "plugins" %> +* [Core Functions](core/), common to both smart-apply-patch and test-patch. +* [Smart Apply Patch](smart-apply-patch/) available to all plugins when running under smart-apply-patch. +* [Test Patch](test-patch/), available to all plugins when running under test-patch. +* [Precommit Plugins](plugins/) APIs available when they are also enabled. diff --git a/asf-site-src/source/documentation/in-progress/precommit-architecture.md b/asf-site-src/source/documentation/in-progress/precommit-architecture.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-architecture.md rename to asf-site-src/source/documentation/in-progress/precommit-architecture.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-basic.md b/asf-site-src/source/documentation/in-progress/precommit-basic.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-basic.md rename to asf-site-src/source/documentation/in-progress/precommit-basic.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-bugsystems.md b/asf-site-src/source/documentation/in-progress/precommit-bugsystems.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-bugsystems.md rename to asf-site-src/source/documentation/in-progress/precommit-bugsystems.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-buildtools.md b/asf-site-src/source/documentation/in-progress/precommit-buildtools.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-buildtools.md rename to asf-site-src/source/documentation/in-progress/precommit-buildtools.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-docker-cleanup.md b/asf-site-src/source/documentation/in-progress/precommit-docker-cleanup.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-docker-cleanup.md rename to asf-site-src/source/documentation/in-progress/precommit-docker-cleanup.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-docker.md b/asf-site-src/source/documentation/in-progress/precommit-docker.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-docker.md rename to asf-site-src/source/documentation/in-progress/precommit-docker.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-glossary.md b/asf-site-src/source/documentation/in-progress/precommit-glossary.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-glossary.md rename to asf-site-src/source/documentation/in-progress/precommit-glossary.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-patchnames.md b/asf-site-src/source/documentation/in-progress/precommit-patchnames.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-patchnames.md rename to asf-site-src/source/documentation/in-progress/precommit-patchnames.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-qbt.md b/asf-site-src/source/documentation/in-progress/precommit-qbt.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-qbt.md rename to asf-site-src/source/documentation/in-progress/precommit-qbt.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-robots.md b/asf-site-src/source/documentation/in-progress/precommit-robots.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-robots.md rename to asf-site-src/source/documentation/in-progress/precommit-robots.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.md b/asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.md rename to asf-site-src/source/documentation/in-progress/precommit-smart-apply-patch.html.md diff --git a/asf-site-src/source/documentation/in-progress/precommit-testformats.md b/asf-site-src/source/documentation/in-progress/precommit-testformats.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/precommit-testformats.md rename to asf-site-src/source/documentation/in-progress/precommit-testformats.html.md diff --git a/asf-site-src/source/documentation/in-progress/releasedocmaker.md b/asf-site-src/source/documentation/in-progress/releasedocmaker.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/releasedocmaker.md rename to asf-site-src/source/documentation/in-progress/releasedocmaker.html.md diff --git a/asf-site-src/source/documentation/in-progress/shelldocs.md b/asf-site-src/source/documentation/in-progress/shelldocs.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/shelldocs.md rename to asf-site-src/source/documentation/in-progress/shelldocs.html.md diff --git a/asf-site-src/source/documentation/in-progress/yetus-maven-plugin.md b/asf-site-src/source/documentation/in-progress/yetus-maven-plugin.html.md similarity index 100% rename from asf-site-src/source/documentation/in-progress/yetus-maven-plugin.md rename to asf-site-src/source/documentation/in-progress/yetus-maven-plugin.html.md diff --git a/asf-site-src/source/layouts/layout.erb b/asf-site-src/source/layouts/layout.html.erb similarity index 95% rename from asf-site-src/source/layouts/layout.erb rename to asf-site-src/source/layouts/layout.html.erb index 16cfd2c..4d01639 100644 --- a/asf-site-src/source/layouts/layout.erb +++ b/asf-site-src/source/layouts/layout.html.erb @@ -27,7 +27,7 @@ <link href="/assets/css/bootstrap.css" rel="stylesheet"> <link href="/assets/css/bootstrap-theme.css" rel="stylesheet"> - <link href="/assets/css/font-awesome.css" rel="stylesheet"> + <link href="/assets/css/font-awesome.css" rel="stylesheet"> <!-- JS --> <script type="text/javascript" src="/assets/js/jquery-2.1.4.min.js"></script> diff --git a/asf-site-src/source/yetus-docker-image.md b/asf-site-src/source/yetus-docker-image.html.md similarity index 100% rename from asf-site-src/source/yetus-docker-image.md rename to asf-site-src/source/yetus-docker-image.html.md