You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@livy.apache.org by js...@apache.org on 2017/09/04 01:09:31 UTC

incubator-livy-website git commit: [LIVY-389][RELEASE] 0.4.0-incubating release update

Repository: incubator-livy-website
Updated Branches:
  refs/heads/master 5a044aefa -> 46e39ee66


[LIVY-389][RELEASE] 0.4.0-incubating release update

Website updates for 0.4.0-incubating, including download page, history page and 0.4.0-incubating release post.

Author: Alex Bozarth <aj...@us.ibm.com>

Closes #8 from ajbozarth/release.


Project: http://git-wip-us.apache.org/repos/asf/incubator-livy-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-livy-website/commit/46e39ee6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-livy-website/tree/46e39ee6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-livy-website/diff/46e39ee6

Branch: refs/heads/master
Commit: 46e39ee6647b145aa29d14e339c0fee49a66a4e4
Parents: 5a044ae
Author: Alex Bozarth <aj...@us.ibm.com>
Authored: Mon Sep 4 09:09:27 2017 +0800
Committer: jerryshao <ss...@hortonworks.com>
Committed: Mon Sep 4 09:09:27 2017 +0800

----------------------------------------------------------------------
 site/_data/project.yml                        |  6 +-
 site/_includes/themes/apache/_navigation.html |  2 +-
 site/_posts/2017-09-01-release-0.4.0.md       | 38 ++++++++++
 site/download.md                              | 81 ++++++++++++----------
 site/history.md                               | 24 +++----
 5 files changed, 96 insertions(+), 55 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/46e39ee6/site/_data/project.yml
----------------------------------------------------------------------
diff --git a/site/_data/project.yml b/site/_data/project.yml
index ed64dd8..923bfb2 100644
--- a/site/_data/project.yml
+++ b/site/_data/project.yml
@@ -22,8 +22,8 @@ incubator_name: incubator-livy
 incubator_slash_name: incubator/livy
 description: An REST Service for Apache Spark
 
-# uncomment after first release
-# download: download
+download: download
+latest_release: 0.4.0-incubating
 
 dev_list: dev@livy.incubator.apache.org
 dev_list_subscribe: dev-subscribe@livy.incubator.apache.org
@@ -48,6 +48,8 @@ commits_list_archive_markmail:
 
 jira: LIVY
 
+github_project_name: incubator-livy
+
 source_repository: https://git-wip-us.apache.org/repos/asf/incubator-livy.git
 source_repository_mirror: https://github.com/apache/incubator-livy
 

http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/46e39ee6/site/_includes/themes/apache/_navigation.html
----------------------------------------------------------------------
diff --git a/site/_includes/themes/apache/_navigation.html b/site/_includes/themes/apache/_navigation.html
index f837a5f..aa5ab97 100644
--- a/site/_includes/themes/apache/_navigation.html
+++ b/site/_includes/themes/apache/_navigation.html
@@ -48,7 +48,7 @@
     <p>{{ site.data.project.description }}</p>
 
     {% if site.data.project.download %}
-       <a href="{{ site.data.project.download }}" class="btn btn-primary btn-lg bigFingerButton" role="button">Get {{ site.data.project.short_name }}</a></p>
+       <a href="{{ site.data.project.download }}" class="btn btn-primary btn-lg bigFingerButton" role="button">Get {{ site.data.project.short_name }} {{ site.data.project.latest_release }}</a></p>
     {% endif %}
   </div>
 </div>

http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/46e39ee6/site/_posts/2017-09-01-release-0.4.0.md
----------------------------------------------------------------------
diff --git a/site/_posts/2017-09-01-release-0.4.0.md b/site/_posts/2017-09-01-release-0.4.0.md
new file mode 100644
index 0000000..ccf2516
--- /dev/null
+++ b/site/_posts/2017-09-01-release-0.4.0.md
@@ -0,0 +1,38 @@
+---
+layout: post
+date: "2017-09-01 12:00:00 +0000"
+author: ajbozarth
+version: 0.4.0-incubating
+categories: [release]
+tag: v0-4-0-incubating
+sha: e36b6f5
+---
+<!--
+{% comment %}
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+{% endcomment %}
+-->
+
+This is our first Apache release!
+
+We're excited to be in the Apache Incubator.
+
+New features
+
+* [<a href="https://issues.apache.org/jira/browse/LIVY-87">LIVY-87</a>]
+  Create a Livy Web UI to monitor sessions
+* [<a href="https://issues.apache.org/jira/browse/LIVY-348">LIVY-348</a>]
+  Improve Livy's ACLs

http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/46e39ee6/site/download.md
----------------------------------------------------------------------
diff --git a/site/download.md b/site/download.md
index 2aa9022..625be8a 100644
--- a/site/download.md
+++ b/site/download.md
@@ -30,40 +30,49 @@ limitations under the License.
 
 ### Source releases
 
-There is no official release of Apache Livy yet, try checking out the
-[GitHub repo](https://github.com/apache/{{ site.data.project.incubator_name }}) and building the source code.
-
-<!-- COMMENTED OUT UNTIL FIRST RELEASE
-Release          | Date       | Commit   | Download
-:--------------- | :--------- | :------- | :-------
-{% for post in site.categories.release %}{% comment %}
-{% endcomment %}{% if post.fullVersion %}{% comment %}
-{% endcomment %}{% assign v = post.fullVersion %}{% comment %}
-{% endcomment %}{% else %}{% comment %}
-{% endcomment %}{% capture v %}apache-{{ site.data.project.unix_name }}-{{ post.version }}{% endcapture %}{% comment %}
-{% endcomment %}{% endif %}{% comment %}
-{% endcomment %}{% if forloop.index0 < 2 %}{% comment %}
-{% endcomment %}{% capture p %}http://www.apache.org/dyn/closer.lua?filename={{ site.data.project.unix_name }}/{{ v }}{% endcapture %}{% comment %}
-{% endcomment %}{% assign q = "&action=download" %}{% comment %}
-{% endcomment %}{% assign d = "https://www.apache.org/dist" %}{% comment %}
-{% endcomment %}{% else %}{% comment %}
-{% endcomment %}{% capture p %}http://archive.apache.org/dist/incubator/{{ site.data.project.unix_name }}/{{ v }}{% endcapture %}{% comment %}
-{% endcomment %}{% assign q = "" %}{% comment %}
-{% endcomment %}{% assign d = "https://archive.apache.org/dist/incubator" %}{% comment %}
-{% endcomment %}{% endif %}{% comment %}
-{% endcomment %}<a href="{{ site.baseurl }}/history.html#{{ post.tag }}">{{ post.version }}</a>{% comment %}
-{% endcomment %} | {{ post.date | date_to_string }}{% comment %}
-{% endcomment %} | <a href="https://github.com/apache/{{ site.data.project.unix_name }}/commit/{{ post.sha }}">{{ post.sha }}</a>{% comment %}
-{% endcomment %} | <a href="{{ p }}/{{ v }}-src.tar.gz{{ q }}">tar</a>{% comment %}
-{% endcomment %} (<a href="{{ d }}/{{ site.data.project.unix_name }}/{{ v }}/{{ v }}-src.tar.gz.md5">md5</a>{% comment %}
-{% endcomment %} <a href="{{ d }}/{{ site.data.project.unix_name }}/{{ v }}/{{ v }}-src.tar.gz.asc">pgp</a>){% comment %}
-{% endcomment %} {% raw %}<br>{% endraw %}{% comment %}
-{% endcomment %} <a href="{{ p }}/{{ v }}-src.zip{{ q }}">zip</a>{% comment %}
-{% endcomment %} (<a href="{{ d }}/{{ site.data.project.unix_name }}/{{ v }}/{{ v }}-src.zip.md5">md5</a>{% comment %}
-{% endcomment %} <a href="{{ d }}/{{ site.data.project.unix_name }}/{{ v }}/{{ v }}-src.zip.asc">pgp</a>){% comment %}
-{% endcomment %}
-{% endfor %}
--->
+<table class="table table-hover sortable">
+    <thead>
+        <tr>
+            <th><b>Name</b></th>
+            <th><b>Archive</b></th>
+            <th><b>MD5</b></th>
+            <th><b>SHA-512</b></th>
+            <th><b>signature</b></th>
+        </tr>
+    </thead>
+    <tbody>
+        <tr>
+            <td>{{ site.data.project.name }} {{site.data.project.latest_release}} (tar.gz)</td>
+            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/{{site.data.project.unix_name}}/{{site.data.project.latest_release}}/{{site.data.project.unix_name}}-{{site.data.project.latest_release}}-bin.zip">tar.gz</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/{{site.data.project.unix_name}}/{{site.data.project.latest_release}}/{{site.data.project.unix_name}}-{{site.data.project.latest_release}}-bin.zip.md5">MD5</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/{{site.data.project.unix_name}}/{{site.data.project.latest_release}}/{{site.data.project.unix_name}}-{{site.data.project.latest_release}}-bin.zip.sha512">SHA-512</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/{{site.data.project.unix_name}}/{{site.data.project.latest_release}}/{{site.data.project.unix_name}}-{{site.data.project.latest_release}}-bin.zip.asc">ASC</a></td>
+        </tr>
+        <tr>
+            <td>{{ site.data.project.name }} {{site.data.project.latest_release}} (source tar.gz)</td>
+            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/{{site.data.project.unix_name}}/{{site.data.project.latest_release}}/{{site.data.project.unix_name}}-{{site.data.project.latest_release}}-src.zip">tar.gz</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/{{site.data.project.unix_name}}/{{site.data.project.latest_release}}/{{site.data.project.unix_name}}-{{site.data.project.latest_release}}-src.zip.md5">MD5</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/{{site.data.project.unix_name}}/{{site.data.project.latest_release}}/{{site.data.project.unix_name}}-{{site.data.project.latest_release}}-src.zip.sha512">SHA-512</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/{{site.data.project.unix_name}}/{{site.data.project.latest_release}}/{{site.data.project.unix_name}}-{{site.data.project.latest_release}}-src.zip.asc">ASC</a></td>
+        </tr>
+    </tbody>
+</table>
+
+You can also retrieve the source files from our [git repository](https://github.com/apache/{{ site.data.project.incubator_name }}) by typing:
+
+<pre>
+git clone {{site.data.project.source_repository_mirror}}
+cd {{site.data.project.github_project_name}}
+git checkout -b tags/v{{site.data.project.latest_release}} v{{site.data.project.latest_release}}
+</pre>
+
+### Release Notes
+
+Release notes for the current and previous releases can be found in the [release history]({{ site.baseurl }}/history)
+
+### Previous Releases
+
+All previous releases of {{ site.data.project.name }} can be found in the [archives](http://archive.apache.org/dist/incubator/{{site.data.project.unix_name}}/).
 
 ## Verifying a Release
 
@@ -72,7 +81,7 @@ Instructions for checking hashes and signatures is indicated on the [Verifying A
 Choose a source distribution in either *tar* or *zip* format,
 and [verify](http://www.apache.org/dyn/closer.cgi#verify)
 using the corresponding *pgp* signature (using the committer file in
-[KEYS](http://www.apache.org/dist/{{ site.data.project.unix_name }}/KEYS)).
+[KEYS](http://www.apache.org/dist/incubator/{{ site.data.project.unix_name }}/KEYS)).
 If you cannot do that, the *md5* hash file may be used to check that the
 download has completed OK.
 
@@ -83,5 +92,5 @@ If a download from a mirror fails, retry, and the second download will likely
 succeed.
 
 For security, hash and signature files are always hosted at
-[Apache](https://www.apache.org/dist).
+[Apache](https://www.apache.org/dist/incubator/{{ site.data.project.unix_name }}/).
 

http://git-wip-us.apache.org/repos/asf/incubator-livy-website/blob/46e39ee6/site/history.md
----------------------------------------------------------------------
diff --git a/site/history.md b/site/history.md
index 60d9d25..d41d1cb 100644
--- a/site/history.md
+++ b/site/history.md
@@ -25,29 +25,21 @@ limitations under the License.
 
 {% include JB/setup %}
 
-## {{ site.data.project.name }} Downloads
+## {{ site.data.project.name }} Releases
 
 For a full list of releases, see
 <a href="https://github.com/apache/{{ site.data.project.incubator_name }}/releases">GitHub</a>.
 Downloads are available on the
 [downloads page]({{ site.baseurl }}/download).
 
-<!-- COMMENTED OUT UNTIL FIRST RELEASE
-## <a href="https://github.com/apache/{{ site.data.project.incubator_name }}/releases/tag/{{ site.data.project.unix_name }}-0.2.0">0.2.0</a> / 2015-11-10
-{: #v0-2-0}
+## <a href="https://github.com/apache/{{ site.data.project.incubator_name }}/releases/tag/v0.4.0-incubating">0.4.0-incubating</a> / 2017-09-01
+{: #v0-4-0-incubating}
 
-Our second release!
+Our first Apache release!
 
 New features
 
-* [<a href="https://issues.apache.org/jira/browse/FOO-911">FOO-911</a>]
-  Add a variant of `FooSchema` that does not cache sub-objects
-* [<a href="https://issues.apache.org/jira/browse/FOO-845">FOO-845</a>]
-  Derive `FOO` return type by a customizable policy
-
-## <a href="https://github.com/apache/{{ site.data.project.incubator_name }}/releases/tag/{{ site.data.project.unix_name }}-0.1.0">0.1.0</a> / 2015-09-25
-{: #v0-1-0}
-
-Our first release!
-
--->
+* [<a href="https://issues.apache.org/jira/browse/LIVY-87">LIVY-87</a>]
+  Create a Livy Web UI to monitor sessions
+* [<a href="https://issues.apache.org/jira/browse/LIVY-348">LIVY-348</a>]
+  Improve Livy's ACLs