Repository: incubator-hivemall-site Updated Branches: refs/heads/asf-site ff2b380fe -> 820544a55
Renamed verify_howto.html to verify_artifacts.html Project: http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/commit/820544a5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/tree/820544a5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/diff/820544a5 Branch: refs/heads/asf-site Commit: 820544a559272bf29d80ccd0063a0acf05d5c03b Parents: ff2b380 Author: Makoto Yui <m...@apache.org> Authored: Wed Feb 14 16:52:13 2018 +0900 Committer: Makoto Yui <m...@apache.org> Committed: Wed Feb 14 16:52:13 2018 +0900 ---------------------------------------------------------------------- verify_artifacts.html | 8 +- verify_howto.html | 228 --------------------------------------------- 2 files changed, 4 insertions(+), 232 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/820544a5/verify_artifacts.html ---------------------------------------------------------------------- diff --git a/verify_artifacts.html b/verify_artifacts.html index c03a108..ae6a2b8 100644 --- a/verify_artifacts.html +++ b/verify_artifacts.html @@ -84,7 +84,7 @@ <div id="breadcrumbs"> <ul class="breadcrumb"> - <li id="publishDate">Last Published: 2018-01-25<span class="divider">|</span> + <li id="publishDate">Last Published: 2018-02-14<span class="divider">|</span> </li> <li id="projectVersion">Version: 0.5.0-incubating-SNAPSHOT</li> </ul> @@ -132,7 +132,7 @@ gpg --import KEYS <div class="source"> <div class="source"><pre class="prettyprint">VERSION=0.5.0 -RC_NUMBER=2 +RC_NUMBER=3 wget -e robots=off --no-check-certificate \ -r -np --reject=html,txt,tmp -nH --cut-dirs=5 \ @@ -179,8 +179,8 @@ done <h1>4. Build, Test, and Verify source</h1> <div class="source"> -<div class="source"><pre class="prettyprint">unzip hivemall-${version}-incubating-rc${rc_number}-source-release.zip -cd hivemall-${version}-incubating-rc${rc_number} +<div class="source"><pre class="prettyprint">unzip hivemall-${VERSION}-incubating-source-release.zip +cd hivemall-${VERSION}-incubating # workaround for Maven sign-release-artifacts plugin export GPG_TTY=$(tty) http://git-wip-us.apache.org/repos/asf/incubator-hivemall-site/blob/820544a5/verify_howto.html ---------------------------------------------------------------------- diff --git a/verify_howto.html b/verify_howto.html deleted file mode 100644 index ae6a2b8..0000000 --- a/verify_howto.html +++ /dev/null @@ -1,228 +0,0 @@ -<!DOCTYPE html> -<!-- - | Generated by Apache Maven Doxia Site Renderer 1.7.1 - | Rendered using Apache Maven Fluido Skin 1.6 ---> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - <head> - <meta charset="UTF-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta http-equiv="Content-Language" content="en" /> - <title>Apache Hivemall – 1. Preparation</title> - <link rel="stylesheet" href="./css/apache-maven-fluido-1.6.min.css" /> - <link rel="stylesheet" href="./css/site.css" /> - <link rel="stylesheet" href="./css/print.css" media="print" /> - <script type="text/javascript" src="./js/apache-maven-fluido-1.6.min.js"></script> - </head> - <body class="topBarEnabled"> - <a href="https://github.com/apache/incubator-hivemall"> - <img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;" - src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" - alt="Fork me on GitHub"> - </a> - <div id="topbar" class="navbar navbar-fixed-top navbar-inverse"> - <div class="navbar-inner"> - <div class="container"><div class="nav-collapse"> - <ul class="nav"> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="index.html" title="Home">Home</a></li> - <li><a href="download.html" title="Download">Download</a></li> - <li><a href="license.html" title="Licenses">Licenses</a></li> - <li><a href="team-list.html" title="Team">Team</a></li> - <li><a href="poweredby.html" title="Powered By">Powered By</a></li> - <li><a href="http://incubator.apache.org/projects/hivemall.html" title="Incubation Status">Incubation Status</a></li> - </ul> - </li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="userguide/index.html" title="User Guide">User Guide</a></li> - <li><a href="overview.html" title="Overview">Overview</a></li> - <li><a href="https://cwiki.apache.org/confluence/display/HIVEMALL" target="_blank" title="Wiki">Wiki</a></li> - <li><a href="faq.html" title="FAQ">FAQ</a></li> - </ul> - </li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Get Involved <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="mail-lists.html" title="Mailing Lists">Mailing Lists</a></li> - <li><a href="https://issues.apache.org/jira/browse/HIVEMALL" target="_blank" title="Issues (Jira)">Issues (Jira)</a></li> - <li><a href="repository.html" title="Source (Git)">Source (Git)</a></li> - <li><a href="https://travis-ci.org/apache/incubator-hivemall" target="_blank" title="Travis CI">Travis CI</a></li> - <li><a href="contributing.html" title="Contributing">Contributing</a></li> - <li><a href="release-guide.html" title="Release Guide">Release Guide</a></li> - </ul> - </li> - <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a> - <ul class="dropdown-menu"> - <li><a href="http://www.apache.org/foundation/how-it-works.html" target="_blank" title="How Apache Works">How Apache Works</a></li> - <li><a href="http://www.apache.org/foundation/" target="_blank" title="Foundation">Foundation</a></li> - <li><a href="http://www.apache.org/foundation/sponsorship.html" target="_blank" title="Sponsoring Apache">Sponsoring Apache</a></li> - <li><a href="http://www.apache.org/foundation/thanks.html" target="_blank" title="Thanks">Thanks</a></li> - </ul> - </li> - </ul> - <ul class="nav pull-right"><li> - <a href="https://twitter.com/ApacheHivemall" class="twitter-follow-button" data-show-count="false" data-align="right" data-size="large" data-show-screen-name="true" data-lang="en">Follow ApacheHivemall</a> - <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> - </li></ul> - </div> - </div> - </div> - </div> - <div class="container"> - <div id="banner"> - <div class="pull-left"><div id="bannerLeft"><h2>Apache Hivemall</h2> -</div> -</div> - <div class="pull-right"></div> - <div class="clear"><hr/></div> - </div> - - <div id="breadcrumbs"> - <ul class="breadcrumb"> - <li id="publishDate">Last Published: 2018-02-14<span class="divider">|</span> -</li> - <li id="projectVersion">Version: 0.5.0-incubating-SNAPSHOT</li> - </ul> - </div> - <div id="bodyColumn" > -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, 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. ---> -<!-- toc --><h1>1. Preparation</h1> -<div class="section"> -<h2><a name="Install_required_softwares"></a>Install required softwares</h2> -<p>GPG and Maven, JDK 7 is mandatory for verification.</p> - -<div class="source"> -<div class="source"><pre class="prettyprint">brew install gpg gpg-agent pinentry-mac -brew install maven -brew install md5sha1sum -</pre></div></div></div> -<div class="section"> -<h2><a name="Import_GPG_KEYS"></a>Import GPG KEYS</h2> - -<div class="source"> -<div class="source"><pre class="prettyprint"># Download GPG KEYS -wget https://dist.apache.org/repos/dist/dev/incubator/hivemall/KEYS - -# import KEYS for GPG verification -gpg --import KEYS -</pre></div></div> -<h1>2. Download all release artifacts</h1> - -<div class="source"> -<div class="source"><pre class="prettyprint">VERSION=0.5.0 -RC_NUMBER=3 - -wget -e robots=off --no-check-certificate \ - -r -np --reject=html,txt,tmp -nH --cut-dirs=5 \ - https://dist.apache.org/repos/dist/dev/incubator/hivemall/${VERSION}-incubating-rc${RC_NUMBER}/ -</pre></div></div> -<h1>3. Verify SHA1, MD5, and GPG signatures.</h1> - -<div class="source"> -<div class="source"><pre class="prettyprint">cd ${VERSION}-incubating-rc${RC_NUMBER}/ - -for f in `find . -type f -iname '*.sha1'`; do - echo -n "Verifying ${f%.*} ... " - sha1sum ${f%.*} | cut -f1 -d' ' | diff -Bw - ${f} - if [ $? -eq 0 ]; then - echo 'Valid' - else - echo "SHA1 is Invalid: ${f}" >&2 - exit 1 - fi -done -echo -for f in `find . -type f -iname '*.md5'`; do - echo -n "Verifying ${f%.*} ... " - md5sum ${f%.*} | cut -f1 -d' ' | diff -Bw - ${f} - if [ $? -eq 0 ]; then - echo 'Valid' - else - echo "MD5 is Invalid: ${f%.*}" >&2 - exit 1 - fi -done -echo -for f in `find . -type f -iname '*.asc'`; do - gpg --verify ${f} - if [ $? -eq 0 ]; then - echo "GPG signature is correct: ${f%.*}" - else - echo "GPG signature is Invalid: ${f%.*}" >&2 - exit 1 - fi - echo -done -</pre></div></div> -<h1>4. Build, Test, and Verify source</h1> - -<div class="source"> -<div class="source"><pre class="prettyprint">unzip hivemall-${VERSION}-incubating-source-release.zip -cd hivemall-${VERSION}-incubating - -# workaround for Maven sign-release-artifacts plugin -export GPG_TTY=$(tty) - -# JDK 7 is required for packaging -export JAVA_HOME=`/usr/libexec/java_home -v 1.7` - -# Java 8 is required for building Spark 2.2 module -export JAVA8_HOME=`/usr/libexec/java_home -v 1.8` - -# Try to create artifacts -export MAVEN_OPTS=-XX:MaxPermSize=256m - -# Try to create artifacts -# RAT license check and unit tests will be issued -mvn -Papache-release clean install - -# Verify Signatures of Release Artifacts -cd target/ -for file in `find . -type f -iname '*.asc'`; do - gpg --verify ${file} -done -</pre></div></div></div> - </div> - </div> - <hr/> - <footer> - <div class="container"> - <div class="row"> -<p> - <small> - Apache Hivemall is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by <a href="http://incubator.apache.org/">the Apache Incubator</a>. - Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, - and decision making process have stabilized in a manner consistent with other successful ASF projects. - While incubation status is not necessarily a reflection of the completeness or stability of the code, - it does indicate that the project has yet to be fully endorsed by the ASF. - </small> - </p> - </div> - <p id="poweredBy" class="pull-right"> <a href="http://incubator.apache.org/projects/hivemall.html" title="Apache Incubator" class="builtBy"><img class="builtBy" alt="Apache Incubator" src="http://incubator.apache.org/images/egg-logo.png" /></a> - </p> - </div> - </footer> - </body> -</html>