You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2017/11/19 20:20:16 UTC

[2/4] incubator-guacamole-website git commit: GUACAMOLE-436: List releases within RDP automatically.

GUACAMOLE-436: List releases within RDP automatically.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/commit/424f0d6a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/tree/424f0d6a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/diff/424f0d6a

Branch: refs/heads/master
Commit: 424f0d6a6b91813b5caae9b854d0589b377b76d2
Parents: 9c74a7a
Author: Michael Jumper <mj...@apache.org>
Authored: Fri Nov 17 13:25:03 2017 -0800
Committer: Michael Jumper <mj...@apache.org>
Committed: Fri Nov 17 13:27:52 2017 -0800

----------------------------------------------------------------------
 doap_guacamole.rdf | 36 ++++++++++++------------------------
 1 file changed, 12 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/424f0d6a/doap_guacamole.rdf
----------------------------------------------------------------------
diff --git a/doap_guacamole.rdf b/doap_guacamole.rdf
index 16dcc09..f345596 100644
--- a/doap_guacamole.rdf
+++ b/doap_guacamole.rdf
@@ -1,3 +1,8 @@
+---
+# NOTE: Jekyll requires YAML front matter, even if empty, if Liquid filtering
+# is to take place. Such filtering is necessary for the DOAP file to
+# automatically list all current releases.
+---
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/xsl"?>
 <!--
@@ -94,35 +99,18 @@
         </maintainer>
 
         <!-- Releases -->
-
-        <release>
-            <Version>
-                <name>Apache Guacamole</name>
-                <created>2017-07-30</created>
-                <revision>0.9.13-incubating</revision>
-            </Version>
-        </release>
-        <release>
-            <Version>
-                <name>Apache Guacamole</name>
-                <created>2017-04-01</created>
-                <revision>0.9.12-incubating</revision>
-            </Version>
-        </release>
-        <release>
-            <Version>
-                <name>Apache Guacamole</name>
-                <created>2017-02-02</created>
-                <revision>0.9.11-incubating</revision>
-            </Version>
-        </release>
+{% assign releases = site.releases  | where: 'released', 'true' | sort: 'date' -%}
+{%- for release in releases reversed -%}
+    {%- if release.title %}
         <release>
             <Version>
                 <name>Apache Guacamole</name>
-                <created>2016-12-29</created>
-                <revision>0.9.10-incubating</revision>
+                <created>{{ release.date | date: "%Y-%m-%d" }}</created>
+                <revision>{{ release.title }}</revision>
             </Version>
         </release>
+    {%- endif -%}
+{%- endfor %}
 
     </Project>
 </rdf:RDF>