Show evaluation time in the evaluations overview
[?]
Mar 9, 2021, 5:27 PM
S3ETHAGKW3BJTWARYXKNXPFYMBRGJ7W5AWEUE2LGITLBSDU3YLXACDependencies
- [2]
XO72X6PQHandle SSH hosts without a @ - [3]
HOMDMC3KHandle utf-8 properly - [4]
XKXMU5PVEllipsize long jobset/job names to prevent bootstrap navbar breakage - [5]
O757ISISRemove unused function - [6]
ZH6B56XRTry harder to find build logs - [7]
Y6AHH4THRemove the logfile and logSize columns from the database - [8]
JPTXSWBOShow whether a job still exists - [9]
OZDDUMVPAutomatically chomp all [%...%] directives - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [*]
4UUKWXDFJobset page: Show last evaluation time - [*]
TFK74CQRPut job status on a separate tab
Change contents
- edit in src/lib/Hydra/View/TT.pm at line 6
use Time::Seconds; - replacement in src/lib/Hydra/View/TT.pm at line 13
expose_methods => [qw/buildLogExists buildStepLogExists jobExists stripSSHUser/]);expose_methods => [qw/buildLogExists buildStepLogExists jobExists relativeDuration stripSSHUser/]); - edit in src/lib/Hydra/View/TT.pm at line 27
}=head2 relativeDurationGiven an integer of seconds, return an English representation of theduration as a string.Arguments:=over 1=item C<$seconds>An integer number of seconds=back=cutsub relativeDuration {my ($self, $c, $seconds) = @_;return Time::Seconds->new($seconds)->pretty(); - edit in src/root/jobset.tt at line 94[13.705][14.579]
(took [% relativeDuration (latestEval.checkouttime + latestEval.evaltime) %])