You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/09/11 15:51:35 UTC

[incubator-pulsar] branch master updated: Fixed download links and resource page (#2557)

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

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new e098117  Fixed download links and resource page (#2557)
e098117 is described below

commit e098117cbc6396be81c3cc6061b10c2673773912
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Tue Sep 11 11:51:32 2018 -0400

    Fixed download links and resource page (#2557)
---
 site2/website/data/resources.js    |  6 +++---
 site2/website/pages/en/download.js | 22 +++++++++++-----------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/site2/website/data/resources.js b/site2/website/data/resources.js
index d0f04ac..4eb6a29 100644
--- a/site2/website/data/resources.js
+++ b/site2/website/data/resources.js
@@ -29,7 +29,7 @@ module.exports = {
     {
       forum: 'Strata San Jose',
       forum_link: 'https://conferences.oreilly.com/strata/strata-ca',
-      presenter: 'Matteo Merli (Pulsar co-creator)',
+      presenter: 'Matteo Merli',
       date: 'March 2018',
       title: 'Effectively-once semantics in Apache Pulsar',
       link: 'https://www.slideshare.net/merlimat/effectivelyonce-semantics-in-apache-pulsar'
@@ -37,7 +37,7 @@ module.exports = {
     {
       forum: '',
       forum_link: '',
-      presenter: 'Matteo Merli (Pulsar co-creator)',
+      presenter: 'Matteo Merli',
       date: 'November 2016',
       title: 'Pulsar: a distributed pub-sub platform',
       link: 'https://www.slideshare.net/merlimat/pulsar-distributed-pubsub-platform'
@@ -45,7 +45,7 @@ module.exports = {
     {
       forum: 'Bay Area Hadoop Meetup',
       forum_link: 'https://www.meetup.com/hadoop',
-      presenter: 'Matteo Merli (Pulsar co-creator)',
+      presenter: 'Matteo Merli',
       date: 'October 2016',
       title: 'Pulsar: a highly scalable, low-latency pub-sub messaging system',
       link: 'https://www.slideshare.net/ydn/october-2016-hug-pulsar-a-highly-scalable-low-latency-pubsub-messaging-system'
diff --git a/site2/website/pages/en/download.js b/site2/website/pages/en/download.js
index f952814..cb87cbd 100644
--- a/site2/website/pages/en/download.js
+++ b/site2/website/pages/en/download.js
@@ -18,6 +18,10 @@ function getLatestArchiveMirrorUrl(version, type) {
   return `https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=incubator/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
 }
 
+function distUrl(version, type) {
+    return `https://www.apache.org/dist/incubator/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
+}
+
 function archiveUrl(version, type) {
   return `${archiveRootUrl}/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`
 }
@@ -29,8 +33,8 @@ class Download extends React.Component {
     const latestVersion = `${latestRelease}-incubating`
     const latestArchiveMirrorUrl = getLatestArchiveMirrorUrl(latestVersion, 'bin');
     const latestSrcArchiveMirrorUrl = getLatestArchiveMirrorUrl(latestVersion, 'src');
-    const latestArchiveUrl = archiveUrl(latestVersion, 'bin');
-    const latestSrcArchiveUrl = archiveUrl(latestVersion, 'src')
+    const latestArchiveUrl = distUrl(latestVersion, 'bin');
+    const latestSrcArchiveUrl = distUrl(latestVersion, 'src')
 
     const releaseInfo = releases.map(r => {
       const version = `${r}-incubating`;
@@ -65,8 +69,7 @@ class Download extends React.Component {
                     <a href={latestArchiveMirrorUrl}>pulsar-{latestVersion}-bin.tar.gz</a>
                   </td>
                   <td>
-                    <a href={`${latestArchiveUrl}.asc`}>asc</a>,
-                    <a href={`${latestArchiveUrl}.sha1`}>sha1</a>,
+                    <a href={`${latestArchiveUrl}.asc`}>asc</a>,&nbsp;
                     <a href={`${latestArchiveUrl}.sha512`}>sha512</a>
                   </td>
                 </tr>
@@ -76,8 +79,7 @@ class Download extends React.Component {
                     <a href={latestSrcArchiveMirrorUrl}>pulsar-{latestVersion}-src.tar.gz</a>
                   </td>
                   <td>
-                    <a href={`${latestSrcArchiveUrl}.asc`}>asc</a>,
-                    <a href={`${latestSrcArchiveUrl}.sha1`}>sha1</a>,
+                    <a href={`${latestSrcArchiveUrl}.asc`}>asc</a>,&nbsp;
                     <a href={`${latestSrcArchiveUrl}.sha512`}>sha512</a>
                   </td>
                 </tr>
@@ -89,7 +91,7 @@ class Download extends React.Component {
               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/incubator/pulsar/KEYS) file which contains the OpenPGP keys of
-              Pulsar's Release Managers. We also provide `MD5` and `SHA-512` checksums for every release file.
+              Pulsar'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>
@@ -108,7 +110,7 @@ class Download extends React.Component {
               <translate>
                 Once you've downloaded a Pulsar release, instructions on getting up and running with a standalone cluster
                 that you can run on your laptop can be found in the{' '}
-              </translate>
+              </translate>&nbsp;
                 <a href={`${siteConfig.baseUrl}docs/${this.props.language}/standalone`}><translate>Run Pulsar locally</translate></a> <translate>tutorial</translate>.
               </p>
             </div>
@@ -165,14 +167,12 @@ class Download extends React.Component {
                           <a href={info.binArchiveUrl}>pulsar-{info.version}-bin-tar.gz</a>
                           &nbsp;
                           (<a href={`${info.binArchiveUrl}.asc`}>asc</a>,&nbsp;
-                            <a href={`${info.binArchiveUrl}.sha1`}>sha1</a>,&nbsp;
                             <a href={`${info.binArchiveUrl}.sha512`}>sha512</a>)
                         </td>
                         <td>
                           <a href={info.srcArchiveUrl}>pulsar-{info.version}-bin-tar.gz</a>
                           &nbsp;
-                          (<a href={`${info.srcArchiveUrl}.asc`}>asc</a>,&nbsp;
-                            <a href={`${info.srcArchiveUrl}.sha1`}>sha1</a>,&nbsp;
+                          (<a href={`${info.srcArchiveUrl}.asc`}>asc</a>&nbsp;
                             <a href={`${info.srcArchiveUrl}.sha512`}>sha512</a>)
                         </td>
                         <td>