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 dane => '/img/helmet.png',
17 doc => '/img/doc.png',
18 #test => '/img/hammer.jpeg',
19 #python => '/img/python.png',
20 #debug => '/img/bug.png',
21 #pam => '/img/pam.png',
22 #cassert => '/img/cassert.png',
23 #nls => '/img/translateicon.gif',
24 #krb5 => '/img/krb.gif',
25 #gssapi => '/img/gssapi.gif',
26 #tcl => '/img/tcl.png',
27 #vpath => '/img/vpath.png',
28 #xml => '/img/xml.png',
29 #'thread-safety' => '/img/threads.gif',
30 #'integer-datetimes' => '/img/days.png',
35 P = '/img/t_good.gif',
36 F => '/img/t_fail.gif',
37 '.' => '/img/t_notdone.gif',
40 [%- 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 %][%#
43 [%- 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 %]" />
44 [%- ELSE %] [% END ; END -%]
45 [%- BLOCK cl %] class="[% SWITCH bgfor.replace('-.*','') -%]
46 [%- CASE 'OK' %]pass[% CASE 'ContribCheck' %]warn[% CASE [ 'Check' 'InstallCheck' ] %]warnx[% CASE %]fail[% END %]"
48 [%# The IF-backstop is ugly and I'm not understanding why the res_img lookup does not for for '.' -%]
49 [%- BLOCK colour ; IF res_imgs.$c.defined ; res_imgs.$c ; ELSE %]/img/t_notdone.gif [% END; END %]
50 [%- BLOCK colourbar %]<img src=[% PROCESS colour %] title="[% st %]-[% st + w - 1 %]" height=16 width=[% w %] class=inline align=bottom/>[%- END -%]
52 title = 'Exim BuildFarm Status'
56 <h1>Exim BuildFarm Status</h1>
58 Shown here is the latest status of each farm member
59 for each branch it has reported on in the last 30 days.
62 Use the farm member link for history of that member
63 on the relevant branch.
65 <table><tr><th class="head" rowspan="2">Legend</th>
66 [% FOREACH flagset IN flag_imgs %]
67 <td><img src=[% flagset.value %] title="[% flagset.key %]" alt="[% flagset.key %]" height=16 width=16 class=inline align=center/> = [% flagset.key %]</td>
68 [% IF loop.count == 7 %]</tr><tr>[% END %]
72 <table cellspacing="0">
74 [% FOREACH row IN statrows %]
75 [% IF row.branch != brch ; brch = row.branch %]
76 <tr><th class="head" colspan="6">Branch: [% brch %]</th></tr>
77 <tr><th colspan="2">Alias</th><th>System</th><th>Status</th><th>Flags</th><th>Detail</th></tr>
79 <tr [% PROCESS cl bgfor=row.stage %]>
81 href="show_history.pl?nm=[% row.sysname %]&br=[% row.branch %]"
83 >[% row.sysname %]</a></td>
84 <td>[% PROCESS sysnotes %]</td>
85 <td><span class="opsys">[% row.operating_system %]
86 [% row.os_version %]</span> <span class="compiler">
88 [% row.compiler_version %]</span> <span class="arch">
89 [%- row.architecture %]</span></td>
91 [%- row.when_ago | replace('\s',' ') %] ago
93 [[% row.git_head_ref.substr(0,7) %]]
94 <a href="show_log.pl?nm=
95 [%- row.sysname %]&dt=
96 [%- row.snapshot | uri %]">
97 [%- IF row.stage != 'OK' %]Details[% ELSE %]Config[% END -%]</a></td>
99 <td class="flags">[% FOREACH flag IN row.build_flags.split().unique().sort() ; PROCESS img ; END %]</td>
100 <td class="tests">[% FOREACH range IN row.log_text ;
101 r = range.split(' '); c = r.0; st = r.1; w = r.2; PROCESS colourbar; END %]</td>