This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository fateserver.
commit daf2cc97a907e119cff55bc078863feaa4977d35 Author: Kacper Michajłow <[email protected]> AuthorDate: Tue Aug 11 23:29:41 2026 +0200 Commit: Kacper Michajłow <[email protected]> CommitDate: Wed Aug 12 00:21:28 2026 +0200 history: add a warning diff link between consecutive reports Same as the one in the index, comparing each report against the preceding one. Iterating by index also stops the [0..49] slice from padding short lists with undef. Signed-off-by: Kacper Michajłow <[email protected]> --- history.cgi | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/history.cgi b/history.cgi index 0f55404..ea64375 100755 --- a/history.cgi +++ b/history.cgi @@ -52,7 +52,11 @@ start 'thead'; trowh 'Time', 'Rev', 'Arch', 'OS', 'Compiler', 'Warnings', 'Tests'; end 'thead'; start 'tbody'; -for my $date ((sort { $b cmp $a } @reps)[0..49]) { +my @dates = sort { $b cmp $a } @reps; +my $nshow = @dates < 50 ? @dates : 50; +for my $i (0 .. $nshow - 1) { + my $date = $dates[$i]; + my $pdate = $dates[$i + 1]; # the report preceding this one, if any my $rep = load_summary $slot, $date or next; my $ntest = $$rep{ntests}; my $npass = $$rep{npass}; @@ -74,8 +78,17 @@ for my $date ((sort { $b cmp $a } @reps)[0..49]) { td $$rep{os}; td $$rep{cc}; start 'td'; + start 'div', class => 'pull-left'; anchor $$rep{nwarn}, href => href slot => $$rep{slot}, time => $$rep{date}, log => 'warnings'; + end; + if (defined $pdate) { + start 'div', class => 'pull-right'; + anchor '±', + href => href slot => $$rep{slot}, time => $$rep{date}, + log => "warnings/$pdate"; + end; + } end 'td'; if ($npass) { $rtext = "$npass / $ntest"; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
