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

[pulsar] branch dave2wave-patch-1 created (now 221c651)

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

wave pushed a change to branch dave2wave-patch-1
in repository https://gitbox.apache.org/repos/asf/pulsar.git.


      at 221c651  Download page must not refer to dist.apache.org

This branch includes the following new commits:

     new 221c651  Download page must not refer to dist.apache.org

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] 01/01: Download page must not refer to dist.apache.org

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

wave pushed a commit to branch dave2wave-patch-1
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 221c6512e98ca37f3308c372e1fa14045c66d7ec
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Thu Mar 24 17:44:54 2022 -0700

    Download page must not refer to dist.apache.org
    
    Must use https://downloads.apache.org
---
 site2/website/pages/en/download.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/site2/website/pages/en/download.js b/site2/website/pages/en/download.js
index 4364919..8c1344c 100644
--- a/site2/website/pages/en/download.js
+++ b/site2/website/pages/en/download.js
@@ -28,11 +28,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) {
@@ -52,7 +52,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) {
@@ -64,7 +64,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`
 }
 
 class Download extends React.Component {
@@ -204,7 +204,7 @@ 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/pulsar/KEYS) file which contains the OpenPGP keys of
+              [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 sure it is
               the same as ours.