You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2019/03/05 13:17:34 UTC

[qpid-site] branch asf-site updated: update download + release pages to cater for both broker-j release streams

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

robbie pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/qpid-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 3ad2f75  update download + release pages to cater for both broker-j release streams
3ad2f75 is described below

commit 3ad2f754beab30c88c3dedf27d52af4fdd0f2af0
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Tue Mar 5 13:16:08 2019 +0000

    update download + release pages to cater for both broker-j release streams
---
 content/download.html                           | 2 +-
 content/releases/qpid-broker-j-7.0.7/index.html | 2 +-
 content/releases/qpid-broker-j-7.1.1/index.html | 2 +-
 input/_transom_config.py                        | 2 +-
 input/download.md                               | 2 +-
 input/releases/qpid-broker-j-7.0.7/index.md     | 4 ++--
 input/releases/qpid-broker-j-7.1.1/index.md     | 2 +-
 scripts/gen-broker-j-release-page               | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/content/download.html b/content/download.html
index 4e03d1e..ca047c7 100644
--- a/content/download.html
+++ b/content/download.html
@@ -191,7 +191,7 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/>
   <td><a href="/releases/qpid-broker-j-7.1.1/index.html">Release Page</a></td>
 </tr>
 <tr>
-  <td><a href="/components/broker-j/index.html">Broker-J</a></td>
+  <td>&nbsp;</td>
   <td>7.0.7</td>
   <td><a href="http://www.apache.org/dyn/closer.lua/qpid/broker-j/7.0.7/apache-qpid-broker-j-7.0.7-src.tar.gz">Source</a> (<a href="https://www.apache.org/dist/qpid/broker-j/7.0.7/apache-qpid-broker-j-7.0.7-src.tar.gz.asc">ASC</a>, <a href="https://www.apache.org/dist/qpid/broker-j/7.0.7/apache-qpid-broker-j-7.0.7-src.tar.gz.sha512">SHA512</a>),  <a href="http://www.apache.org/dyn/closer.lua/qpid/broker-j/7.0.7/binaries/apache-qpid-broker-j-7.0.7-bin.tar.gz">Binary</a> (<a href="https:// [...]
   <td><a href="/releases/qpid-broker-j-7.0.7/index.html">Release Page</a></td>
diff --git a/content/releases/qpid-broker-j-7.0.7/index.html b/content/releases/qpid-broker-j-7.0.7/index.html
index 629ef78..2708281 100644
--- a/content/releases/qpid-broker-j-7.0.7/index.html
+++ b/content/releases/qpid-broker-j-7.0.7/index.html
@@ -191,7 +191,7 @@ files you download.</p>
 
 <script type="text/javascript">
   _deferredFunctions.push(function() {
-      if ("7.0.7" === "7.0.7") {
+      if ("7.0.7" === "7.1.1" || "7.0.7" === "7.0.7") {
           _modifyCurrentReleaseLinks();
       }
   });
diff --git a/content/releases/qpid-broker-j-7.1.1/index.html b/content/releases/qpid-broker-j-7.1.1/index.html
index 2df97ce..68b736c 100644
--- a/content/releases/qpid-broker-j-7.1.1/index.html
+++ b/content/releases/qpid-broker-j-7.1.1/index.html
@@ -191,7 +191,7 @@ files you download.</p>
 
 <script type="text/javascript">
   _deferredFunctions.push(function() {
-      if ("7.1.1" === "7.1.1") {
+      if ("7.1.1" === "7.1.1" || "7.1.1" === "7.0.7") {
           _modifyCurrentReleaseLinks();
       }
   });
diff --git a/input/_transom_config.py b/input/_transom_config.py
index 3cb0b07..ff62735 100644
--- a/input/_transom_config.py
+++ b/input/_transom_config.py
@@ -23,7 +23,7 @@ class _Release(object):
         return "<a href=\"{}\">{}</a>".format(self.url, self.number)
 
 broker_j_release = _Release(site_url, "Qpid Broker-J", "qpid-broker-j", "7.1.1")
-other_current_broker_j_release = "7.0.7"
+other_broker_j_release = "7.0.7"
 cpp_release = _Release(site_url, "Qpid C++", "qpid-cpp", "1.39.0")
 dispatch_release = _Release(site_url, "Qpid Dispatch", "qpid-dispatch", "1.5.0")
 interop_test_release = _Release(site_url, "Qpid Interop Test", "qpid-interop-test", "0.2.0")
diff --git a/input/download.md b/input/download.md
index b961076..fc83e6a 100644
--- a/input/download.md
+++ b/input/download.md
@@ -40,7 +40,7 @@ It is important to [verify the integrity](#verify-what-you-download) of the file
 | Content | Version | Download | More |
 | ------- | ------- | -------- | ---- |
 | [Broker-J]({{site_url}}/components/broker-j/index.html) | {{current_broker_j_release}} | [Source](http://www.apache.org/dyn/closer.lua/qpid/broker-j/{{current_broker_j_release}}/apache-qpid-broker-j-{{current_broker_j_release}}-src.tar.gz) ([ASC](https://www.apache.org/dist/qpid/broker-j/{{current_broker_j_release}}/apache-qpid-broker-j-{{current_broker_j_release}}-src.tar.gz.asc), [SHA512](https://www.apache.org/dist/qpid/broker-j/{{current_broker_j_release}}/apache-qpid-broker-j-{{cu [...]
-| [Broker-J]({{site_url}}/components/broker-j/index.html) | {{other_current_broker_j_release}} | [Source](http://www.apache.org/dyn/closer.lua/qpid/broker-j/{{other_current_broker_j_release}}/apache-qpid-broker-j-{{other_current_broker_j_release}}-src.tar.gz) ([ASC](https://www.apache.org/dist/qpid/broker-j/{{other_current_broker_j_release}}/apache-qpid-broker-j-{{other_current_broker_j_release}}-src.tar.gz.asc), [SHA512](https://www.apache.org/dist/qpid/broker-j/{{other_current_broker_j [...]
+| &nbsp;                                                 | {{other_broker_j_release}} | [Source](http://www.apache.org/dyn/closer.lua/qpid/broker-j/{{other_broker_j_release}}/apache-qpid-broker-j-{{other_broker_j_release}}-src.tar.gz) ([ASC](https://www.apache.org/dist/qpid/broker-j/{{other_broker_j_release}}/apache-qpid-broker-j-{{other_broker_j_release}}-src.tar.gz.asc), [SHA512](https://www.apache.org/dist/qpid/broker-j/{{other_broker_j_release}}/apache-qpid-broker-j-{{other_broker_j_ [...]
 | [C++ broker]({{site_url}}/components/cpp-broker/index.html) | {{current_cpp_release}} | [Source](http://www.apache.org/dyn/closer.lua/qpid/cpp/{{current_cpp_release}}/qpid-cpp-{{current_cpp_release}}.tar.gz) ([ASC](https://www.apache.org/dist/qpid/cpp/{{current_cpp_release}}/qpid-cpp-{{current_cpp_release}}.tar.gz.asc), [SHA512](https://www.apache.org/dist/qpid/cpp/{{current_cpp_release}}/qpid-cpp-{{current_cpp_release}}.tar.gz.sha512)) | [Release Page]({{current_cpp_release_url}}/inde [...]
 | [Dispatch router]({{site_url}}/components/dispatch-router/index.html) | {{current_dispatch_release}} | [Source](http://www.apache.org/dyn/closer.lua/qpid/dispatch/{{current_dispatch_release}}/qpid-dispatch-{{current_dispatch_release}}.tar.gz) ([ASC](https://www.apache.org/dist/qpid/dispatch/{{current_dispatch_release}}/qpid-dispatch-{{current_dispatch_release}}.tar.gz.asc), [SHA512](https://www.apache.org/dist/qpid/dispatch/{{current_dispatch_release}}/qpid-dispatch-{{current_dispatch_ [...]
 
diff --git a/input/releases/qpid-broker-j-7.0.7/index.md b/input/releases/qpid-broker-j-7.0.7/index.md
index 5456887..c0d78e6 100644
--- a/input/releases/qpid-broker-j-7.0.7/index.md
+++ b/input/releases/qpid-broker-j-7.0.7/index.md
@@ -62,8 +62,8 @@ files you download.
 
 <script type="text/javascript">
   _deferredFunctions.push(function() {
-      if ("7.0.7" === "{{other_current_broker_j_release}}") {
+      if ("7.0.7" === "{{current_broker_j_release}}" || "7.0.7" === "{{other_broker_j_release}}") {
           _modifyCurrentReleaseLinks();
       }
   });
-</script>
+</script>
\ No newline at end of file
diff --git a/input/releases/qpid-broker-j-7.1.1/index.md b/input/releases/qpid-broker-j-7.1.1/index.md
index 17aa0d9..9054ae5 100644
--- a/input/releases/qpid-broker-j-7.1.1/index.md
+++ b/input/releases/qpid-broker-j-7.1.1/index.md
@@ -62,7 +62,7 @@ files you download.
 
 <script type="text/javascript">
   _deferredFunctions.push(function() {
-      if ("7.1.1" === "{{current_broker_j_release}}") {
+      if ("7.1.1" === "{{current_broker_j_release}}" || "7.1.1" === "{{other_broker_j_release}}") {
           _modifyCurrentReleaseLinks();
       }
   });
diff --git a/scripts/gen-broker-j-release-page b/scripts/gen-broker-j-release-page
index 9b86135..17e0dc9 100755
--- a/scripts/gen-broker-j-release-page
+++ b/scripts/gen-broker-j-release-page
@@ -99,7 +99,7 @@ files you download.
 
 <script type="text/javascript">
   _deferredFunctions.push(function() {{
-      if ("{release}" === "{{{{current_broker_j_release}}}}") {{
+      if ("{release}" === "{{{{current_broker_j_release}}}}" || "{release}" === "{{{{other_broker_j_release}}}}") {{
           _modifyCurrentReleaseLinks();
       }}
   }});


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