On Mi, 2011-04-20 at 19:06 +0200, Pietro Abate wrote: > 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. As far as I can tell, the object would be read-write. You fill the list, then you order it, and then you read it again. So, shall I bind just the pkgOrderList class or do you want anything related as well?
> Provided a bit of guidance (I'm not very familiar with the apt python > bindings), we'll be happy to provide a patch. I'm going to write it next week, the 0.8.0~exp4 release next Tuesday/Wednesday would then include it. -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org