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

[GitHub] merlimat closed pull request #2557: Fixed download links and resource page

merlimat closed pull request #2557: Fixed download links and resource page
URL: https://github.com/apache/incubator-pulsar/pull/2557
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/site2/website/data/resources.js b/site2/website/data/resources.js
index d0f04ac1d6..4eb6a29429 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 f952814758..cb87cbd047 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>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services