Difference between revisions of "Template:DisplayBuilds"

From Funtoo
Jump to navigation Jump to search
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}
{{#get_web_data:url=https://upload.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,openvz=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@openvz,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}{{#ifeq:{{#external_value:latest}}|None||
<tr>
<tr>
<td>{{#external_value:build}}</td>
<td>{{#switch:{{#external_value:build}}|funtoo-current=1.2-release-std||1.3-release-std=1.3-release-std|1.4-release-std=1.4-release-std|{{#external_value:build}}}}</td>
<td>{{#vardefine:v|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|(None)}}</td>
<td>{{#external_value:latest}}</td>
<td>{{#external_value:latest}}</td>
<td>'''[http://build.funtoo.org{{#external_value:download}} Download Stage 3]''' / ([http://build.funtoo.org{{#external_value:path}} Browse mirror]) </td>
<td><div style="display: flex; align-items: center; justify-content: space-evenly; "><span style="float: left;">'''Download from [https://build.funtoo.org{{#external_value:download}} funtoo.org]''' ([https://build.funtoo.org{{#external_value:download}}.gpg GPG sig])</span>{{CDN77}}</div></td>
</tr>
<td>[https://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
</tr>}}{{#clear_external_data:}}
</includeonly>
</includeonly>

Revision as of 21:06, August 19, 2019