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

chesnay pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/flink-web.git

commit 589ba2e4f0eb8e03404e084cbf484cdcd9373668
Author: zentol <ches...@apache.org>
AuthorDate: Mon Oct 29 12:47:14 2018 +0100

    List past 2 releases in the stable section
---
 _config.yml  | 67 ++++++++++++++++++++++++++++++++++++++++++++++++------------
 downloads.md | 10 ++++++---
 2 files changed, 61 insertions(+), 16 deletions(-)

diff --git a/_config.yml b/_config.yml
index 0458008..863781c 100644
--- a/_config.yml
+++ b/_config.yml
@@ -21,41 +21,82 @@ FLINK_GITHUB_URL: https://github.com/apache/flink
 FLINK_CONTRIBUTORS_URL: 
https://cwiki.apache.org/confluence/display/FLINK/List+of+contributors
 FLINK_GITHUB_REPO_NAME: flink
 
-FLINK_DOWNLOAD_URL_SOURCE: 
https://www.apache.org/dyn/closer.lua/flink/flink-1.6.2/flink-1.6.2-src.tgz
-FLINK_DOWNLOAD_URL_SOURCE_ASC: 
https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-src.tgz.asc
-FLINK_DOWNLOAD_URL_SOURCE_SHA512: 
https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-src.tgz.sha512
+source_releases:
+  -
+      name: "Apache Flink 1.6.2"
+      id: "162-download-source"
+      url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.6.2/flink-1.6.2-src.tgz";
+      asc_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-src.tgz.asc";
+      sha512_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-src.tgz.sha512";
+  -
+      name: "Apache Flink 1.5.5"
+      id: "155-download-source"
+      url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.5.5/flink-1.5.5-src.tgz";
+      asc_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-src.tgz.asc";
+      sha512_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-src.tgz.sha512";
+
 
 stable_releases:
   -
-      name: "Apache Flink only"
-      id: "download-hadoopfree_211"
+      name: "Apache Flink 1.6.2 only"
+      id: "162-ownload-hadoopfree_211"
       url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.6.2/flink-1.6.2-bin-scala_2.11.tgz";
       asc_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-scala_2.11.tgz.asc";
       sha512_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-scala_2.11.tgz.sha512";
   -
-      name: "Flink with Hadoop® 2.8"
-      id: "download-hadoop28_211"
+      name: "Flink 1.6.2 with Hadoop® 2.8"
+      id: "162-download-hadoop28_211"
       url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.6.2/flink-1.6.2-bin-hadoop28-scala_2.11.tgz";
       asc_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-hadoop28-scala_2.11.tgz.asc";
       sha512_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-hadoop28-scala_2.11.tgz.sha512";
   -
-      name: "Flink with Hadoop® 2.7"
-      id: "download-hadoop27_211"
+      name: "Flink 1.6.2 with Hadoop® 2.7"
+      id: "162-download-hadoop27_211"
       url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.6.2/flink-1.6.2-bin-hadoop27-scala_2.11.tgz";
       asc_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-hadoop27-scala_2.11.tgz.asc";
       sha512_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-hadoop27-scala_2.11.tgz.sha512";
   -
-      name: "Flink with Hadoop® 2.6"
-      id: "download-hadoop26_211"
+      name: "Flink 1.6.2 with Hadoop® 2.6"
+      id: "162-download-hadoop26_211"
       url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.6.2/flink-1.6.2-bin-hadoop26-scala_2.11.tgz";
       asc_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-hadoop26-scala_2.11.tgz.asc";
       sha512_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-hadoop26-scala_2.11.tgz.sha512";
   -
-      name: "Flink with Hadoop® 2.4"
-      id: "download-hadoop24_211"
+      name: "Flink 1.6.2 with Hadoop® 2.4"
+      id: "162-download-hadoop24_211"
       url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.6.2/flink-1.6.2-bin-hadoop24-scala_2.11.tgz";
       asc_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-hadoop24-scala_2.11.tgz.asc";
       sha512_url: 
"https://www.apache.org/dist/flink/flink-1.6.2/flink-1.6.2-bin-hadoop24-scala_2.11.tgz.sha512";
+  -
+      name: "Apache 1.5.5 Flink only"
+      id: "155-download-hadoopfree_211"
+      url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.5.5/flink-1.5.5-bin-scala_2.11.tgz";
+      asc_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-scala_2.11.tgz.asc";
+      sha512_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-scala_2.11.tgz.sha512";
+  -
+      name: "Flink 1.5.5 with Hadoop® 2.8"
+      id: "155-download-hadoop28_211"
+      url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.5.5/flink-1.5.5-bin-hadoop28-scala_2.11.tgz";
+      asc_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-hadoop28-scala_2.11.tgz.asc";
+      sha512_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-hadoop28-scala_2.11.tgz.sha512";
+  -
+      name: "Flink 1.5.5 with Hadoop® 2.7"
+      id: "155-download-hadoop27_211"
+      url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.5.5/flink-1.5.5-bin-hadoop27-scala_2.11.tgz";
+      asc_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-hadoop27-scala_2.11.tgz.asc";
+      sha512_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-hadoop27-scala_2.11.tgz.sha512";
+  -
+      name: "Flink 1.5.5 with Hadoop® 2.6"
+      id: "155-download-hadoop26_211"
+      url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.5.5/flink-1.5.5-bin-hadoop26-scala_2.11.tgz";
+      asc_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-hadoop26-scala_2.11.tgz.asc";
+      sha512_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-hadoop26-scala_2.11.tgz.sha512";
+  -
+      name: "Flink 1.5.5 with Hadoop® 2.4"
+      id: "155-download-hadoop24_211"
+      url: 
"https://www.apache.org/dyn/closer.lua/flink/flink-1.5.5/flink-1.5.5-bin-hadoop24-scala_2.11.tgz";
+      asc_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-hadoop24-scala_2.11.tgz.asc";
+      sha512_url: 
"https://www.apache.org/dist/flink/flink-1.5.5/flink-1.5.5-bin-hadoop24-scala_2.11.tgz.sha512";
 
 FLINK_DOWNLOAD_URL_HADOOP_2_LATEST: 
https://s3.amazonaws.com/flink-nightly/flink-1.7-SNAPSHOT-bin-hadoop2.tgz
 
diff --git a/downloads.md b/downloads.md
index f44b45b..978c657 100644
--- a/downloads.md
+++ b/downloads.md
@@ -50,15 +50,19 @@ bundles the matching Hadoop version, or use the Hadoop free 
version and
 
 ### Source
 
+{% for source_release in site.source_releases %}
 <div class="list-group">
   <!-- Source -->
-  <a href="{{ site.FLINK_DOWNLOAD_URL_SOURCE }}" class="list-group-item 
ga-track" id="download-source">
-    <h4><span class="glyphicon glyphicon-download" aria-hidden="true"></span> 
<strong>Apache Flink® {{ site.FLINK_VERSION_STABLE }}</strong> Source 
Release</h4>
+  <a href="{{ source_release.url }}" class="list-group-item ga-track" id="{{ 
source_release.id }}">
+    <!-- overrride margin/padding as the boxes otherwise overlap in subtle 
ways -->
+    <h4 style="margin-top: 0px; padding-top: 0px;"><span class="glyphicon 
glyphicon-download" aria-hidden="true"></span> <strong>{{ source_release.name 
}}</strong> Source Release</h4>
     <p>Review the source code or build Flink on your own, using this 
package</p>
   </a>
-   (<a href="{{ site.FLINK_DOWNLOAD_URL_SOURCE_ASC }}">asc</a>, <a href="{{ 
site.FLINK_DOWNLOAD_URL_SOURCE_SHA512 }}">sha512</a>)
+   (<a href="{{ source_release.asc_url }}">asc</a>, <a href="{{ 
source_release.sha512_url }}">sha512</a>)
 </div>
 
+{% endfor %}
+
 ## Release Notes
 
 Please have a look at the [Release Notes for Flink {{ 
site.FLINK_VERSION_STABLE_SHORT }}]({{ site.DOCS_BASE_URL 
}}flink-docs-release-{{ site.FLINK_VERSION_STABLE_SHORT 
}}/release-notes/flink-{{ site.FLINK_VERSION_STABLE_SHORT }}.html) if you plan 
to upgrade your Flink setup from a previous version.

Reply via email to