You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by pb...@apache.org on 2018/06/16 19:05:43 UTC

svn commit: r1833646 - in /phoenix/site: publish/download.html publish/js/download.js source/src/site/markdown/download.md source/src/site/resources/js/ source/src/site/resources/js/download.js

Author: pboado
Date: Sat Jun 16 19:05:43 2018
New Revision: 1833646

URL: http://svn.apache.org/viewvc?rev=1833646&view=rev
Log:
Update download page with list of releases

Added:
    phoenix/site/publish/js/download.js
    phoenix/site/source/src/site/resources/js/
    phoenix/site/source/src/site/resources/js/download.js
Modified:
    phoenix/site/publish/download.html
    phoenix/site/source/src/site/markdown/download.md

Modified: phoenix/site/publish/download.html
URL: http://svn.apache.org/viewvc/phoenix/site/publish/download.html?rev=1833646&r1=1833645&r2=1833646&view=diff
==============================================================================
--- phoenix/site/publish/download.html (original)
+++ phoenix/site/publish/download.html Sat Jun 16 19:05:43 2018
@@ -1,7 +1,7 @@
 
 <!DOCTYPE html>
 <!--
- Generated by Apache Maven Doxia at 2018-06-10
+ Generated by Apache Maven Doxia at 2018-06-16
  Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin)
 -->
 <html  xml:lang="en" lang="en">
@@ -165,12 +165,35 @@
 <div class="page-header">
  <h1>Phoenix Downloads</h1>
 </div> 
-<div class="section"> 
- <div class="section"> 
-  <h3 id="Download_Latest_Phoenix_Binary_and_Source_Releases"><a class="externalLink" href="http://www.apache.org/dyn/closer.lua/phoenix/"><u>Download Latest Phoenix Binary and Source Releases</u></a></h3> 
-  <p>See our installation instructions <a href="installation.html">here</a>, our release notes <a href="release_notes.html">here</a>, and a list of fixes new features <a class="externalLink" href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12334393&amp;projectId=12315120">here</a></p> 
- </div> 
-</div>
+<p>The below table lists mirrored release artifacts and their associated hashes and signatures available ONLY at apache.org. The keys used to sign releases can be found in our published <a class="externalLink" href="http://www.apache.org/dist/phoenix/KEYS">KEYS</a> file. See our installation instructions <a href="installation.html">here</a>, our release notes <a href="release_notes.html">here</a>, and a list of fixes new features <a class="externalLink" href="https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12334393&amp;projectId=12315120">here</a> Follow <a class="externalLink" href="https://www.apache.org/dyn/closer.cgi#verify">Verify the Integrity of the Files</a> for how to verify your mirrored downloads.</p> 
+<table border="0" class="bodyTable table table-striped table-hover" id="releases"> 
+ <thead> 
+  <tr class="a"> 
+   <th>Version</th> 
+   <th>Release Date</th> 
+   <th>Commit</th> 
+   <th>Download</th> 
+  </tr> 
+ </thead> 
+ <tbody> 
+ </tbody> 
+</table> 
+<p>If you are looking for an old release that is not present here or on the mirror, check the <a class="externalLink" href="http://archive.apache.org/dist/phoenix/">Apache Archive</a>. </p> 
+<script src="/js/download.js"></script> 
+<script>
+//<![CDATA[
+addRelease('4.14.0-HBase-0.98','09/jun/2018','22b3b206c656aed088f3f25cfef9cae669923ea7');
+addRelease('4.14.0-HBase-1.1','09/jun/2018','6a365b8713542486b2ae46032d59c9b22d3efe43');
+addRelease('4.14.0-HBase-1.2','09/jun/2018','9db22d8b7658d56b14650d90996cbf50747dd4d9');
+addRelease('4.14.0-HBase-1.3','09/jun/2018','c27c68cf1e183d450cf21c20f3994e3192479e46');
+addRelease('4.14.0-HBase-1.4','09/jun/2018','a7adbbcca749cd69de808195a09328c330e731c5');
+addRelease('4.14.0-cdh5.11.2','09/jun/2018','0a06e5964f3f7634cd8d70208fc1b07e2890cb1f');
+addRelease('4.14.0-cdh5.12.2','09/jun/2018','44939d29e04d07cc668c93437c805f8dcf60cd58');
+addRelease('4.14.0-cdh5.13.2','09/jun/2018','b68b9e34c6ece256c6b57edfbe0431af1fc27eb6');
+addRelease('4.14.0-cdh5.14.2','09/jun/2018','3c72eef250ffd6ea172d273121a400a944d02843');
+addRelease('5.0.0-alpha-HBase-2.0','09/feb/2018','451d6a37d0d461b60edff36ceb42b17bb9610350');
+//]]>
+</script>
 			</div>
 		</div>
 	</div>

Added: phoenix/site/publish/js/download.js
URL: http://svn.apache.org/viewvc/phoenix/site/publish/js/download.js?rev=1833646&view=auto
==============================================================================
--- phoenix/site/publish/js/download.js (added)
+++ phoenix/site/publish/js/download.js Sat Jun 16 19:05:43 2018
@@ -0,0 +1,31 @@
+var apacheUrl = "http://www.apache.org/dist/phoenix/"
+var dynUrl = "http://www.apache.org/dyn/closer.lua/phoenix/"
+
+function parcelFolderHtml(version) {
+    return '<li><a href="' + apacheUrl + 'apache-phoenix-' + version + '/parcels/">parcels</a></li>';
+}
+
+function addRelease(version, date, commit) {
+    var tr = document.createElement('tr');
+    var parcelsHtml = version.includes('-cdh') ? parcelFolderHtml(version) : ''
+    tr.innerHTML =
+        '<td>' + version + '</td>' +
+        '<td>' + date + '</td>' +
+        '<td><a href="https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=' + commit + '">' + commit + '</a></td>' +
+        '<td><ul><li>' +
+          '<a href="' + dynUrl + 'apache-phoenix-' + version + '/bin/apache-phoenix-' + version + '-bin.tar.gz">bin</a> ( ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/bin/apache-phoenix-' + version + '-bin.tar.gz.sha256">sha256</a> ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/bin/apache-phoenix-' + version + '-bin.tar.gz.sha512">sha512</a> ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/bin/apache-phoenix-' + version + '-bin.tar.gz.asc">asc</a> ' +
+        ')</li><li>' +
+          '<a href="' + dynUrl + 'apache-phoenix-' + version + '/src/apache-phoenix-' + version + '-src.tar.gz">src</a> ( ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/src/apache-phoenix-' + version + '-src.tar.gz.sha256">sha256</a> ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/src/apache-phoenix-' + version + '-src.tar.gz.sha512">sha512</a> ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/src/apache-phoenix-' + version + '-src.tar.gz.asc">asc</a> ' +
+        ')</li>' +  parcelsHtml +
+        '</ul></td>';
+    document.getElementById('releases').appendChild(tr);
+}
+
+
+

Modified: phoenix/site/source/src/site/markdown/download.md
URL: http://svn.apache.org/viewvc/phoenix/site/source/src/site/markdown/download.md?rev=1833646&r1=1833645&r2=1833646&view=diff
==============================================================================
--- phoenix/site/source/src/site/markdown/download.md (original)
+++ phoenix/site/source/src/site/markdown/download.md Sat Jun 16 19:05:43 2018
@@ -1,6 +1,35 @@
 # Phoenix Downloads
 
-### [<u>Download Latest Phoenix Binary and Source Releases</u>](http://www.apache.org/dyn/closer.lua/phoenix/)
-
+The below table lists mirrored release artifacts and their associated hashes and signatures available ONLY at apache.org.
+The keys used to sign releases can be found in our published [KEYS](http://www.apache.org/dist/phoenix/KEYS) file.
 See our installation instructions [here](installation.html), our release notes [here](release_notes.html),
 and a list of fixes new features [here](https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12334393&projectId=12315120)
+Follow [Verify the Integrity of the Files](https://www.apache.org/dyn/closer.cgi#verify) for how to verify your mirrored downloads.
+
+
+<table id="releases">
+<tr>
+    <th>Version</th>
+    <th>Release Date</th>
+    <th>Commit</th>
+    <th>Download</th>
+</tr>
+</table>
+
+If you are looking for an old release that is not present here or on the mirror, check the [Apache Archive](http://archive.apache.org/dist/phoenix/). 
+
+<script src="/js/download.js"></script> 
+<script>
+//<![CDATA[
+addRelease('4.14.0-HBase-0.98','09/jun/2018','22b3b206c656aed088f3f25cfef9cae669923ea7');
+addRelease('4.14.0-HBase-1.1','09/jun/2018','6a365b8713542486b2ae46032d59c9b22d3efe43');
+addRelease('4.14.0-HBase-1.2','09/jun/2018','9db22d8b7658d56b14650d90996cbf50747dd4d9');
+addRelease('4.14.0-HBase-1.3','09/jun/2018','c27c68cf1e183d450cf21c20f3994e3192479e46');
+addRelease('4.14.0-HBase-1.4','09/jun/2018','a7adbbcca749cd69de808195a09328c330e731c5');
+addRelease('4.14.0-cdh5.11.2','09/jun/2018','0a06e5964f3f7634cd8d70208fc1b07e2890cb1f');
+addRelease('4.14.0-cdh5.12.2','09/jun/2018','44939d29e04d07cc668c93437c805f8dcf60cd58');
+addRelease('4.14.0-cdh5.13.2','09/jun/2018','b68b9e34c6ece256c6b57edfbe0431af1fc27eb6');
+addRelease('4.14.0-cdh5.14.2','09/jun/2018','3c72eef250ffd6ea172d273121a400a944d02843');
+addRelease('5.0.0-alpha-HBase-2.0','09/feb/2018','451d6a37d0d461b60edff36ceb42b17bb9610350');
+//]]>
+</script>
\ No newline at end of file

Added: phoenix/site/source/src/site/resources/js/download.js
URL: http://svn.apache.org/viewvc/phoenix/site/source/src/site/resources/js/download.js?rev=1833646&view=auto
==============================================================================
--- phoenix/site/source/src/site/resources/js/download.js (added)
+++ phoenix/site/source/src/site/resources/js/download.js Sat Jun 16 19:05:43 2018
@@ -0,0 +1,31 @@
+var apacheUrl = "http://www.apache.org/dist/phoenix/"
+var dynUrl = "http://www.apache.org/dyn/closer.lua/phoenix/"
+
+function parcelFolderHtml(version) {
+    return '<li><a href="' + apacheUrl + 'apache-phoenix-' + version + '/parcels/">parcels</a></li>';
+}
+
+function addRelease(version, date, commit) {
+    var tr = document.createElement('tr');
+    var parcelsHtml = version.includes('-cdh') ? parcelFolderHtml(version) : ''
+    tr.innerHTML =
+        '<td>' + version + '</td>' +
+        '<td>' + date + '</td>' +
+        '<td><a href="https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=' + commit + '">' + commit + '</a></td>' +
+        '<td><ul><li>' +
+          '<a href="' + dynUrl + 'apache-phoenix-' + version + '/bin/apache-phoenix-' + version + '-bin.tar.gz">bin</a> ( ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/bin/apache-phoenix-' + version + '-bin.tar.gz.sha256">sha256</a> ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/bin/apache-phoenix-' + version + '-bin.tar.gz.sha512">sha512</a> ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/bin/apache-phoenix-' + version + '-bin.tar.gz.asc">asc</a> ' +
+        ')</li><li>' +
+          '<a href="' + dynUrl + 'apache-phoenix-' + version + '/src/apache-phoenix-' + version + '-src.tar.gz">src</a> ( ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/src/apache-phoenix-' + version + '-src.tar.gz.sha256">sha256</a> ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/src/apache-phoenix-' + version + '-src.tar.gz.sha512">sha512</a> ' +
+          '<a href="' + apacheUrl + 'apache-phoenix-' + version + '/src/apache-phoenix-' + version + '-src.tar.gz.asc">asc</a> ' +
+        ')</li>' +  parcelsHtml +
+        '</ul></td>';
+    document.getElementById('releases').appendChild(tr);
+}
+
+
+