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

Bug#623485: python-apt: please add bindings pkgOrderList



Package: python-apt
Version: 0.7.100.3+b1
Severity: wishlist


Hello,

This is a request to add a new binding to the class pkgOrderList of apt.
The idea is to allow to compute and set the pkgOrderList independently
and reason about it.

At the moment the only way to compute (via apt-get) the installation
plan is to execute it and print a debug trace of it. 

For the mancoosi project we would like to compute the plan before
executing it and to simulate the installation in order to detect
possible problems in the installation scripts.

I'm aware that this binding will export a read-only object and that the
installation plan will be recomputed by apt-get. This will be sufficient
for our goals.

Provided a bit of guidance (I'm not very familiar with the apt python
bindings), we'll be happy to provide a patch.

look forward for your feedback.

pietro


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-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 python-apt depends on:
ii  apt [libapt-pkg4.10]          0.8.14.1   Advanced front-end for dpkg
ii  apt-utils [libapt-inst1.2]    0.8.14.1   APT utility programs
ii  libc6                         2.11.2-13  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.6.0-3  GCC support library
ii  libstdc++6                    4.6.0-3    The GNU Standard C++ Library v3
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python-apt-common             0.7.100.3  Python interface to libapt-pkg (lo
ii  python2.6                     2.6.6-8+b1 An interactive high-level object-o
ii  python2.7                     2.7.1-6    An interactive high-level object-o

Versions of packages python-apt recommends:
ii  iso-codes                     3.25-1     ISO language, territory, currency,
ii  lsb-release                   3.2-27     Linux Standard Base version report
ii  python2.6                     2.6.6-8+b1 An interactive high-level object-o

Versions of packages python-apt suggests:
pn  python-apt-dbg               <none>      (no description available)
pn  python-apt-doc               <none>      (no description available)
ii  python-gtk2                  2.17.0-4+b2 Python bindings for the GTK+ widge
pn  python-vte                   <none>      (no description available)

-- no debconf information



Reply to: