3 Copyright (c) 2003-2010, Andrew Dunstan
5 See accompanying License file for license details
10 perl = '/img/camel.png',
11 openssl => '/img/ssl_icon.gif',
12 gnutls => '/img/gnutls_icon.gif',
13 mysql => '/img/mysql_logo.png',
14 pgsql => '/img/postgresql-icon-32.png',
15 ldap => '/img/openldap_logo.jpg',
16 doc => '/img/doc.png',
17 test => '/img/hammer.jpeg',
18 #python => '/img/python.png',
19 #debug => '/img/bug.png',
20 #pam => '/img/pam.png',
21 #cassert => '/img/cassert.png',
22 #nls => '/img/translateicon.gif',
23 #krb5 => '/img/krb.gif',
24 #gssapi => '/img/gssapi.gif',
25 #tcl => '/img/tcl.png',
26 #vpath => '/img/vpath.png',
27 #xml => '/img/xml.png',
28 #'thread-safety' => '/img/threads.gif',
29 #'integer-datetimes' => '/img/days.png',
34 P = '/img/t_good.gif',
35 F => '/img/t_fail.gif',
36 '.' => '/img/t_notdone.gif',
39 [%- BLOCK img ; IF flag == 'depend' or flag == 'gnu-ld' ; ; ELSIF flag_imgs.$flag %]<img src=[% flag_imgs.$flag %] title="[% flag %]" alt="[% flag %]" height=16 width=16 class=inline align=bottom/> [% ELSE %][%#
42 [%- BLOCK sysnotes ; IF row.sys_notes %]<img src="/img/notes.png" height="16" width="16" title="[% row.sys_notes_ts.replace(' .*','') | html %]: [% row.sys_notes | html %]" />
43 [%- ELSE %] [% END ; END -%]
44 [%- BLOCK cl %] class="[% SWITCH bgfor.replace('-.*','') -%]
45 [%- CASE 'OK' %]pass[% CASE 'ContribCheck' %]warn[% CASE [ 'Check' 'InstallCheck' ] %]warnx[% CASE %]fail[% END %]"
47 [%# The IF-backstop is ugly and I'm not understanding why the res_img lookup does not for for '.' -%]
48 [%- BLOCK colour ; IF res_imgs.$c.defined ; res_imgs.$c ; ELSE %]/img/t_notdone.gif [% END; END %]
49 [%- BLOCK colourbar %]<img src=[% PROCESS colour %] title="[% st %]-[% st + w %]" height=16 width=[% w %] class=inline align=bottom/>[%- END -%]
51 title = 'Exim BuildFarm Status'
55 <h1>Exim BuildFarm Status</h1>
57 Shown here is the latest status of each farm member
58 for each branch it has reported on in the last 30 days.
61 Use the farm member link for history of that member
62 on the relevant branch.
64 <table><tr><th class="head" rowspan="2">Legend</th>
65 [% FOREACH flagset IN flag_imgs %]
66 <td><img src=[% flagset.value %] title="[% flagset.key %]" alt="[% flagset.key %]" height=16 width=16 class=inline align=center/> = [% flagset.key %]</td>
67 [% IF loop.count == 7 %]</tr><tr>[% END %]
71 <table cellspacing="0">
73 [% FOREACH row IN statrows %]
74 [% IF row.branch != brch ; brch = row.branch %]
75 <tr><th class="head" colspan="6">Branch: [% brch %]</th></tr>
76 <tr><th colspan="2">Alias</th><th>System</th><th>Status</th><th>Flags</th><th>Detail</th></tr>
78 <tr [% PROCESS cl bgfor=row.stage %]>
80 href="show_history.pl?nm=[% row.sysname %]&br=[% row.branch %]"
82 >[% row.sysname %]</a></td>
83 <td>[% PROCESS sysnotes %]</td>
84 <td><span class="opsys">[% row.operating_system %]
85 [% row.os_version %]</span> <span class="compiler">
87 [% row.compiler_version %]</span> <span class="arch">
88 [%- row.architecture %]</span></td>
90 [%- row.when_ago | replace('\s',' ') %] ago
92 [[% row.git_head_ref.substr(0,7) %]]
93 <a href="show_log.pl?nm=
94 [%- row.sysname %]&dt=
95 [%- row.snapshot | uri %]">
96 [%- IF row.stage != 'OK' %]Details[% ELSE %]Config[% END -%]</a></td>
98 <td class="flags">[% FOREACH flag IN row.build_flags.split().sort() ; PROCESS img ; END %]</td>
99 <td class="tests">[% FOREACH range IN row.log_text ;
100 r = range.split(' '); c = r.0; st = r.1; w = r.2; PROCESS colourbar; END %]</td>