[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#498970: more parseable output distinguishing error/warnings/...



Package: apt
Version: 0.7.14+b1
Severity: wishlist

Please make apt output more parseable distinguishing among
error/warnings/info ...

Long story: I'm working on a tool to test drive apt runs and later on I
need to check if the run I've collected are reproducible in a "lab"
environment. Currently this is quite hard to do as apt output is not
meant to be parseable. Other bug reports have noted similar problems of
non machine-parseable output (e.g. #325786).

As a start, I propose to qualify *all* error related output with "E:",
and similarly "W:" for warnings.

I'm willing to submit a patch for that, but given that it will be quite
a boring patch to write, I would prefer to receive an ACK from the
maintainers that such a patch will be welcome, would it?

Many thanks for the hard work of maintaining apt!
Cheers.

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted) --


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experime.ntal')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-13          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.2-1       GCC support library
ii  libstdc++6               4.3.2-1         The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                       <none>     (no description available)
ii  aptitude                      0.4.11.9-1 terminal-based package manager
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  dpkg-dev                      1.14.22    Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  synaptic                      0.62.1     Graphical package manager

-- no debconf information



Reply to: