[geany/www.geany.org] 745574: Separate Geany core and plugin nightly builds in the overview

Enrico Tröger git-noreply at xxxxx
Sun Nov 1 22:01:55 UTC 2015


Branch:      refs/heads/master
Author:      Enrico Tröger <enrico.troeger at uvena.de>
Committer:   Enrico Tröger <enrico.troeger at uvena.de>
Date:        Sun, 01 Nov 2015 22:01:55 UTC
Commit:      7455749c2b2457dd880b00ff623ee62b79ce8215
             https://github.com/geany/www.geany.org/commit/7455749c2b2457dd880b00ff623ee62b79ce8215

Log Message:
-----------
Separate Geany core and plugin nightly builds in the overview


Modified Paths:
--------------
    nightlybuilds/templates/nightlybuilds.html

Modified: nightlybuilds/templates/nightlybuilds.html
54 lines changed, 33 insertions(+), 21 deletions(-)
===================================================================
@@ -32,9 +32,9 @@
 <h2>Geany Nightly Builds</h2>
 
 <p>Here you can find information about the nightly builds of Geany.</p>
-<p>Currently we create Debian and ArchLinux packages,
+<p>Currently we create Debian packages,
 a cross-compiled Windows build and a test build
-against GTK 2.16 to check for compatibility. The results, build logs and the corresponding
+against GTK 2.24 to check for compatibility. The results, build logs and the corresponding
 binary packages can be found below.</p>
 
 <table class="table table-bordered nightlybuilds">
@@ -53,26 +53,38 @@
     </tr>
 </thead>
 <tbody>
-    {% for build in nightlybuilds %}
-        <tr class="{% if build.get_status %}success{% else %}danger{% endif %}">
-            <td class="centered_column">{% if build.get_status %}
-                    <img src="{{ STATIC_URL }}img/icon-yes.gif" alt="{{ build.get_status_text }}" title="{{ build.get_status_text }}" />
-                {% else %}
-                    <img src="{{ STATIC_URL }}img/icon-no.gif" alt="{{ build.get_status_text }}" title="{{ build.get_status_text }}" />
-                {% endif %}
-            </td>
-            <td>{{ build.nightly_build_target.project|capfirst }}</td>
-            <td>{{ build.revision }}</td>
-            <td>{{ build.nightly_build_target.name }}</td>
-            <td><span title="Build host: {{ build.build_host }}">{{ build.nightly_build_target.arch }}</span></td>
-            <td>gcc {{ build.compiler_version }}</td>
-            <td>{{ build.glib_version }} / {{ build.gtk_version }}</td>
-            <td>{% get_build_log build "Stdout" %} {% get_build_log build "Stderr" %}
-            </td>
-            <td>{{ build.build_date|date:"Y-m-d H:i" }}</td>
-            <td>{% get_details build %}</td>
-        </tr>
+    {# First iterate Geany core builds, then iterate Geany plugins builds #}
+    {% with 'geany plugins' as projects %}
+    {% for project in projects.split %}
+        {% for build in nightlybuilds %}
+            {% if project == build.nightly_build_target.project %}
+            <tr class="{% if build.get_status %}success{% else %}danger{% endif %}">
+                <td class="centered_column">{% if build.get_status %}
+                        <img src="{{ STATIC_URL }}img/icon-yes.gif" alt="{{ build.get_status_text }}" title="{{ build.get_status_text }}" />
+                    {% else %}
+                        <img src="{{ STATIC_URL }}img/icon-no.gif" alt="{{ build.get_status_text }}" title="{{ build.get_status_text }}" />
+                    {% endif %}
+                </td>
+                <td>{{ build.nightly_build_target.project|capfirst }}</td>
+                <td>{{ build.revision }}</td>
+                <td>{{ build.nightly_build_target.name }}</td>
+                <td><span title="Build host: {{ build.build_host }}">{{ build.nightly_build_target.arch }}</span></td>
+                <td>gcc {{ build.compiler_version }}</td>
+                <td>{{ build.glib_version }} / {{ build.gtk_version }}</td>
+                <td>{% get_build_log build "Stdout" %} {% get_build_log build "Stderr" %}
+                </td>
+                <td>{{ build.build_date|date:"Y-m-d H:i" }}</td>
+                <td>{% get_details build %}</td>
+            </tr>
+            {% endif %}
+        {% endfor %}
+        {% if not forloop.last %}
+            <tr>
+                <td>{# Empty row on purpose as visual seperator betwenn core and plugin builds #}</td>
+            </tr>
+        {% endif %}
     {% endfor %}
+    {% endwith %}
 </tbody>
 </table>
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list