You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ms...@apache.org on 2020/02/17 20:34:40 UTC

[cassandra-website] branch master updated: Fix templated download URLs

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

mshuler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 753089d  Fix templated download URLs
753089d is described below

commit 753089d7f032a4986ba3791c7e7cd7b97b1d76a2
Author: Michael Shuler <mi...@pbandjelly.org>
AuthorDate: Mon Feb 17 14:34:34 2020 -0600

    Fix templated download URLs
---
 src/_data/urls.yaml          | 4 ++--
 src/_plugins/release_link.rb | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/_data/urls.yaml b/src/_data/urls.yaml
index af15960..0cf8df4 100644
--- a/src/_data/urls.yaml
+++ b/src/_data/urls.yaml
@@ -1,4 +1,4 @@
 git_url: "https://gitbox.apache.org/repos/asf?p=cassandra.git"
-apache_url: "http://www.apache.org"
+apache_url: "https://downloads.apache.org"
 changelog_url: "https://gitbox.apache.org/repos/asf?p=cassandra.git;a=blob_plain;f=CHANGES.txt;hb=refs/tags/cassandra"
-download_url: "http://www.apache.org/dyn/closer.lua/cassandra"
+download_url: "https://www.apache.org/dyn/closer.lua/cassandra"
diff --git a/src/_plugins/release_link.rb b/src/_plugins/release_link.rb
index a5bb4fd..2e05c52 100644
--- a/src/_plugins/release_link.rb
+++ b/src/_plugins/release_link.rb
@@ -8,7 +8,7 @@ module Jekyll
       date = data['releases'][input]['date']
       dl_link = "#{download_url}/#{name}/apache-cassandra-#{name}-bin.tar.gz"
 
-      verif = Proc.new { |h, e| "<a href=\"#{apache_url}/dist/cassandra/#{name}/apache-cassandra-#{name}-bin.tar.gz.#{e}\">#{h}</a>" }
+      verif = Proc.new { |h, e| "<a href=\"#{apache_url}/cassandra/#{name}/apache-cassandra-#{name}-bin.tar.gz.#{e}\">#{h}</a>" }
 
       pgp = verif.call("pgp", "asc")
       sha256 = verif.call("sha256", "sha256")


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