Repository: incubator-impala
Updated Branches:
  refs/heads/asf-site 0493c6261 -> 9a6049c78


IMPALA-5470: Modernize links and instructions on download page

This switches from dist.apache.org to www.apache.org/dist for links
for the hashes and signatures. It also includes instructions for how
to check them.

Change-Id: Ibec680428cb7e0df3f831527218d296214eff5c7
Reviewed-on: http://gerrit.cloudera.org:8080/7124
Reviewed-by: Lars Volker <[email protected]>
Tested-by: Jim Apple <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-impala/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-impala/commit/9a6049c7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-impala/tree/9a6049c7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-impala/diff/9a6049c7

Branch: refs/heads/asf-site
Commit: 9a6049c78b3749071b3385a838b5e733a079627e
Parents: 0493c62
Author: Jim Apple <[email protected]>
Authored: Thu Jun 8 15:36:52 2017 -0700
Committer: Jim Apple <[email protected]>
Committed: Sat Jun 10 05:17:21 2017 +0000

----------------------------------------------------------------------
 downloads.html | 40 +++++++++++++++++++++++++++++++++-------
 1 file changed, 33 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-impala/blob/9a6049c7/downloads.html
----------------------------------------------------------------------
diff --git a/downloads.html b/downloads.html
index 3ca4e52..c6d66f9 100644
--- a/downloads.html
+++ b/downloads.html
@@ -157,13 +157,13 @@ body {
             for build instructions</a>.</p>
 
             <p>Please check the <a href=
-            
"https://dist.apache.org/repos/dist/release/incubator/impala/2.8.0/apache-impala-incubating-2.8.0.tar.gz.md5";>
+            
"https://www.apache.org/dist/incubator/impala/2.8.0/apache-impala-incubating-2.8.0.tar.gz.md5";>
             MD5</a> and <a href=
-            
"https://dist.apache.org/repos/dist/release/incubator/impala/2.8.0/apache-impala-incubating-2.8.0.tar.gz.sha";>
+            
"https://www.apache.org/dist/incubator/impala/2.8.0/apache-impala-incubating-2.8.0.tar.gz.sha";>
             SHA1</a> and <a href=
-            
"https://dist.apache.org/repos/dist/release/incubator/impala/2.8.0/apache-impala-incubating-2.8.0.tar.gz.asc";>
+            
"https://www.apache.org/dist/incubator/impala/2.8.0/apache-impala-incubating-2.8.0.tar.gz.asc";>
             GPG signature</a>, the latter by using <a href=
-            
"https://dist.apache.org/repos/dist/release/incubator/impala/KEYS";>the code
+            "https://www.apache.org/dist/incubator/impala/KEYS";>the code
             signing keys of the release managers</a>.</p>
 
             <p>Developers interested in working on Impala can <code>git clone 
https://git-wip-us.apache.org/repos/asf/incubator-impala.git</code></p>
@@ -173,15 +173,41 @@ body {
                 <li>
                   <a 
href="http://www.apache.org/dyn/closer.cgi?action=download&amp;filename=incubator/impala/2.7.0/apache-impala-incubating-2.7.0.tar.gz";>
                     Impala 2.7.0</a>, with associated
-                  <a 
href="https://dist.apache.org/repos/dist/release/incubator/impala/2.7.0/apache-impala-incubating-2.7.0.tar.gz.md5";>
+                  <a 
href="https://www.apache.org/dist/incubator/impala/2.7.0/apache-impala-incubating-2.7.0.tar.gz.md5";>
                     MD5</a>,
-                  <a 
href="https://dist.apache.org/repos/dist/release/incubator/impala/2.7.0/apache-impala-incubating-2.7.0.tar.gz.sha";>
+                  <a 
href="https://www.apache.org/dist/incubator/impala/2.7.0/apache-impala-incubating-2.7.0.tar.gz.sha";>
                     SHA1</a>, and
-                  <a 
href="https://dist.apache.org/repos/dist/release/incubator/impala/2.7.0/apache-impala-incubating-2.7.0.tar.gz.asc";>
+                  <a 
href="https://www.apache.org/dist/incubator/impala/2.7.0/apache-impala-incubating-2.7.0.tar.gz.asc";>
                     GPG signature</a>.
                 </li>
               </ul>
             </p>
+            <p>How to check sigs and hashes:
+              <ul>
+                <li>To check an MD5 sum:
+                  <ul>
+                    <li>On Linux, run <code>md5sum --check 
${IMPALA_TARBALL}.md5</code></li>
+                    <li>On a Mac, run <code>md5 ${IMPALA_TARBALL} &amp;&amp; 
cat
+                        ${IMPALA_TARBALL}.md5</code> and compare the two lines 
that were printed;
+                        they sould be the same.</li>
+                </ul></li>
+                <li>To check a SHA1 sum:
+                  <ul>
+                    <li>On Linux, run <code>sha1sum --check 
${IMPALA_TARBALL}.sha</code></li>
+                    <li>On a Mac, run <code>shasum --check 
${IMPALA_TARBALL}.sha</code></li>
+                  </ul>
+                </li>
+                <li>To check a SHA512 sum:
+                  <ul>
+                    <li>On Linux, run <code>sha512sum --check 
${IMPALA_TARBALL}.sha</code></li>
+                    <li>On a Mac, run <code>shasum --check 
${IMPALA_TARBALL}.sha</code></li>
+                  </ul>
+                </li>
+                <li>To check a GPG signature, first download the code signing 
keys of the release
+                  managers. Then import them using <code>gpg --import 
KEYS</code>. Finally,
+                  run <code>gpg --verify ${IMPALA_TARBALL}.asc</code></li>
+              </ul>
+            </p>
             <div class="navbar">
               <div class="navbar-inner">
                 <div class="container">

Reply via email to