Bug#532660: python-apt: DpkgInstallProgress should support more than one package
On Tue, Jun 09, 2009 at 03:25:48AM +0200, Sebastian Heinlein wrote:
> Package: python-apt
> Version: 0.7.10.3+b1
> Severity: wishlist
>
> The run method of DpkgInstallProgress class only works with one package.
> Furthermore it sets the debfile and debname attribute which will be used by
> the update_status method.
>
> I would like to overwrite the run method in PackgeKit to support more than one
> Deb file and different dpkg options. So it would be nice to extract the package
> names in update_status from the dpkg status message instead of reusing
> the debname attribute.
>
> See attached patch.
I have merged it in a modified form. More precisely, I added the debfile and
debname attributes again when running in 0.7 compatibility mode, to not break
application relying on the existence of those attributes.
You may want to propose another wording for the changelog,
see http://bzr.debian.org/loggerhead/users/jak/python-apt/jak/revision/272
--
Julian Andres Klode - Free Software Developer
Debian Developer - Contributing Member of SPI
Ubuntu Member - Fellow of FSFE
Website: http://jak-linux.org/ XMPP: juliank@jabber.org
Debian: http://www.debian.org/ SPI: http://www.spi-inc.org/
Ubuntu: http://www.ubuntu.com/ FSFE: http://www.fsfe.org/
Reply to: