You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2020/03/09 02:18:10 UTC

[spark-website] branch asf-site updated: Change the URL "www.apache.org/dist" to "downloads.apache.org" as structural change on ASF INFRA

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

gurwls223 pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/spark-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 3a934e1  Change the URL "www.apache.org/dist" to "downloads.apache.org" as structural change on ASF INFRA
3a934e1 is described below

commit 3a934e13b1d90a9c97345aee0467bf3cbfe8f6c5
Author: Jungtaek Lim (HeartSaVioR) <ka...@gmail.com>
AuthorDate: Mon Mar 9 11:17:54 2020 +0900

    Change the URL "www.apache.org/dist" to "downloads.apache.org" as structural change on ASF INFRA
    
    Recently, ASF INFRA team has sent an email "[NOTICE] Structural changes to Apache downloads" to encourage ASF projects to change links from `www.apache.org/dist/` to `downloads.apache.org/`.
    
    According to the mail content it's not a thing to be hurry as the old URL would be redirected with new URL, but as the old URL will be deprecated soon, it would be better to handle it early and forget about it.
    
    This patch only changes URLs which is a straightforward change - so I simply skipped building content - please let me know if we would want to build and double-check.
    
    Author: Jungtaek Lim (HeartSaVioR) <ka...@gmail.com>
    
    Closes #262 from HeartSaVioR/change-urls-apache-dist-to-download-apache.
---
 downloads.md              | 2 +-
 js/downloads.js           | 4 ++--
 site/js/downloads.js      | 4 ++--
 site/release-process.html | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/downloads.md b/downloads.md
index fcdc063..f8f47fa 100644
--- a/downloads.md
+++ b/downloads.md
@@ -24,7 +24,7 @@ $(document).ready(function() {
 
 3. Download Spark: <span id="spanDownloadLink"></span>
 
-4. Verify this release using the <span id="sparkDownloadVerify"></span> and [project release KEYS](https://www.apache.org/dist/spark/KEYS).
+4. Verify this release using the <span id="sparkDownloadVerify"></span> and [project release KEYS](https://downloads.apache.org/spark/KEYS).
 
 Note that, Spark is pre-built with Scala 2.11 except version 2.4.2, which is pre-built with Scala 2.12.
 
diff --git a/js/downloads.js b/js/downloads.js
index 5e22272..3fda7a9 100644
--- a/js/downloads.js
+++ b/js/downloads.js
@@ -117,8 +117,8 @@ function updateDownloadLink() {
   var contents = "<a href=\"" + downloadHref + "\" onClick=\"" + onClick + "\">" + text + "</a>";
   append(downloadLink, contents);
 
-  var sigHref = "https://www.apache.org/dist/spark/spark-" + version + "/" + artifactName + ".asc";
-  var checksumHref = "https://www.apache.org/dist/spark/spark-" + version + "/" + artifactName + ".sha512";
+  var sigHref = "https://downloads.apache.org/spark/spark-" + version + "/" + artifactName + ".asc";
+  var checksumHref = "https://downloads.apache.org/spark/spark-" + version + "/" + artifactName + ".sha512";
   var verifyLinks = versionShort(version) + " <a href=\"" + sigHref + "\">signatures</a>, <a href=\"" +
     checksumHref + "\">checksums</a>";
   append(verifyLink, verifyLinks);
diff --git a/site/js/downloads.js b/site/js/downloads.js
index 5e22272..3fda7a9 100644
--- a/site/js/downloads.js
+++ b/site/js/downloads.js
@@ -117,8 +117,8 @@ function updateDownloadLink() {
   var contents = "<a href=\"" + downloadHref + "\" onClick=\"" + onClick + "\">" + text + "</a>";
   append(downloadLink, contents);
 
-  var sigHref = "https://www.apache.org/dist/spark/spark-" + version + "/" + artifactName + ".asc";
-  var checksumHref = "https://www.apache.org/dist/spark/spark-" + version + "/" + artifactName + ".sha512";
+  var sigHref = "https://downloads.apache.org/spark/spark-" + version + "/" + artifactName + ".asc";
+  var checksumHref = "https://downloads.apache.org/spark/spark-" + version + "/" + artifactName + ".sha512";
   var verifyLinks = versionShort(version) + " <a href=\"" + sigHref + "\">signatures</a>, <a href=\"" +
     checksumHref + "\">checksums</a>";
   append(verifyLink, verifyLinks);
diff --git a/site/release-process.html b/site/release-process.html
index a57c36e..98300a9 100644
--- a/site/release-process.html
+++ b/site/release-process.html
@@ -347,7 +347,7 @@ curl "https://dist.apache.org/repos/dist/dev/spark/KEYS" &gt; svn-spark/KEYS
 (cd svn-spark &amp;&amp; svn ci --username $ASF_USERNAME --password "$ASF_PASSWORD" -m"Update KEYS")
 </code></pre></div></div>
 
-<p>Verify that the resources are present in <a href="https://www.apache.org/dist/spark/">https://www.apache.org/dist/spark/</a>.
+<p>Verify that the resources are present in <a href="https://downloads.apache.org/spark/">https://downloads.apache.org/spark/</a>.
 It may take a while for them to be visible. This will be mirrored throughout the Apache network.
 Check the release checker result of the release at <a href="https://checker.apache.org/projs/spark.html">https://checker.apache.org/projs/spark.html</a>.</p>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org