@@ -532,36 +532,22 @@ func displayTableStats(stats *StatsCollector) {
532
532
}
533
533
fmt .Println (bot )
534
534
535
- // Print horizontal line (same as sep) to section off summary
536
- fmt .Println (sep )
537
-
538
- // Print summary row in table style
539
- summaryLabel := fmt .Sprintf ("%-*s" , repoCol , "Summary" )
540
- summaryCombined := fmt .Sprintf ("%*d" , colWidths [1 ], stats .PRsCombined )
541
- totalSkipped := stats .PRsSkippedMergeConflict + stats .PRsSkippedCriteria
542
- summarySkipped := fmt .Sprintf ("%-*s" , colWidths [2 ], fmt .Sprintf ("%d" , totalSkipped ))
543
- summaryStatus := fmt .Sprintf ("%-*s" , colWidths [3 ], fmt .Sprintf ("%d repos" , stats .ReposProcessed ))
544
- fmt .Printf (
545
- "│ %-*s │ %s │ %s │ %s │\n " ,
546
- repoCol , summaryLabel ,
547
- summaryCombined ,
548
- summarySkipped ,
549
- summaryStatus ,
535
+ // Print summary row
536
+ fmt .Printf ("\n Summary: Processed %d repos | Combined: %d | Skipped (MC): %d | Skipped (DNM): %d | Time: %s\n " ,
537
+ stats .ReposProcessed ,
538
+ stats .PRsCombined ,
539
+ stats .PRsSkippedMergeConflict ,
540
+ stats .PRsSkippedCriteria ,
541
+ stats .EndTime .Sub (stats .StartTime ).Round (time .Second ),
550
542
)
551
543
552
- fmt .Println (sep )
553
-
554
- // Print PR links block: label row, then each link as a plain line (no table formatting)
544
+ // Print PR links block
555
545
if len (stats .CombinedPRLinks ) > 0 {
556
- prLinksLabel := fmt .Sprintf ("%-*s" , repoCol , "Links to Combined PRs" )
557
- fmt .Printf ("│ %-*s │\n " , repoCol , prLinksLabel )
558
- // Print each link as a plain line, not inside the table
546
+ fmt .Println ("\n Links to Combined PRs:" )
559
547
for _ , link := range stats .CombinedPRLinks {
560
- fmt .Println (link )
548
+ fmt .Println ("-" , link )
561
549
}
562
550
}
563
-
564
- fmt .Println (bot )
565
551
}
566
552
567
553
// pad returns a string of n runes of s (usually "─")
0 commit comments