From f2f8a9e541afecd17239d830fabe319728bfd2fd Mon Sep 17 00:00:00 2001 From: Luciano Resende Date: Sat, 5 Jan 2019 08:14:20 -0800 Subject: [PATCH] Update download page template --- site/_data/project.yml | 2 ++ site/download.md | 66 ++++++++++++++++++++++-------------------- 2 files changed, 36 insertions(+), 32 deletions(-) diff --git a/site/_data/project.yml b/site/_data/project.yml index 5a846c7..4434d37 100644 --- a/site/_data/project.yml +++ b/site/_data/project.yml @@ -23,6 +23,7 @@ incubator_slash_name: incubator/systemml description: Apache SystemML is a distributed and declarative machine learning platform. download: /download +latest_release: 1.2.0 dev_list: dev@systemml.incubator.apache.org dev_list_subscribe: dev-subscribe@systemml.incubator.apache.org @@ -46,6 +47,7 @@ commits_list_archive_mailarchive: https://www.mail-archive.com/commits@systemml. commits_list_archive_markmail: jira: SYSTEMML +github_project_name: incubator-systemml source_repository: https://git-wip-us.apache.org/repos/asf/incubator-systemml.git source_repository_mirror: https://github.com/apache/incubator-systemml diff --git a/site/download.md b/site/download.md index 37843c4..6a36beb 100644 --- a/site/download.md +++ b/site/download.md @@ -28,48 +28,50 @@ limitations under the License. {{ site.data.project.name }} is released as a source artifact, and also through Maven. -### Source releases +### Release Artifacts -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 %}{{ post.version }}{% comment %} -{% endcomment %} | {{ post.date | date_to_string }}{% comment %} -{% endcomment %} | {{ post.sha }}{% comment %} -{% endcomment %} | tar{% comment %} -{% endcomment %} (md5{% comment %} -{% endcomment %} pgp){% comment %} -{% endcomment %} {% raw %}
{% endraw %}{% comment %} -{% endcomment %} zip{% comment %} -{% endcomment %} (md5{% comment %} -{% endcomment %} pgp){% comment %} -{% endcomment %} -{% endfor %} + + + + + + + + + + + + + + + + + + + + + + + + +
NameArchiveSHA-512Signature
{{ site.data.project.name }} {{site.data.project.latest_release}} (tar.gz)tar.gzSHA-512ASC
{{ site.data.project.name }} {{site.data.project.latest_release}} (source tar.gz)tar.gzSHA-512ASC
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/{{ site.data.project.incubator_slash_name }}/KEYS)). If you cannot do that, the *md5* hash file may be used to check that the download has completed OK. For fast downloads, current source distributions are hosted on mirror servers; older source distributions are in the -[archive](http://archive.apache.org/dist/incubator/{{ site.data.project.unix_name }}/). +[archive](http://archive.apache.org/dist/{{ site.data.project.incubator_slash_name }}/). If a download from a mirror fails, retry, and the second download will likely succeed. -- 2.25.1