my $statement =<<EOS;
- select *
- from dashboard
+ select timezone('GMT'::text, now())::timestamp(0) without time zone - b.snapshot AS when_ago, b.*
+ from dashboard_mat b
order by branch = 'HEAD' desc,
branch desc, $sort_clause
snapshot desc
# enable-integer-datetimes is now the default
if ($row->{branch} eq 'HEAD' || $row->{branch} gt 'REL8_3_STABLE')
{
- $row->{buildflags} .- " --enable-integer-datetimes "
+ $row->{build_flags} .= " --enable-integer-datetimes "
unless ($row->{build_flags} =~ /--(en|dis)able-integer-datetimes/);
}
+ # enable-thread-safety is now the default
+ if ($row->{branch} eq 'HEAD' || $row->{branch} gt 'REL8_5_STABLE')
+ {
+ $row->{build_flags} .= " --enable-thread-safety "
+ unless ($row->{build_flags} =~ /--(en|dis)able-thread-safety/);
+ }
$row->{build_flags} =~ s/--((enable|with)-)?//g;
$row->{build_flags} =~ s/libxml/xml/;
$row->{build_flags} =~ s/\S+=\S+//g;
nls => '/img/translateicon.gif',
krb5 => '/img/krb.gif',
tcl => '/img/tcl.png',
+ vpath => '/img/vpath.png',
xml => '/img/xml.png',
'thread-safety' => '/img/threads.gif',
'integer-datetimes' = '/img/days.png',
[%- 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 %][%#
flag ; ' '
%][% END ; END -%]
-[%- BLOCK cl %] class=" [% SWITCH bgfor -%]
+[%- BLOCK cl %] class="[% SWITCH bgfor.replace('-.*','') -%]
[%- CASE 'OK' %]pass[% CASE 'ContribCheck' %]warn[% CASE [ 'Check' 'InstallCheck' ] %]warnx[% CASE %]fail[% END %]"
[%- END -%]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"