Bug#484011: aptitude: Display archive-name|origin|Label in package view (add %t to Package-Display-Format)
Control: usertags -1 + bittenby On Fri, 19 Aug 2016 21:50:34 +0100 Manuel A. Fernandez Montecelo wrote: > So it will need further consideration. I think in the version list %t could be the default because there it doesn't have the package name so more space is available. Also: https://bugs.debian.org/180539 There are some possibilities for mitigating the concerns you raised: Merge and -debug into one suite name for origin Debian. Do not show the value of %t when apt only knows about one suite. Make %t a low priority field, so it is only shown when there is enough space in the line after showing all of the other fields. -- bye, pabs https://wiki.debian.org/PaulWise signature.asc Description: This is a digitally signed message part
Bug#484011: aptitude: Display archive-name|origin|Label in package view (add %t to Package-Display-Format)
2016-08-19 21:50 GMT+01:00 Manuel A. Fernandez Montecelo: > > I'm not sure if this is a good idea to do by default, because of the > attached example. Attached for real now :-P -- Manuel A. Fernandez Montecelo - width=80 i libapt-inst2.0-dbgsym1.3~pre3 1.3~rc2 i libapt-pkg5.0-dbgsym 1.3~pre3 1.3~rc2 iulibopenscenegraph100v5-dbgsym +41.0 kB 3.2.3+dfsg1-2 3.2.3+dfsg1-2+ ilibapt-inst2.0-dbgsym unstabl 1.3~pre3 1.3~rc2 ilibapt-pkg5.0-dbgsym unstabl 1.3~pre3 1.3~rc2 iu libopenscenegraph100v5-dbgs +41.0 kB unstabl 3.2.3+dfsg1-2 3.2.3+dfsg1-2+ - width=110 p golang-github-jtolds-gls-devunstable 4.2.0-1 p golang-github-juju-ratelimit-devunstable 0.0~git2015112 pigolang-github-julienschmidt-httprouter-de +71.7 kB unstable 1.1-1 p golang-github-jwilder-encoding-dev unstable 0.0~git2016042 p
Bug#484011: aptitude: Display archive-name|origin|Label in package view (add %t to Package-Display-Format)
Control: tags -1 + moreinfo Hi, 2015-01-07 23:48 Wookey: Package: aptitude Version: 0.6.11-1+b1 Followup-For: Bug #484011 I have been adding %t to the display format in aptitude for many years now. It's enormously useful and I really think it would be a benefit to users to make this the default . Changing it on every install is very dull. i.e change the default from %c%a%M%S %p %Z %v %V to %c%a%M%S %p %Z %t %v %V I'm not sure if this is a good idea to do by default, because of the attached example. Probably most people use 80+ column-wide terminals nowadays if using them as full screens or similar, but maybe many people continue to use small terminals of that width, e.g. in tiled configurations. Due to the +dfsgN of many of our versions (e.g. "3.2.3+dfsg1-2" in the examples, with added "+b1" very often) and the long package names or versions (and versions appear twice) of packages across the board for different reasons [1], many lines do already don't appear fully even in terminals much wider than 80 (also, see attached file again). It looks to me that the's been an hyperinflation of package name and version lengths in the last few years. So I am not sure if it's a good idea to have this enabled by default, since in many systems is not very useful (if only having one repository enabled, plus perhaps "debug"). The packages can only come from "stable" in that case, even if the repository is called "stable-debug". Same for people who only use e.g. unstable or testing. People who are mixing distros/suites are the ones more likely to know that these options exist, same as you did, because you even mention it in the bug reports. I understand that it would be less annoying to have it by default, instead of modifying it every time (or not every time, but at least if you use multiple repositories in every machine that you administer, and also wide terminals). But since the extra space doesn't always come from free, and it's likely to hurt more the people who use Debian in "simpler" use-cases and are perhaps less learned in the matters of package managers, I am reluctant to go ahead with this change. So it will need further consideration. Cheers. [1] Like: fonts-symbol, 2:102.7+LibO5.1.5~rc1-1 cube2, 0.0.20130203+dfsg-1+b2 libcmis, 0.5.1+git20160603-1 libgraphicsmagick-q16-3, 1.3.24+hg20160808-1 libgstreamer-plugins-base1.0-0, 1.8.3-1 libjson-glib-1.0-common, 1.2.0-1 qml-module-org-kde-bluezqt, 5.25.0-1 openstreetmap-map-icons-classic, 0.0.svn32805-1 qml-module-qtquick-controls-styles-breeze, 4:5.7.0-1 libdatetime-format-strptime-perl, 1.6800-1 golang-github-audriusbutkevicius-go-nat-pmp-dev, 0.0~git20150722.0.3a76720-1 libicsharpcode-nrefactory-csharp5.0-cil, 5.3.0+20130718.73b6d0f-3 libmono-system-componentmodel-dataannotations4.0-cil, 4.2.1.102+dfsg2-8 libmono-system-runtime-serialization-formatters-soap4.0-cil, 4.2.1.102+dfsg2-8 postgresql-9.5-python3-multicorn, 1.3.2-1 addresses-goodies-for-gnustep, 0.4.8-2+b1 cairo-dock-desklet-rendering-plug-in, 3.4.0-1.4+b2 gccgo-multilib-powerpc64-linux-gnu, 6.1.1--2 -- Manuel A. Fernandez Montecelo
Bug#484011: aptitude: Display archive-name|origin|Label in package view (add %t to Package-Display-Format)
Package: aptitude Version: 0.6.11-1+b1 Followup-For: Bug #484011 I have been adding %t to the display format in aptitude for many years now. It's enormously useful and I really think it would be a benefit to users to make this the default . Changing it on every install is very dull. i.e change the default from %c%a%M%S %p %Z %v %V to %c%a%M%S %p %Z %t %v %V I'm happy to prepare a patch or do an NMU upload with this change to aptitude::UI::Package-Display-Format if that would be helpful. -- Package-specific info: Terminal: xterm $DISPLAY is set. which aptitude: /usr/bin/aptitude aptitude version information: aptitude 0.6.11 compiled at Nov 8 2014 13:34:39 Compiler: g++ 4.9.1 Compiled against: apt version 4.12.0 NCurses version 5.9 libsigc++ version: 2.4.0 Gtk+ support disabled. Qt support disabled. Current library versions: NCurses version: ncurses 5.9.20140913 cwidget version: 0.5.17 Apt version: 4.12.0 aptitude linkage: linux-vdso.so.1 (0x7fff5effc000) libapt-pkg.so.4.12 = /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x7f84bd128000) libncursesw.so.5 = /lib/x86_64-linux-gnu/libncursesw.so.5 (0x7f84bcef2000) libtinfo.so.5 = /lib/x86_64-linux-gnu/libtinfo.so.5 (0x7f84bccc7000) libsigc-2.0.so.0 = /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x7f84bcac1000) libcwidget.so.3 = /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x7f84bc7ab000) libsqlite3.so.0 = /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x7f84bc4e2000) libboost_iostreams.so.1.55.0 = /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.55.0 (0x7f84bc2ca000) libxapian.so.22 = /usr/lib/libxapian.so.22 (0x7f84bbeb9000) libpthread.so.0 = /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f84bbc9b000) libstdc++.so.6 = /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x7f84bb99) libm.so.6 = /lib/x86_64-linux-gnu/libm.so.6 (0x7f84bb68f000) libgcc_s.so.1 = /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7f84bb478000) libc.so.6 = /lib/x86_64-linux-gnu/libc.so.6 (0x7f84bb0cf000) libutil.so.1 = /lib/x86_64-linux-gnu/libutil.so.1 (0x7f84baecc000) libdl.so.2 = /lib/x86_64-linux-gnu/libdl.so.2 (0x7f84bacc7000) libz.so.1 = /lib/x86_64-linux-gnu/libz.so.1 (0x7f84baaac000) libbz2.so.1.0 = /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x7f84ba89c000) liblzma.so.5 = /lib/x86_64-linux-gnu/liblzma.so.5 (0x7f84ba678000) librt.so.1 = /lib/x86_64-linux-gnu/librt.so.1 (0x7f84ba47) libuuid.so.1 = /lib/x86_64-linux-gnu/libuuid.so.1 (0x7f84ba26a000) /lib64/ld-linux-x86-64.so.2 (0x7f84bdb3e000) -- System Information: Debian Release: 8.0 APT prefers testing APT policy: (990, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages aptitude depends on: ii aptitude-common 0.6.11-1 ii libapt-pkg4.121.0.9.5 ii libboost-iostreams1.55.0 1.55.0+dfsg-3 ii libc6 2.19-13 ii libcwidget3 0.5.17-2 ii libgcc1 1:4.9.1-19 ii libncursesw5 5.9+20140913-1+b1 ii libsigc++-2.0-0c2a2.4.0-1 ii libsqlite3-0 3.8.7.1-1 ii libstdc++64.9.1-19 ii libtinfo5 5.9+20140913-1+b1 ii libxapian22 1.2.19-1 Versions of packages aptitude recommends: pn aptitude-doc-en | aptitude-doc none ii libparse-debianchangelog-perl 1.2.0-1.1 ii sensible-utils 0.0.9 Versions of packages aptitude suggests: ii apt-xapian-index 0.47 pn debtags none ii tasksel 3.29 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#484011: aptitude: Display archive-name|origin|Label in package view (add %t to Package-Display-Format)
Package: aptitude Version: 0.4.11.2-1 Severity: wishlist Hi, Debian/Lenny users will have multiple entries in /etc/apt/sources.list because stable and volatile will be enabled on new Lenny systems. Also, more and more system have backports.org enabled, not to mention stable-proposed-updates testers. It order to make it clearer to users where packages comes from, it would be great to display their origin. Adding %t to aptitude::UI::Package-Display-Format would be a good start. (i.e. The archive in which the package is found.) I've had a look at the Release files. But I haven't fount a perfect header-entry (i.e. that would be short and differentiate them all) but Label: seems not so bad. Franklin. Some Release files : http://ftp.debian.org/debian/dists/etch/Release Origin: Debian Label: Debian Suite: stable Version: 4.0r3 Codename: etch Description: Debian 4.0r3 Released 16th February 2008 Origin: Debian Label: Debian-Security Suite: stable Version: 4.0 Codename: etch Description: Debian 4.0 Security Updates http://volatile.debian.org/debian-volatile/dists/etch/volatile-sloppy/Release Origin: volatile.debian.org Label: debian-volatile Suite: stable Codename: etch NotAutomatic: yes Description: volatile.debian.org http://www.backports.org/debian/dists/etch-backports/Release Origin: Backports.org archive Label: Backports.org archive Suite: etch-backports Codename: etch-backports NotAutomatic: yes Description: Backports for the Etch Distribution http://ftp.debian.org/debian/dists/etch-proposed-updates/Release Origin: Debian Label: Debian Suite: proposed-updates Version: 4.0-updates Codename: etch-proposed-updates Description: Proposed Updates for Debian 4.0 - Not Released -- Package-specific info: aptitude 0.4.11.2 compiled at Apr 12 2008 04:21:26 Compiler: g++ 4.2.3 (Debian 4.2.3-3) Compiled against: apt version 4.6.0 NCurses version 5.6 libsigc++ version: 2.0.18 Ept support enabled. Current library versions: NCurses version: ncurses 5.6.20080308 cwidget version: 0.5.11 Apt version: 4.6.0 Terminal: xterm $DISPLAY is set. `which aptitude`: /usr/bin/aptitude aptitude version information: aptitude linkage: -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages aptitude depends on: ii apt [libapt-pkg-libc6. 0.7.11Advanced front-end for dpkg ii libc6 2.7-10GNU C Library: Shared libraries ii libcwidget30.5.11-1 high-level terminal interface libr ii libept00.5.17High-level library for managing De ii libgcc11:4.3.0-5 GCC support library ii libncursesw5 5.6+20080308-1Shared libraries for terminal hand ii libsigc++-2.0-0c2a 2.0.18-2 type-safe Signal Framework for C++ ii libstdc++6 4.3.0-5 The GNU Standard C++ Library v3 ii libxapian151.0.5-1 Search engine library ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime Versions of packages aptitude recommends: ii aptitude-doc-en [aptitude-doc 0.4.11.2-1 English manual for aptitude, a ter ii libparse-debianchangelog-perl 1.1.1-2parse Debian changelogs and output -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]