Author: wfarner
Date: Sat Dec 12 21:36:36 2015
New Revision: 1719738
URL: http://svn.apache.org/viewvc?rev=1719738&view=rev
Log:
Extract template data for release listing.
Added:
aurora/site/data/downloads.yml
aurora/site/source/downloads.html.md.erb
- copied, changed from r1719722, aurora/site/source/downloads.html.md
Removed:
aurora/site/source/downloads.html.md
Modified:
aurora/site/publish/community/index.html
aurora/site/publish/downloads/index.html
Added: aurora/site/data/downloads.yml
URL:
http://svn.apache.org/viewvc/aurora/site/data/downloads.yml?rev=1719738&view=auto
==============================================================================
--- aurora/site/data/downloads.yml (added)
+++ aurora/site/data/downloads.yml Sat Dec 12 21:36:36 2015
@@ -0,0 +1,11 @@
+releases:
+ - version: 0.10.0
+ - version: 0.9.0
+ blog_post: aurora-0-9-0-released
+ - version: 0.8.0
+ blog_post: aurora-0-8-0-released
+ - version: 0.7.0-incubating
+ blog_post: aurora-0-7-0-incubating-released
+ - version: 0.6.0-incubating
+ blog_post: aurora-0-6-0-incubating-released
+ - version: 0.5.0-incubating
Modified: aurora/site/publish/community/index.html
URL:
http://svn.apache.org/viewvc/aurora/site/publish/community/index.html?rev=1719738&r1=1719737&r2=1719738&view=diff
==============================================================================
--- aurora/site/publish/community/index.html (original)
+++ aurora/site/publish/community/index.html Sat Dec 12 21:36:36 2015
@@ -57,35 +57,31 @@
<a href="mailto:[email protected]">Unsubscribe</a> |
<a
href="http://mail-archives.apache.org/mod_mbox/aurora-user/">Archive</a>
<br />
-
<strong>Announcements</strong><br />
<a href="mailto:[email protected]">Subscribe</a>
|
<a
href="mailto:[email protected]">Unsubscribe</a> |
<a
href="http://mail-archives.apache.org/mod_mbox/aurora-announcements/">Archive</a>
<br />
-
<strong>Developers</strong><br />
<a href="mailto:[email protected]">Subscribe</a> |
<a href="mailto:[email protected]">Unsubscribe</a> |
<a
href="http://mail-archives.apache.org/mod_mbox/aurora-dev/">Archive</a>
<br />
-
<strong>Issues</strong><br />
<a href="mailto:[email protected]">Subscribe</a> |
<a href="mailto:[email protected]">Unsubscribe</a> |
<a
href="http://mail-archives.apache.org/mod_mbox/aurora-issues/">Archive</a>
<br />
-
<strong>Code commits</strong><br />
<a href="mailto:[email protected]">Subscribe</a> |
<a href="mailto:[email protected]">Unsubscribe</a> |
<a
href="http://mail-archives.apache.org/mod_mbox/aurora-commits/">Archive</a>
<br />
-
<strong>Code reviews</strong><br />
<a href="mailto:[email protected]">Subscribe</a> |
<a href="mailto:[email protected]">Unsubscribe</a> |
<a
href="http://mail-archives.apache.org/mod_mbox/aurora-reviews/">Archive</a>
+ <br />
</p>
<h4 name="ircchannel">IRC</h4>
Modified: aurora/site/publish/downloads/index.html
URL:
http://svn.apache.org/viewvc/aurora/site/publish/downloads/index.html?rev=1719738&r1=1719737&r2=1719738&view=diff
==============================================================================
--- aurora/site/publish/downloads/index.html (original)
+++ aurora/site/publish/downloads/index.html Sat Dec 12 21:36:36 2015
@@ -50,35 +50,45 @@
<h2 id="binary-distributions">Binary distributions</h2>
-<p>Official binaries can be found on our <a
href="https://bintray.com/apache/aurora">bintray</a>.</p>
+<p>Ubuntu 14.04 <a
href="https://bintray.com/apache/aurora/debian-ubuntu-trusty/_latestVersion">
<img alt="Download"
src="https://api.bintray.com/packages/apache/aurora/debian-ubuntu-trusty/images/download.svg"
/> </a></p>
+
+<p>Want package for a different platform? Let us <a
href="/community">know</a>!</p>
<h2 id="source-distributions">Source distributions</h2>
-<h3 id="current-release">Current Release</h3>
+<h4 id="0-10-0"><a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.10.0/apache-aurora-0.10.0.tar.gz">0.10.0</a></h4>
+
+<p><a href="https://www.apache.org/dist/aurora/0.10.0/">signatures</a>
+| <a
href="https://git-wip-us.apache.org/repos/asf?p=aurora.git;a=log;h=refs/heads/0.10.0">commit
log</a></p>
+
+<h4 id="0-9-0"><a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.9.0/apache-aurora-0.9.0.tar.gz">0.9.0</a></h4>
+
+<p><a href="https://www.apache.org/dist/aurora/0.9.0/">signatures</a>
+| <a
href="https://git-wip-us.apache.org/repos/asf?p=aurora.git;a=log;h=refs/heads/0.9.0">commit
log</a>
+| <a href="/blog/aurora-0-9-0-released/">release notes</a></p>
+
+<h4 id="0-8-0"><a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.8.0/apache-aurora-0.8.0.tar.gz">0.8.0</a></h4>
-<p>The current released version is <a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.10.0/apache-aurora-0.10.0.tar.gz">0.10.0</a>
-(<a href="https://www.apache.org/dist/aurora/0.10.0/">signatures</a>).</p>
+<p><a href="https://www.apache.org/dist/aurora/0.8.0/">signatures</a>
+| <a
href="https://git-wip-us.apache.org/repos/asf?p=aurora.git;a=log;h=refs/heads/0.8.0">commit
log</a>
+| <a href="/blog/aurora-0-8-0-released/">release notes</a></p>
-<h3 id="previous-releases">Previous Releases</h3>
+<h4 id="0-7-0-incubating"><a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.7.0-incubating/apache-aurora-0.7.0-incubating.tar.gz">0.7.0-incubating</a></h4>
-<p><a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.9.0/apache-aurora-0.9.0.tar.gz">0.9.0</a>
-(<a href="/blog/aurora-0-9-0-released/">notes</a>)
-(<a href="https://www.apache.org/dist/aurora/0.9.0/">signatures</a>)</p>
+<p><a
href="https://www.apache.org/dist/aurora/0.7.0-incubating/">signatures</a>
+| <a
href="https://git-wip-us.apache.org/repos/asf?p=aurora.git;a=log;h=refs/heads/0.7.0-incubating">commit
log</a>
+| <a href="/blog/aurora-0-7-0-incubating-released/">release notes</a></p>
-<p><a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.8.0/apache-aurora-0.8.0.tar.gz">0.8.0</a>
-(<a href="/blog/aurora-0-8-0-released/">notes</a>)
-(<a href="https://www.apache.org/dist/aurora/0.8.0/">signatures</a>)</p>
+<h4 id="0-6-0-incubating"><a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.6.0-incubating/apache-aurora-0.6.0-incubating.tar.gz">0.6.0-incubating</a></h4>
-<p><a
href="https://archive.apache.org/dist/aurora/0.7.0/apache-aurora-0.7.0-incubating.tar.gz">0.7.0-incubating</a>
-(<a href="/blog/aurora-0-7-0-incubating-released/">notes</a>)
-(<a href="https://archive.apache.org/dist/aurora/0.7.0/">signatures</a>)</p>
+<p><a
href="https://www.apache.org/dist/aurora/0.6.0-incubating/">signatures</a>
+| <a
href="https://git-wip-us.apache.org/repos/asf?p=aurora.git;a=log;h=refs/heads/0.6.0-incubating">commit
log</a>
+| <a href="/blog/aurora-0-6-0-incubating-released/">release notes</a></p>
-<p><a
href="https://archive.apache.org/dist/aurora/0.6.0/apache-aurora-0.6.0-incubating.tar.gz">0.6.0-incubating</a>
-(<a href="/blog/aurora-0-6-0-incubating-released/">notes</a>)
-(<a href="https://archive.apache.org/dist/aurora/0.6.0/">signatures</a>)</p>
+<h4 id="0-5-0-incubating"><a
href="http://www.apache.org/dyn/closer.cgi?path=/aurora/0.5.0-incubating/apache-aurora-0.5.0-incubating.tar.gz">0.5.0-incubating</a></h4>
-<p><a
href="https://archive.apache.org/dist/aurora/0.5.0/apache-aurora-0.5.0-incubating.tar.gz">0.5.0-incubating</a>
-(<a href="https://archive.apache.org/dist/aurora/0.5.0/">signatures</a>)</p>
+<p><a
href="https://www.apache.org/dist/aurora/0.5.0-incubating/">signatures</a>
+| <a
href="https://git-wip-us.apache.org/repos/asf?p=aurora.git;a=log;h=refs/heads/0.5.0-incubating">commit
log</a></p>
<h3 id="git">Git</h3>
Copied: aurora/site/source/downloads.html.md.erb (from r1719722,
aurora/site/source/downloads.html.md)
URL:
http://svn.apache.org/viewvc/aurora/site/source/downloads.html.md.erb?p2=aurora/site/source/downloads.html.md.erb&p1=aurora/site/source/downloads.html.md&r1=1719722&r2=1719738&rev=1719738&view=diff
==============================================================================
--- aurora/site/source/downloads.html.md (original)
+++ aurora/site/source/downloads.html.md.erb Sat Dec 12 21:36:36 2015
@@ -9,33 +9,20 @@ If you're new, consider starting with th
Signature files are not propagated to mirrors, so we link directly to those.
-->
## Binary distributions
-Official binaries can be found on our
[bintray](https://bintray.com/apache/aurora).
+Ubuntu 14.04 [

](https://bintray.com/apache/aurora/debian-ubuntu-trusty/_latestVersion)
-## Source distributions
-
-### Current Release
-The current released version is
[0.10.0](http://www.apache.org/dyn/closer.cgi?path=/aurora/0.10.0/apache-aurora-0.10.0.tar.gz)
-([signatures](https://www.apache.org/dist/aurora/0.10.0/)).
-
-### Previous Releases
-[0.9.0](http://www.apache.org/dyn/closer.cgi?path=/aurora/0.9.0/apache-aurora-0.9.0.tar.gz)
-([notes](/blog/aurora-0-9-0-released/))
-([signatures](https://www.apache.org/dist/aurora/0.9.0/))
+Want package for a different platform? Let us [know](/community)!
-[0.8.0](http://www.apache.org/dyn/closer.cgi?path=/aurora/0.8.0/apache-aurora-0.8.0.tar.gz)
-([notes](/blog/aurora-0-8-0-released/))
-([signatures](https://www.apache.org/dist/aurora/0.8.0/))
-
-[0.7.0-incubating](https://archive.apache.org/dist/aurora/0.7.0/apache-aurora-0.7.0-incubating.tar.gz)
-([notes](/blog/aurora-0-7-0-incubating-released/))
-([signatures](https://archive.apache.org/dist/aurora/0.7.0/))
-
-[0.6.0-incubating](https://archive.apache.org/dist/aurora/0.6.0/apache-aurora-0.6.0-incubating.tar.gz)
-([notes](/blog/aurora-0-6-0-incubating-released/))
-([signatures](https://archive.apache.org/dist/aurora/0.6.0/))
+## Source distributions
-[0.5.0-incubating](https://archive.apache.org/dist/aurora/0.5.0/apache-aurora-0.5.0-incubating.tar.gz)
-([signatures](https://archive.apache.org/dist/aurora/0.5.0/))
+<% data.downloads.releases.each do |release| %>
+#### [<%= release.version
%>](http://www.apache.org/dyn/closer.cgi?path=/aurora/<%= release.version
%>/apache-aurora-<%= release.version %>.tar.gz)
+[signatures](https://www.apache.org/dist/aurora/<%= release.version %>/)
+| [commit
log](https://git-wip-us.apache.org/repos/asf?p=aurora.git;a=log;h=refs/heads/<%=
release.version %>)
+<% if release.blog_post %>
+| [release notes](/blog/<%= release.blog_post %>/)
+<% end %>
+<% end %>
### Git
The latest code is available in git via: