accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo-website] 02/02: Add archive indicators for old version (#85)
Date Mon, 14 May 2018 21:03:36 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit eafeeafbf82d0e7a7f77a93027230dac06409680
Author: Christopher Tubbs <ctubbsii@apache.org>
AuthorDate: Mon May 14 17:02:46 2018 -0400

    Add archive indicators for old version (#85)
    
    Also call out versions which were archived and superseded for critical
    issues.
---
 _layouts/release.html                                 | 19 ++++++++++++++++++-
 .../release/2011-12-16-accumulo-1.3.5-incubating.md   |  1 +
 _posts/release/2012-03-30-accumulo-1.4.0.md           |  1 +
 _posts/release/2012-07-03-accumulo-1.4.1.md           |  1 +
 _posts/release/2012-07-06-accumulo-1.3.6.md           |  1 +
 _posts/release/2012-11-15-accumulo-1.4.2.md           |  1 +
 _posts/release/2013-03-18-accumulo-1.4.3.md           |  1 +
 _posts/release/2013-05-25-accumulo-1.5.0.md           |  1 +
 _posts/release/2013-08-23-accumulo-1.4.4.md           |  1 +
 _posts/release/2014-03-06-accumulo-1.5.1.md           |  1 +
 _posts/release/2014-04-04-accumulo-1.4.5.md           |  1 +
 _posts/release/2014-05-02-accumulo-1.6.0.md           |  1 +
 _posts/release/2014-09-25-accumulo-1.6.1.md           |  1 +
 _posts/release/2015-02-16-accumulo-1.6.2.md           |  1 +
 _posts/release/2015-05-18-accumulo-1.7.0.md           |  1 +
 _posts/release/2015-06-25-accumulo-1.5.3.md           |  1 +
 _posts/release/2015-07-04-accumulo-1.6.3.md           |  1 +
 _posts/release/2015-09-19-accumulo-1.5.2.md           |  1 +
 _posts/release/2015-09-21-accumulo-1.5.4.md           |  1 +
 _posts/release/2015-10-03-accumulo-1.6.4.md           |  1 +
 _posts/release/2016-02-17-accumulo-1.6.5.md           |  1 +
 _posts/release/2016-02-26-accumulo-1.7.1.md           |  1 +
 _posts/release/2016-06-22-accumulo-1.7.2.md           |  1 +
 _posts/release/2016-09-06-accumulo-1.8.0.md           |  1 +
 _posts/release/2016-09-18-accumulo-1.6.6.md           |  1 +
 _posts/release/2017-02-26-accumulo-1.8.1.md           |  1 +
 _posts/release/2017-04-06-accumulo-1.7.3.md           |  1 +
 _posts/release/2018-04-23-accumulo-1.9.0.md           |  1 +
 _posts/release/2018-05-14-accumulo-1.9.1.md           |  1 -
 pages/release.md                                      |  6 +++++-
 30 files changed, 50 insertions(+), 3 deletions(-)

diff --git a/_layouts/release.html b/_layouts/release.html
index a8ed6e5..b3bc88b 100644
--- a/_layouts/release.html
+++ b/_layouts/release.html
@@ -4,7 +4,24 @@ layout: default
 <p>{{ page.date | date_to_string }}</p>
 
 {% if page.draft %}
-<div class="alert alert-danger" style="margin-bottom: 0px;" role="alert">These are
draft release notes for a future release of Accumulo! <a href="{{ site.baseurl }}/release/accumulo-{{
site.latest_release }}/">View the latest release notes</a>.</div>
+<div class="alert alert-info" style="margin-bottom: 0px;" role="alert">
+  <p>These are <strong>draft</strong> release notes for a future release
of Accumulo!</p>
+  <p>Please view <a class="alert-link" href="{{ site.baseurl }}/release/accumulo-{{
site.latest_release }}/">the latest release notes</a>.</p>
+</div>
+{% endif %}
+
+{% if page.archived %}
+<div class="alert alert-warning" style="margin-bottom: 0px;" role="alert">
+  <p>This version of Accumulo has been superceded by a newer version.</p>
+  <p>Please check <a class="alert-link" href="{{ site.baseurl }}/release/">our
release archive</a> for a newer version.</p>
+</div>
+{% endif %}
+
+{% if page.archived_critical %}
+<div class="alert alert-danger" style="margin-bottom: 0px;" role="alert">
+  <p><strong>WARNING:</strong> This version of Accumulo has critical bugs
fixed in newer versions.</p>
+  <p>Please check <a class="alert-link" href="{{ site.baseurl }}/release/">our
release archive</a> for a newer version.</p>
+</div>
 {% endif %}
 
 {{ content }}
diff --git a/_posts/release/2011-12-16-accumulo-1.3.5-incubating.md b/_posts/release/2011-12-16-accumulo-1.3.5-incubating.md
index 32b1576..77b37a7 100644
--- a/_posts/release/2011-12-16-accumulo-1.3.5-incubating.md
+++ b/_posts/release/2011-12-16-accumulo-1.3.5-incubating.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.3.5-incubating
+archived: true
 ---
 
 Apache Accumulo 1.3.5-incubating is the first release of Accumulo containing [these changes][changes].
diff --git a/_posts/release/2012-03-30-accumulo-1.4.0.md b/_posts/release/2012-03-30-accumulo-1.4.0.md
index 550d3e1..4ecc539 100644
--- a/_posts/release/2012-03-30-accumulo-1.4.0.md
+++ b/_posts/release/2012-03-30-accumulo-1.4.0.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.4.0
+archived: true
 ---
 
 Apache Accumulo 1.4.0 is a significant release containing [these changes][changes].
diff --git a/_posts/release/2012-07-03-accumulo-1.4.1.md b/_posts/release/2012-07-03-accumulo-1.4.1.md
index cfdec0b..ddc8918 100644
--- a/_posts/release/2012-07-03-accumulo-1.4.1.md
+++ b/_posts/release/2012-07-03-accumulo-1.4.1.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.4.1
+archived: true
 ---
 
 Apache Accumulo 1.4.1 is a maintenance release containing [these changes][changes].
diff --git a/_posts/release/2012-07-06-accumulo-1.3.6.md b/_posts/release/2012-07-06-accumulo-1.3.6.md
index 6d0e4b1..3c2d266 100644
--- a/_posts/release/2012-07-06-accumulo-1.3.6.md
+++ b/_posts/release/2012-07-06-accumulo-1.3.6.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.3.6
+archived: true
 ---
 
 Apache Accumulo 1.3.6 is a maintenance release containing [these changes][changes].
diff --git a/_posts/release/2012-11-15-accumulo-1.4.2.md b/_posts/release/2012-11-15-accumulo-1.4.2.md
index ca4d5b4..bf798c5 100644
--- a/_posts/release/2012-11-15-accumulo-1.4.2.md
+++ b/_posts/release/2012-11-15-accumulo-1.4.2.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.4.2
+archived: true
 ---
 
 Apache Accumulo 1.4.2 is a maintenance release containing [these changes][changes].
diff --git a/_posts/release/2013-03-18-accumulo-1.4.3.md b/_posts/release/2013-03-18-accumulo-1.4.3.md
index bf93d91..972ef91 100644
--- a/_posts/release/2013-03-18-accumulo-1.4.3.md
+++ b/_posts/release/2013-03-18-accumulo-1.4.3.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.4.3
+archived: true
 ---
 
 Apache Accumulo 1.4.3 is a maintenance release containing [these changes][changes].
diff --git a/_posts/release/2013-05-25-accumulo-1.5.0.md b/_posts/release/2013-05-25-accumulo-1.5.0.md
index 1c9038b..6e19f03 100644
--- a/_posts/release/2013-05-25-accumulo-1.5.0.md
+++ b/_posts/release/2013-05-25-accumulo-1.5.0.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.5.0
+archived: true
 ---
 
 Apache Accumulo 1.5.0 is a significant release containing [these changes][changes].
diff --git a/_posts/release/2013-08-23-accumulo-1.4.4.md b/_posts/release/2013-08-23-accumulo-1.4.4.md
index 68fb251..68d4ab3 100644
--- a/_posts/release/2013-08-23-accumulo-1.4.4.md
+++ b/_posts/release/2013-08-23-accumulo-1.4.4.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.4.4
+archived: true
 ---
 
 Apache Accumulo 1.4.4 is a maintenance release containing [these changes][changes].
diff --git a/_posts/release/2014-03-06-accumulo-1.5.1.md b/_posts/release/2014-03-06-accumulo-1.5.1.md
index e5dc95b..ad9244c 100644
--- a/_posts/release/2014-03-06-accumulo-1.5.1.md
+++ b/_posts/release/2014-03-06-accumulo-1.5.1.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.5.1
+archived: true
 redirect_from: /release_notes/1.5.1.html
 ---
 
diff --git a/_posts/release/2014-04-04-accumulo-1.4.5.md b/_posts/release/2014-04-04-accumulo-1.4.5.md
index 71367c7..0beba77 100644
--- a/_posts/release/2014-04-04-accumulo-1.4.5.md
+++ b/_posts/release/2014-04-04-accumulo-1.4.5.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.4.5
+archived: true
 ---
 
 Apache Accumulo 1.4.5 is a maintenance release containing [these changes][changes].
diff --git a/_posts/release/2014-05-02-accumulo-1.6.0.md b/_posts/release/2014-05-02-accumulo-1.6.0.md
index 7277179..df60211 100644
--- a/_posts/release/2014-05-02-accumulo-1.6.0.md
+++ b/_posts/release/2014-05-02-accumulo-1.6.0.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.6.0
+archived: true
 redirect_from: /release_notes/1.6.0.html
 ---
 
diff --git a/_posts/release/2014-09-25-accumulo-1.6.1.md b/_posts/release/2014-09-25-accumulo-1.6.1.md
index 6b5e81e..dde9278 100644
--- a/_posts/release/2014-09-25-accumulo-1.6.1.md
+++ b/_posts/release/2014-09-25-accumulo-1.6.1.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.6.1
+archived: true
 redirect_from: /release_notes/1.6.1.html
 ---
 
diff --git a/_posts/release/2015-02-16-accumulo-1.6.2.md b/_posts/release/2015-02-16-accumulo-1.6.2.md
index 9232e90..a0fadf2 100644
--- a/_posts/release/2015-02-16-accumulo-1.6.2.md
+++ b/_posts/release/2015-02-16-accumulo-1.6.2.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.6.2
+archived: true
 redirect_from: /release_notes/1.6.2.html
 ---
 
diff --git a/_posts/release/2015-05-18-accumulo-1.7.0.md b/_posts/release/2015-05-18-accumulo-1.7.0.md
index 1230d69..34fb812 100644
--- a/_posts/release/2015-05-18-accumulo-1.7.0.md
+++ b/_posts/release/2015-05-18-accumulo-1.7.0.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.7.0
+archived: true
 redirect_from: /release_notes/1.7.0.html
 ---
 
diff --git a/_posts/release/2015-06-25-accumulo-1.5.3.md b/_posts/release/2015-06-25-accumulo-1.5.3.md
index 0a802ec..e402e1b 100644
--- a/_posts/release/2015-06-25-accumulo-1.5.3.md
+++ b/_posts/release/2015-06-25-accumulo-1.5.3.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.5.3
+archived: true
 redirect_from: /release_notes/1.5.3.html
 ---
 
diff --git a/_posts/release/2015-07-04-accumulo-1.6.3.md b/_posts/release/2015-07-04-accumulo-1.6.3.md
index e210a9b..376c598 100644
--- a/_posts/release/2015-07-04-accumulo-1.6.3.md
+++ b/_posts/release/2015-07-04-accumulo-1.6.3.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.6.3
+archived: true
 redirect_from: /release_notes/1.6.3.html
 ---
 
diff --git a/_posts/release/2015-09-19-accumulo-1.5.2.md b/_posts/release/2015-09-19-accumulo-1.5.2.md
index 1a73486..b832e64 100644
--- a/_posts/release/2015-09-19-accumulo-1.5.2.md
+++ b/_posts/release/2015-09-19-accumulo-1.5.2.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.5.2
+archived: true
 redirect_from: /release_notes/1.5.2.html
 ---
 
diff --git a/_posts/release/2015-09-21-accumulo-1.5.4.md b/_posts/release/2015-09-21-accumulo-1.5.4.md
index 09ef319..7f88774 100644
--- a/_posts/release/2015-09-21-accumulo-1.5.4.md
+++ b/_posts/release/2015-09-21-accumulo-1.5.4.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.5.4
+archived: true
 redirect_from: /release_notes/1.5.4.html
 ---
 
diff --git a/_posts/release/2015-10-03-accumulo-1.6.4.md b/_posts/release/2015-10-03-accumulo-1.6.4.md
index b498814..c1ceab7 100644
--- a/_posts/release/2015-10-03-accumulo-1.6.4.md
+++ b/_posts/release/2015-10-03-accumulo-1.6.4.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.6.4
+archived: true
 redirect_from: /release_notes/1.6.4.html
 ---
 
diff --git a/_posts/release/2016-02-17-accumulo-1.6.5.md b/_posts/release/2016-02-17-accumulo-1.6.5.md
index 7f6d616..b58c3da 100644
--- a/_posts/release/2016-02-17-accumulo-1.6.5.md
+++ b/_posts/release/2016-02-17-accumulo-1.6.5.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.6.5
+archived: true
 redirect_from: /release_notes/1.6.5.html
 ---
 
diff --git a/_posts/release/2016-02-26-accumulo-1.7.1.md b/_posts/release/2016-02-26-accumulo-1.7.1.md
index 77ce388..e4eb791 100644
--- a/_posts/release/2016-02-26-accumulo-1.7.1.md
+++ b/_posts/release/2016-02-26-accumulo-1.7.1.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.7.1
+archived: true
 redirect_from: /release_notes/1.7.1.html
 ---
 
diff --git a/_posts/release/2016-06-22-accumulo-1.7.2.md b/_posts/release/2016-06-22-accumulo-1.7.2.md
index e9da275..ef6bf20 100644
--- a/_posts/release/2016-06-22-accumulo-1.7.2.md
+++ b/_posts/release/2016-06-22-accumulo-1.7.2.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.7.2
+archived: true
 redirect_from: /release_notes/1.7.2.html
 ---
 
diff --git a/_posts/release/2016-09-06-accumulo-1.8.0.md b/_posts/release/2016-09-06-accumulo-1.8.0.md
index 80e7ffb..82cdb65 100644
--- a/_posts/release/2016-09-06-accumulo-1.8.0.md
+++ b/_posts/release/2016-09-06-accumulo-1.8.0.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.8.0
+archived_critical: true
 redirect_from: /release_notes/1.8.0.html
 ---
 
diff --git a/_posts/release/2016-09-18-accumulo-1.6.6.md b/_posts/release/2016-09-18-accumulo-1.6.6.md
index 5053485..1113f85 100644
--- a/_posts/release/2016-09-18-accumulo-1.6.6.md
+++ b/_posts/release/2016-09-18-accumulo-1.6.6.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.6.6
+archived: true
 redirect_from: /release_notes/1.6.6.html
 ---
 
diff --git a/_posts/release/2017-02-26-accumulo-1.8.1.md b/_posts/release/2017-02-26-accumulo-1.8.1.md
index 0584ffd..6a682fa 100644
--- a/_posts/release/2017-02-26-accumulo-1.8.1.md
+++ b/_posts/release/2017-02-26-accumulo-1.8.1.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.8.1
+archived_critical: true
 redirect_from: /release_notes/1.8.1.html
 ---
 
diff --git a/_posts/release/2017-04-06-accumulo-1.7.3.md b/_posts/release/2017-04-06-accumulo-1.7.3.md
index 3b71e3d..b1d3a8e 100644
--- a/_posts/release/2017-04-06-accumulo-1.7.3.md
+++ b/_posts/release/2017-04-06-accumulo-1.7.3.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.7.3
+archived: true
 redirect_from: /release_notes/1.7.3.html
 ---
 
diff --git a/_posts/release/2018-04-23-accumulo-1.9.0.md b/_posts/release/2018-04-23-accumulo-1.9.0.md
index 97a3766..ca7364f 100644
--- a/_posts/release/2018-04-23-accumulo-1.9.0.md
+++ b/_posts/release/2018-04-23-accumulo-1.9.0.md
@@ -1,5 +1,6 @@
 ---
 title: Apache Accumulo 1.9.0
+archived_critical: true
 ---
 
 Apache Accumulo 1.9.0 is a minor release on the 1.x branch. This release would
diff --git a/_posts/release/2018-05-14-accumulo-1.9.1.md b/_posts/release/2018-05-14-accumulo-1.9.1.md
index a6c5b91..92d937a 100644
--- a/_posts/release/2018-05-14-accumulo-1.9.1.md
+++ b/_posts/release/2018-05-14-accumulo-1.9.1.md
@@ -1,6 +1,5 @@
 ---
 title: Apache Accumulo 1.9.1
-draft: true
 ---
 
 Apache Accumulo 1.9.1 contains bug fixes for a critical data loss bug. Users of
diff --git a/pages/release.md b/pages/release.md
index 6158034..4ffda7a 100644
--- a/pages/release.md
+++ b/pages/release.md
@@ -21,7 +21,11 @@ redirect_from:
   {% endif %}
   <div class="row" style="margin-top: 15px">
     <div class="col-md-1">{{ release.date | date: "%b %d" }}</div>
-    <div class="col-md-10"><a href="{{ site.baseurl }}{{ release.url }}">{{ release.title
}}</a></div>
+    {% if release.archived or release.archived_critical %}
+      <div class="col-md-10"><a href="{{ site.baseurl }}{{ release.url }}">{{
release.title }}</a></div>
+    {% else %}
+      <div class="col-md-10"><strong><a href="{{ site.baseurl }}{{ release.url
}}">{{ release.title }}</a>&nbsp;&lArr;&nbsp;current</strong></div>
+    {% endif %}
   </div>
 {% endfor %}
 </div>

-- 
To stop receiving notification emails like this one, please contact
ctubbsii@apache.org.

Mime
View raw message