You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sdap.apache.org by rk...@apache.org on 2023/04/28 17:09:10 UTC
[incubator-sdap-website] 02/03: Improvements to downloads page
This is an automated email from the ASF dual-hosted git repository.
rkk pushed a commit to branch release-page
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-website.git
commit af06c600a307f253d6c12ff9f65e74a5d9880901
Author: rileykk <ri...@jpl.nasa.gov>
AuthorDate: Wed Mar 15 11:08:48 2023 -0700
Improvements to downloads page
- Allow for specifications of releases/components in yaml file
- Pinned table of latest component versions to top of page
- Added table for release history
This allows us to avoid rereleasing a component if it isn't edited between releases and maintain a coherent release page.
---
source/_data/releases.yml | 47 +++++++++++++++++++++++++++++++
source/downloads.html | 71 ++++++++++++++++++++++++++++++++++++++++++++---
2 files changed, 114 insertions(+), 4 deletions(-)
diff --git a/source/_data/releases.yml b/source/_data/releases.yml
new file mode 100644
index 0000000..dfea14f
--- /dev/null
+++ b/source/_data/releases.yml
@@ -0,0 +1,47 @@
+releases:
+ latest:
+ - component: nexus
+ displayName: Nexus
+ componentVersion: 1.1.0
+ release: 1.1.0
+ releaseDate: TBD
+ - component: ingester
+ displayName: Ingester
+ componentVersion: 1.1.0
+ release: 1.1.0
+ releaseDate: TBD
+ - component: nexusproto
+ displayName: Nexus Protobuf
+ componentVersion: 1.0.0
+ release: 1.0.0
+ releaseDate: 2023-01-18
+ - component: insitu
+ displayName: In-Situ Data Services
+ componentVersion: 1.0.0
+ release: 1.1.0
+ releaseDate: TBD
+ history:
+ - release: 1.1.0
+ releaseDate: TBD
+ components:
+ - component: nexus
+ displayName: Nexus
+ componentVersion: 1.1.0
+ - component: ingester
+ displayName: Ingester
+ componentVersion: 1.1.0
+ - component: insitu
+ displayName: In-Situ Data Services
+ componentVersion: 1.0.0
+ - release: 1.0.0
+ releaseDate: 2023-01-18
+ components:
+ - component: nexus
+ displayName: Nexus
+ componentVersion: 1.0.0
+ - component: ingester
+ displayName: Ingester
+ componentVersion: 1.0.0
+ - component: nexusproto
+ displayName: Nexus Protobuf
+ componentVersion: 1.0.0
\ No newline at end of file
diff --git a/source/downloads.html b/source/downloads.html
index 3fd78c0..8a26e56 100644
--- a/source/downloads.html
+++ b/source/downloads.html
@@ -8,21 +8,84 @@
<p>The table below contains links to download the Apache SDAP (incubating) module source distributions as well as their signature and checksum files from ASF mirrors.</p>
<h2>SDAP</h2>
+<h3>Latest Components</h3>
+<table class="version-table">
+ <thead>
+ <tr>
+ <th>Component</th>
+ <th>Component Version</th>
+ <th>Release Version</th>
+ <th>Release Date</th>
+ <th>Source Distribution</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% assign latest = site.data.releases.releases.latest %}
+ {% for component in latest %}
+ <tr>
+ <td>{{ component.displayName }}</td>
+ <td>{{ component.componentVersion }}</td>
+ <td>{{ component.release }}</td>
+ <td>{{ component.releaseDate }}</td>
+ <td>
+ <a href="https://www.apache.org/dyn/closer.lua/incubator/sdap/{{ component.release }}-incubating/apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz">
+ [source] apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz
+ </a>
+ <a href="https://www.apache.org/dyn/closer.lua/incubator/sdap/{{ component.release }}-incubating/apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz.asc">
+ [signature] apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz
+ </a>
+ <a href="https://www.apache.org/dyn/closer.lua/incubator/sdap/{{ component.release }}-incubating/apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz.sha512">
+ [checksum] apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz
+ </a>
+ </td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+<h3>Release History</h3>
<table class="version-table">
<thead>
<tr>
- <th>Date</th>
- <th>Version</th>
- <th>Module</th>
+ <th>Release Version</th>
+ <th>Release Date</th>
+ <th>Component</th>
+ <th>Component Version</th>
<th>Source Distribution</th>
</tr>
</thead>
<tbody>
- {% include release.html date="2023-01-18" version="1.0.0" %}
+ {% assign history = site.data.releases.releases.history %}
+ {% for release in history %}
+ {% assign first = true %}
+ {% for component in release.components %}
+ <tr>
+ {% if first %}
+ <td rowspan="{{ release.components.size }}">{{ release.release }}</td>
+ <td rowspan="{{ release.components.size }}">{{ release.releaseDate }}</td>
+ {% assign first = false %}
+ {% endif %}
+ <td>{{ component.displayName }}</td>
+ <td>{{ component.componentVersion }}</td>
+ <td>
+ <a href="https://www.apache.org/dyn/closer.lua/incubator/sdap/{{ component.release }}-incubating/apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz">
+ [source] apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz
+ </a>
+ <a href="https://www.apache.org/dyn/closer.lua/incubator/sdap/{{ component.release }}-incubating/apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz.asc">
+ [signature] apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz
+ </a>
+ <a href="https://www.apache.org/dyn/closer.lua/incubator/sdap/{{ component.release }}-incubating/apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz.sha512">
+ [checksum] apache-sdap-{{ component.component }}-{{ component.release }}-incubating-src.tar.gz
+ </a>
+ </td>
+ </tr>
+ {% endfor %}
+ {% endfor %}
</tbody>
</table>
+
+
<h2>Instructions</h2>
<p>To download, build and deploy Apache SDAP (incubating):</p>