This is an automated email from the ASF dual-hosted git repository.

joshfischer pushed a commit to branch joshfischer/add-download-links
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit ed4387cf86654ceac007f1363c552286e6a54c4b
Author: Josh Fischer <[email protected]>
AuthorDate: Sat Jan 30 09:18:11 2021 -0600

    adding start to release page; adding updates for versioned docs
---
 website2/docs/compiling-overview.md   |  4 +-
 website2/website/pages/en/download.js | 97 +++++------------------------------
 website2/website/releases.json        |  5 +-
 website2/website/scripts/replace.js   |  1 +
 4 files changed, 19 insertions(+), 88 deletions(-)

diff --git a/website2/docs/compiling-overview.md 
b/website2/docs/compiling-overview.md
index d891b4e..e93f986 100644
--- a/website2/docs/compiling-overview.md
+++ b/website2/docs/compiling-overview.md
@@ -20,7 +20,7 @@ sidebar_label: Compiling Overview
     under the License.
 -->
 
-Heron is currently available for [Mac OS X 10.14](compiling-osx),
+Heron is currently available for [Mac OS X 11.01](compiling-osx),
 [Ubuntu 18.04](compiling-linux), and 
[Debian10](compiling-docker#building-heron).
  This guide describes the basics of the
 Heron build system. For step-by-step build instructions for other platforms,
@@ -50,7 +50,7 @@ You must have the following installed to compile Heron:
 * [GNU Libtool](http://www.gnu.org/software/libtool/) >= 2.4.6
 * [gcc/g++](https://gcc.gnu.org/) >= 4.8.1 (Linux platforms)
 * [CMake](https://cmake.org/) >= 2.6.4
-* [Python](https://www.python.org/) >= 3.4
+* [Python](https://www.python.org/) >= 3.8
 * [Perl](https://www.perl.org/) >= 5.8.8
 * [Ant] (https://ant.apache.org/) >= 1.10.0
 * [CppUnit] (https://freedesktop.org/wiki/Software/cppunit/) >= 1.10.1
diff --git a/website2/website/pages/en/download.js 
b/website2/website/pages/en/download.js
index 539c0e9..df631b5 100644
--- a/website2/website/pages/en/download.js
+++ b/website2/website/pages/en/download.js
@@ -12,36 +12,22 @@ const releases = require(`${CWD}/releases.json`);
 const heronReleases = require(`${CWD}/heron-release.json`)
 
 function getLatestArchiveMirrorUrl(version, type) {
-    return 
`https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
+    return 
`https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=incubator/heron/heron-${version}/heron-${version}-${type}.tar.gz`
 }
 
 function distUrl(version, type) {
-    return 
`https://www.apache.org/dist/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
-}
-
-function distOffloadersUrl(version) {
-    return 
`https://www.apache.org/dist/pulsar/pulsar-${version}/apache-pulsar-offloaders-${version}-bin.tar.gz`
+    return 
`https://www.apache.org/dist/incubator/heron/heron-${version}/heron-${version}-${type}.tar.gz`
 }
 
 function archiveUrl(version, type) {
     if (version.includes('incubating')) {
-        return 
`https://archive.apache.org/dist/incubator/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
+        return 
`https://archive.apache.org/dist/incubator/heron/heron-${version}/apache-heron-v-${version}-${type}.tar.gz`
     } else {
-        return 
`https://archive.apache.org/dist/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
+        return 
`https://archive.apache.org/dist/heron/heron-${version}/apache-heron-v-${version}-${type}.tar.gz`
     }
 }
 
-function pularManagerArchiveUrl(version, type) {
-    return 
`https://archive.apache.org/dist/pulsar/pulsar-manager/pulsar-manager-${version}/apache-pulsar-manager-${version}-${type}.tar.gz`
-}
 
-function getLatestHeronManagerArchiveMirrorUrl(version, type) {
-  return 
`https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-manager/pulsar-manager-${version}/apache-pulsar-manager-${version}-${type}.tar.gz`
-}
-
-function pulsarManagerDistUrl(version, type) {
-  return 
`https://www.apache.org/dist/pulsar/pulsar-manager/pulsar-manager-${version}/apache-pulsar-manager-${version}-${type}.tar.gz`
-}
 
 class Download extends React.Component {
   render() {
@@ -49,26 +35,14 @@ class Download extends React.Component {
     const latestHeronVersion = heronReleases[0];
     const latestArchiveMirrorUrl = getLatestArchiveMirrorUrl(latestVersion, 
'bin');
     const latestSrcArchiveMirrorUrl = getLatestArchiveMirrorUrl(latestVersion, 
'src');
-    const latestHeronManagerArchiveMirrorUrl = 
getLatestHeronManagerArchiveMirrorUrl(latestHeronVersion, 'bin');
-    const latestHeronManagerSrcArchiveMirrorUrl = 
getLatestHeronManagerArchiveMirrorUrl(latestHeronVersion, 'src');
     const latestArchiveUrl = distUrl(latestVersion, 'bin');
     const latestSrcArchiveUrl = distUrl(latestVersion, 'src')
-    const pulsarManagerLatestArchiveUrl = 
pulsarManagerDistUrl(latestHeronVersion, 'bin');
-    const pulsarManagerLatestSrcArchiveUrl = 
pulsarManagerDistUrl(latestHeronVersion, 'src');
 
     const releaseInfo = releases.map(version => {
       return {
         version: version,
         binArchiveUrl: archiveUrl(version, 'bin'),
-        srcArchiveUrl: archiveUrl(version, 'src')
-      }
-    });
-
-    const pulsarManagerReleaseInfo = heronReleases.map(version => {
-      return {
-        version: version,
-        binArchiveUrl: pularManagerArchiveUrl(version, 'bin'),
-        srcArchiveUrl: pularManagerArchiveUrl(version, 'src')
+        srcArchiveUrl: archiveUrl(version, 'source')
       }
     });
 
@@ -99,20 +73,12 @@ class Download extends React.Component {
                 </tr>
               </thead>
               <tbody>
-                <tr key={'binary'}>
-                  <th>Binary</th>
-                  <td>
-                    <a 
href={latestArchiveMirrorUrl}>apache-pulsar-{latestVersion}-bin.tar.gz</a>
-                  </td>
-                  <td>
-                    <a href={`${latestArchiveUrl}.asc`}>asc</a>,&nbsp;
-                    <a href={`${latestArchiveUrl}.sha512`}>sha512</a>
-                  </td>
-                </tr>
+
+
                 <tr key={'source'}>
                   <th>Source</th>
                   <td>
-                    <a 
href={latestSrcArchiveMirrorUrl}>apache-pulsar-{latestVersion}-src.tar.gz</a>
+                    <a 
href={latestSrcArchiveMirrorUrl}>apache-heron-{latestVersion}-src.tar.gz</a>
                   </td>
                   <td>
                     <a href={`${latestSrcArchiveUrl}.asc`}>asc</a>,&nbsp;
@@ -127,8 +93,8 @@ class Download extends React.Component {
             <MarkdownBlock>
               You must [verify](https://www.apache.org/info/verification.html) 
the integrity of the downloaded files.
               We provide OpenPGP signatures for every release file. This 
signature should be matched against the
-              [KEYS](https://www.apache.org/dist/heron/KEYS) file which 
contains the OpenPGP keys of
-              Pulsar's Release Managers. We also provide `SHA-512` checksums 
for every release file.
+              [KEYS](https://downloads.apache.org/incubator/heron/KEYS) file 
which contains the OpenPGP keys of
+              Herons's Release Managers. We also provide `SHA-512` checksums 
for every release file.
               After you download the file, you should calculate a checksum for 
your download, and make sure it is
               the same as ours.
             </MarkdownBlock>
@@ -140,48 +106,17 @@ class Download extends React.Component {
                 Once you've downloaded a Heron release, instructions on 
getting up and running with a standalone cluster
                 that you can run on your laptop can be found in the{' '}
               &nbsp;
-                <a 
href={`${siteConfig.baseUrl}docs/${this.props.language}/standalone`}>Run Heron 
locally</a> tutorial.
+                <a 
href={`${siteConfig.baseUrl}docs/getting-started-local-single-node`}>run Heron 
locally</a> tutorial.
               </p>
             </div>
-            <p>
-
-              If you need to connect to an existing Heron cluster or instance 
using an officially supported client,
-              see the client docs for these languages:
 
-            </p>
-            <table className="clients">
-              <thead>
-                <tr>
-                  <th>Client guide</th>
-                  <th>API docs</th>
-                </tr>
-              </thead>
-              <tbody>
-                <tr key={'java'}>
-                  <td><a 
href={`${siteConfig.baseUrl}docs/${this.props.language}/client-libraries-java`}>The
 Pulsar java client</a></td>
-                  <td>The Pulsar java client</td>
-                </tr>
-                <tr key={'go'}>
-                  <td><a 
href={`${siteConfig.baseUrl}docs/${this.props.language}/client-libraries-go`}>The
 Pulsar go client</a></td>
-                  <td>The Pulsar go client</td>
-                </tr>
-                <tr key={'python'}>
-                  <td><a 
href={`${siteConfig.baseUrl}docs/${this.props.language}/client-libraries-python`}>The
 Pulsar python client</a></td>
-                  <td>The Pulsar python client</td>
-                </tr>
-                <tr key={'cpp'}>
-                  <td><a 
href={`${siteConfig.baseUrl}docs/${this.props.language}/client-libraries-cpp`}>The
 Pulsar C++ client</a></td>
-                  <td>The Pulsar C++ client</td>
-                </tr>
-              </tbody>
-            </table>
 
             <h2 id="archive">Older releases</h2>
             <table className="versions">
               <thead>
                 <tr>
                   <th>Release</th>
-                  <th>Binary</th>
+
                   <th>Source</th>
                   <th>Release notes</th>
                 </tr>
@@ -196,13 +131,9 @@ class Download extends React.Component {
                         return info.version !== latestVersion && (
                             <tr key={info.version}>
                         <th>{info.version}</th>
-                        <td>
-                        <a 
href={info.binArchiveUrl}>apache-heron-{info.version}-bin.tar.gz</a> &nbsp;
-                          (<a href={`${info.binArchiveUrl}.asc`}>asc</a>,&nbsp;
-                          <a 
href={`${info.binArchiveUrl}.${sha}`}>{`${sha}`}</a>)
-                          </td>
+
                           <td>
-                          <a 
href={info.srcArchiveUrl}>apache-heron-{info.version}-src.tar.gz</a>
+                          <a 
href={info.srcArchiveUrl}>apache-heron-{info.version}-source.tar.gz</a>
                               &nbsp;
                           (<a href={`${info.srcArchiveUrl}.asc`}>asc</a>,&nbsp;
                           <a 
href={`${info.srcArchiveUrl}.${sha}`}>{`${sha}`}</a>)
diff --git a/website2/website/releases.json b/website2/website/releases.json
index bd3d303..99dd7df 100644
--- a/website2/website/releases.json
+++ b/website2/website/releases.json
@@ -1,5 +1,4 @@
 [
-    "0.20.0",
-    "0.19.0.16",
-    "0.19.0.12"   
+    "0.20.3-incubating",
+    "0.20.0-incubating"
 ]
\ No newline at end of file
diff --git a/website2/website/scripts/replace.js 
b/website2/website/scripts/replace.js
index 8fba053..bb5ac7a 100755
--- a/website2/website/scripts/replace.js
+++ b/website2/website/scripts/replace.js
@@ -38,6 +38,7 @@ const bazelVersions = {
     '0.20.0-incubating': '0.14.1',
     '0.20.1-incubating': '0.26.0',
     '0.20.2-incubating': '0.26.0',
+    '0.20.3-incubating': '3.7.0',
     'latest': '3.7.2',
 }
 

Reply via email to