cs-bisection-step: Limit size of revision log included in reports
PATCH 1/1 cs-bisection-step: Limit size of revision log included in reports
In reply to a message not in the archiveThere is a limit in cr-daily-branch, but none in cs-bisection-step.
adhoc-revtuple-generator could usefully have this built in but that's not so simple, so do it again here. We already slurp the whole thing into core so from a resource usage point of view we might as well do the length check here too.
--- cs-bisection-step | 5 +++++ 1 file changed, 5 insertions(+)
cs-bisection-step +5 -0
@@ -898,6 +898,11 @@ END "./adhoc-revtuple-generator -S @revtuplegenargs $rts"; my $revinfo= `$revrune`; if (!$?) { + if (length($revinfo) > 24000) { + $revinfo = <<END; +(Revision log too long, ommitted.) +END + } summary_report("",$revinfo,-1); } }
Signature · 1 line
1.7.10.4
Quoted 9 lines · Ian Jackson
There is a limit in cr-daily-branch, but none in cs-bisection-step.
adhoc-revtuple-generator could usefully have this built in but that's not so simple, so do it again here. We already slurp the whole thing into core so from a resource usage point of view we might as well do the length check here too.
Reported-by David Vrabel <[email protected]>Signed-off-by Ian Jackson <[email protected]>
Quoted 1 line
+(Revision log too long, ommitted.)
My MUA's spell checker thinks it is "omitted".
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Ian Campbell writes ("Re: [OSSTEST PATCH] cs-bisection-step: Limit size of revision log included in reports"):
Quoted 5 lines
Acked-by Ian Campbell <[email protected]>Quoted 1 line
+(Revision log too long, ommitted.)
My MUA's spell checker thinks it is "omitted".
Thanks. I have ommittedd the spurrious lettter.
Ian.