You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2016/02/03 06:01:38 UTC

[3/3] calcite git commit: [CALCITE-1074] Delete old releases from mirroring system

[CALCITE-1074] Delete old releases from mirroring system


Project: http://git-wip-us.apache.org/repos/asf/calcite/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite/commit/5324a398
Tree: http://git-wip-us.apache.org/repos/asf/calcite/tree/5324a398
Diff: http://git-wip-us.apache.org/repos/asf/calcite/diff/5324a398

Branch: refs/heads/master
Commit: 5324a3988c8ca354c7af771b124762be3002c648
Parents: ecf4d6d
Author: Julian Hyde <jh...@apache.org>
Authored: Tue Feb 2 21:00:20 2016 -0800
Committer: Julian Hyde <jh...@apache.org>
Committed: Tue Feb 2 21:00:20 2016 -0800

----------------------------------------------------------------------
 site/downloads/index.md | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/5324a398/site/downloads/index.md
----------------------------------------------------------------------
diff --git a/site/downloads/index.md b/site/downloads/index.md
index 8065671..7faead0 100644
--- a/site/downloads/index.md
+++ b/site/downloads/index.md
@@ -34,14 +34,18 @@ Release          | Date       | Commit   | Download
 {% endcomment %}{% else %}{% comment %}
 {% endcomment %}{% capture v %}apache-calcite-{{ post.version }}{% endcapture %}{% comment %}
 {% endcomment %}{% endif %}{% comment %}
-{% endcomment %}{% if forloop.index0 < 2 %}{% comment %}
+{% endcomment %}{% if forloop.index0 < 1 %}{% comment %}
 {% endcomment %}{% capture p %}http://www.apache.org/dyn/closer.lua?filename=calcite/{{ v }}{% endcapture %}{% comment %}
 {% endcomment %}{% assign q = "&action=download" %}{% comment %}
 {% endcomment %}{% assign d = "https://www.apache.org/dist" %}{% comment %}
-{% endcomment %}{% else %}{% comment %}
+{% endcomment %}{% elsif forloop.rindex < 8 %}{% comment %}
 {% endcomment %}{% capture p %}http://archive.apache.org/dist/incubator/calcite/{{ v }}{% endcapture %}{% comment %}
 {% endcomment %}{% assign q = "" %}{% comment %}
 {% endcomment %}{% assign d = "https://archive.apache.org/dist/incubator" %}{% comment %}
+{% endcomment %}{% else %}{% comment %}
+{% endcomment %}{% capture p %}http://archive.apache.org/dist/calcite/{{ v }}{% endcapture %}{% comment %}
+{% endcomment %}{% assign q = "" %}{% comment %}
+{% endcomment %}{% assign d = "https://archive.apache.org/dist" %}{% comment %}
 {% endcomment %}{% endif %}{% comment %}
 {% endcomment %}<a href="{{ site.baseurl }}/docs/history.html#{{ post.tag }}">{{ post.version }}</a>{% comment %}
 {% endcomment %} | {{ post.date | date_to_string }}{% comment %}