You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2016/11/16 23:06:54 UTC

incubator-systemml-website git commit: [SYSTEMML-1105] Download page has release version hardcoded

Repository: incubator-systemml-website
Updated Branches:
  refs/heads/master 90d65b691 -> 6fb6a086e


[SYSTEMML-1105] Download page has release version hardcoded

Switch hardcoded elements to information from data configuration files.

Closes #34.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/commit/6fb6a086
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/tree/6fb6a086
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/diff/6fb6a086

Branch: refs/heads/master
Commit: 6fb6a086e6245cd635dc825fccc1e6ae3e7a9aee
Parents: 90d65b6
Author: Jason Azares <ja...@gmail.com>
Authored: Wed Nov 16 15:04:21 2016 -0800
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Wed Nov 16 15:04:21 2016 -0800

----------------------------------------------------------------------
 _src/_data/project.yml |  4 +++-
 _src/download.html     | 30 +++++++++++++++---------------
 2 files changed, 18 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/6fb6a086/_src/_data/project.yml
----------------------------------------------------------------------
diff --git a/_src/_data/project.yml b/_src/_data/project.yml
index 1f27a83..41e707f 100644
--- a/_src/_data/project.yml
+++ b/_src/_data/project.yml
@@ -47,9 +47,11 @@ issues_list_archive: http://mail-archives.apache.org/mod_mbox/systemml-issues/
 issues_list_archive_mailarchive: https://www.mail-archive.com/issues@systemml.incubator.apache.org/
 issues_list_archive_markmail:
 
-
 jira: SYSTEMML
 
+release_name: systemml
+release_version: 0.11.0-incubating
+
 source_repository: https://git-wip-us.apache.org/repos/asf/incubator-systemml.git
 source_repository_mirror: https://github.com/apache/incubator-systemml
 

http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/6fb6a086/_src/download.html
----------------------------------------------------------------------
diff --git a/_src/download.html b/_src/download.html
index 2af83ad..064e3be 100644
--- a/_src/download.html
+++ b/_src/download.html
@@ -39,7 +39,7 @@ limitations under the License.
       <p>Apache SystemML is released as a source artifact. Binary artifacts (including the ones available in Maven) are made available for your convenience. You will be prompted for a mirror - if the file is not found on yours, please be patient, as it may take 24 hours to reach all mirrors. Apache SystemML is distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, version 2.0</a>. </p>
     </div>
     <div class="col col-12 content-group">
-      <h2>Download SystemML 0.11.0-incubating</h2>
+      <h2>Download SystemML {{ site.data.project.release_version }}</h2>
     </div>
 
     <div class="col col-12 content-group row">
@@ -51,28 +51,28 @@ limitations under the License.
             <th><b>Signature</b></th>
           </tr>
           <tr>
-            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.tar.gz" target="_blank">systemml-0.11.0-incubating (Binary tar.gz)</a></td>
-            <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.tar.gz.md5">MD5</a> </td>
-            <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.tar.gz.asc">ASC</a></td>
+            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-bin.tar.gz" target="_blank"> {{ site.data.project.release_name }}-{{ site.data.project.release_version }} (Binary tar.gz)</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-bin.tar.gz.md5">MD5</a> </td>
+            <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-bin.tar.gz.asc">ASC</a></td>
           </tr>
           <tr>
-            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.zip" target="_blank">systemml-0.11.0-incubating (Binary zip)</a></td>
-            <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.zip.md5">MD5</a></td>
-            <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-bin.zip.asc">ASC</a></td>
+            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-bin.zip" target="_blank">{{ site.data.project.release_name }}-{{ site.data.project.release_version }} (Binary zip)</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-bin.zip.md5">MD5</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-bin.zip.asc">ASC</a></td>
           </tr>
           <tr>
-            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-src.tar.gz" target="_blank">systemml-0.11.0-incubating (Source tar.gz)</a></td>
-            <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-src.tar.gz.md5">MD5</a></td>
-            <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-src.tar.gz.asc">ASC</a></td>
+            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-src.tar.gz" target="_blank">{{ site.data.project.release_name }}-{{ site.data.project.release_version }} (Source tar.gz)</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-src.tar.gz.md5">MD5</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-src.tar.gz.asc">ASC</a></td>
           </tr>
           <tr>
-            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-src.zip" target="_blank">systemml-0.11.0-incubating (Source zip)</a></td>
-            <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-src.zip.md5">MD5</a></td>
-            <td><a href="http://www.apache.org/dist/incubator/systemml/0.11.0-incubating/systemml-0.11.0-incubating-src.zip.asc">ASC</a></td>
+            <td><a href="http://www.apache.org/dyn/closer.lua/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-src.zip" target="_blank">{{ site.data.project.release_name }}-{{ site.data.project.release_version }} (Source zip)</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-src.zip.md5">MD5</a></td>
+            <td><a href="http://www.apache.org/dist/incubator/systemml/{{ site.data.project.release_version }}/systemml-{{ site.data.project.release_version }}-src.zip.asc">ASC</a></td>
           </tr>
 
           <tr>
-            <td><a href="https://github.com/apache/incubator-systemml-website/blob/master/0.11.0-incubating/release_notes.md" target="_blank">Release Notes</td>
+            <td><a href="https://github.com/apache/incubator-systemml-website/blob/master/{{ site.data.project.release_version }}/release_notes.md" target="_blank">Release Notes</td>
             <td></td>
             <td></td>
           </tr>
@@ -102,7 +102,7 @@ mvn clean package</pre>
           <pre>&lt;dependency&gt;
   &lt;groupId&gt;org.apache.systemml&lt;/groupId&gt;
   &lt;artifactId&gt;systemml&lt;/artifactId&gt;
-  &lt;version&gt;0.11.0-incubating&lt;/version&gt;
+  &lt;version&gt;{{ site.data.project.release_version }}&lt;/version&gt;
 &lt;/dependency&gt;</pre>
         </div>
     </div>