Bug#513248: Attach lexical information to configuration file entries.
Package: libapt-pkg-dev
Version: 0.7.20.1
Severity: wishlist
Sorry, no patch -- I wanted to jot this down before I forgot. Bug
me if I haven't sent a patch in a few weeks. ;-)
For the purpose of providing the user with diagnostic information,
it would be nice if apt stored some extra data while parsing
configuration files. Specifically, configuration items could get a
few extra fields: "filename" and "line of file". This would, e.g.,
let a front-end tell a user that "^linux-image.*" will never be
auto-removed because of the setting at line 5 of
/etc/apt/apt.conf.d/01autoremove.
Since it changes a structure size, this is an ABI breaker and not
appropriate for Lenny.
Daniel
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-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/bash
Versions of packages libapt-pkg-dev depends on:
ii apt [libapt-pkg-libc6.7-6-4.6 0.7.20.1 Advanced front-end for dpkg
ii apt-utils 0.7.20.1 APT utility programs
libapt-pkg-dev recommends no packages.
libapt-pkg-dev suggests no packages.
-- no debconf information
Reply to: