Package: aptitude
Version: 0.6.3-3.2
Severity: important
Tags: patch
I felt current version field default of 10 is too short as default. (I
know how to change it and I am using non-default value here.)
Aptitude's package view list uses default pattern: %c%a%M%S %p %Z %v %V"
This means: 2+2+2+2+1+30+1+7+1+10+1+10 = 69 spaces used.
Still 11 unused space in standard 80 characters per line screen.
So making default for
{10, false, false}, // currver
{10, false, false}, // candver
{7, false, false}, // sizechange
to
{15, false, false}, // currver
{15, false, false}, // candver
{8, false, false}, // sizechange
seems reasonable thing to do to me based on the actual Debian package
situation as below.
| 30 characters of package name covers 98.3% of archive in sid.
| -- every 58 package overflow version field of 30 (<one per 2 screen)
|
| 10 characters of version field covers 83.8% of archive only.
| -- every 7 package overflow version field of 10
| (I guess many of us get annoyed by "+squeeze1" type upstream versions.)
| 15 characters of version field covers 95.3% of archive.
| -- every 21 package overflow version field of 15 (<one per 1 screen)
Reducing package name field 2 may balance a bit but I thought it is not worth
it. After all, longer package name sometimes have more significant contents
than long version string as I observed. That is why I am only asking to
increase version field.
Please consider applying attached patch for wheezy.
Osamu
-- Package-specific info:
aptitude 0.6.3 compiled at Oct 16 2010 18:18:04
Compiler: g++ 4.4.5
Compiled against:
apt version 4.10.1
NCurses version 5.7
libsigc++ version: 2.2.4.2
Ept support enabled.
Gtk+ support disabled.
Current library versions:
NCurses version: ncurses 5.7.20100313
cwidget version: 0.5.16
Apt version: 4.10.1
linux-vdso.so.1 => (0x00007fff0c5bc000)
libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007f1b5ecab000)
libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f1b5ea58000)
libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f1b5e852000)
libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f1b5e586000)
libept.so.1 => /usr/lib/libept.so.1 (0x00007f1b5e332000)
libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f1b5df51000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f1b5dd3a000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f1b5daa3000)
libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0
(0x00007f1b5d887000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f1b5d66b000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1b5d357000)
libm.so.6 => /lib/libm.so.6 (0x00007f1b5d0d4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f1b5cebe000)
libc.so.6 => /lib/libc.so.6 (0x00007f1b5cb5d000)
libutil.so.1 => /lib/libutil.so.1 (0x00007f1b5c959000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f1b5c755000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007f1b5c550000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f1b5c340000)
librt.so.1 => /lib/librt.so.1 (0x00007f1b5c138000)
/lib64/ld-linux-x86-64.so.2 (0x00007f1b5efd1000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:
aptitude linkage:
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages aptitude depends on:
ii apt [libapt-pkg4.10] 0.8.10.3 Advanced front-end for dpkg
ii libboost-iostreams1.42. 1.42.0-4 Boost.Iostreams Library
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcwidget3 0.5.16-3 high-level terminal interface libr
ii libept1 1.0.4 High-level library for managing De
ii libgcc1 1:4.4.5-8 GCC support library
ii libncursesw5 5.7+20100313-5 shared libraries for terminal hand
ii libsigc++-2.0-0c2a 2.2.4.2-1 type-safe Signal Framework for C++
ii libsqlite3-0 3.7.3-1 SQLite 3 shared library
ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3
ii libxapian22 1.2.3-2 Search engine library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages aptitude recommends:
ii apt-xapian-index 0.41 maintenance and search tools for a
ii aptitude-doc-en [aptitude-doc 0.6.3-3.2 English manual for aptitude, a ter
ii libparse-debianchangelog-perl 1.1.1-2.1 parse Debian changelogs and output
ii sensible-utils 0.0.4 Utilities for sensible alternative
Versions of packages aptitude suggests:
ii debtags 1.7.11 Enables support for package tags
ii tasksel 2.88 Tool for selecting tasks for insta
-- no debconf information
--- pkg_columnizer.cc.orig 2011-04-29 22:09:59.214666709 +0900
+++ pkg_columnizer.cc 2011-04-29 22:10:46.090737891 +0900
@@ -53,8 +53,8 @@
{1, false, false}, // stateflag
{1, false, false}, // actionflag
{40, true, true}, // description
- {10, false, false}, // currver
- {10, false, false}, // candver
+ {15, false, false}, // currver
+ {15, false, false}, // candver
{11, false, false}, // longstate
{10, false, false}, // longaction
{35, true, true}, // maintainer
@@ -65,7 +65,7 @@
{1, false, false}, // autoset
{1, false, false}, // tagged
{10, true, true}, // archive
- {7, false, false}, // sizechange
+ {8, false, false}, // sizechange
{strlen(PACKAGE), false, false}, // progname
{strlen(VERSION), false, false}, // progver
{12, false, true}, // brokencount