You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/03/25 02:38:48 UTC

[pulsar-site] branch fix/download-page created (now 31a2051)

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

urfree pushed a change to branch fix/download-page
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git.


      at 31a2051  fix: download links fix

This branch includes the following new commits:

     new 31a2051  fix: download links fix

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[pulsar-site] 01/01: fix: download links fix

Posted by ur...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

urfree pushed a commit to branch fix/download-page
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit 31a2051e7ec3cf0337b5c74c861c0ed7aedbac39
Author: LiLi <ur...@apache.org>
AuthorDate: Fri Mar 25 10:38:38 2022 +0800

    fix: download links fix
    
    Signed-off-by: LiLi <ur...@apache.org>
---
 site2/website-next/src/pages/download.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/site2/website-next/src/pages/download.js b/site2/website-next/src/pages/download.js
index 0b1034a..9003553 100644
--- a/site2/website-next/src/pages/download.js
+++ b/site2/website-next/src/pages/download.js
@@ -26,11 +26,11 @@ function getLatestAdaptersMirrorUrl(version) {
 }
 
 function distUrl(version, type) {
-  return `https://www.apache.org/dist/pulsar/pulsar-${version}/apache-pulsar-${version}-${type}.tar.gz`;
+  return `https://downloads.apache.org/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://downloads.apache.org/pulsar/pulsar-${version}/apache-pulsar-offloaders-${version}-bin.tar.gz`;
 }
 
 function distAdaptersUrl(version) {
@@ -50,7 +50,7 @@ function pularManagerArchiveUrl(version, type) {
 }
 
 function connectorDistUrl(name, version) {
-  return `https://www.apache.org/dist/pulsar/pulsar-${version}/connectors/pulsar-io-${name}-${version}.nar`;
+  return `https://downloads.apache.org/pulsar/pulsar-${version}/connectors/pulsar-io-${name}-${version}.nar`;
 }
 
 function connectorDownloadUrl(name, version) {
@@ -62,7 +62,7 @@ function getLatestPulsarManagerArchiveMirrorUrl(version, type) {
 }
 
 function pulsarManagerDistUrl(version, type) {
-  return `https://www.apache.org/dist/pulsar/pulsar-manager/pulsar-manager-${version}/apache-pulsar-manager-${version}-${type}.tar.gz`;
+  return `https://downloads.apache.org/pulsar/pulsar-manager/pulsar-manager-${version}/apache-pulsar-manager-${version}-${type}.tar.gz`;
 }
 
 function language(props) {
@@ -295,7 +295,7 @@ export default function page(props) {
             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/pulsar/KEYS) file which contains
+            [KEYS](https://downloads.apache.org/pulsar/KEYS) file which contains
             the OpenPGP keys of 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