[Reportbug-maint] Bug#582218: [reportbug/master] remove the description from the dependencies list, leaving more space for the useful information (package name and version); thanks to Andreas Beckmann for the report; Closes: #582218

Sandro Tosi morph at debian.org
Sat Aug 27 19:03:32 UTC 2011


tag 582218 pending
tag 582218 pending
thanks

Date:   Sat Aug 27 20:56:17 2011 +0200
Author: Sandro Tosi <morph at debian.org>
Commit ID: 3088578aeb85e5e923008918e8899f5e91d190fb
Commit URL: http://git.debian.org/?p=reportbug/reportbug.git;a=commitdiff;h=3088578aeb85e5e923008918e8899f5e91d190fb
Patch URL: http://git.debian.org/?p=reportbug/reportbug.git;a=commitdiff_plain;h=3088578aeb85e5e923008918e8899f5e91d190fb

    remove the description from the dependencies list, leaving more space for the useful information (package name and version); thanks to Andreas Beckmann for the report; Closes: #582218

    The trick here is to dynamically calculate the width for the package and version
    columns, in relation with the other one.

    We want to store as much info as possible, but we don't want to use a line
    longer than 80 chars, and also without a strict width.

    So we compute the column width as the minimum between the max length of the
    actual values to show or the space left by the other column.
      





More information about the Reportbug-maint mailing list