SmartConfigure and SmartUnPack have got smarter! The full descriptions of what they...
authorChristopher Baines <cbaines8@gmail.com>
Wed, 27 Jul 2011 14:20:35 +0000 (15:20 +0100)
committerChristopher Baines <cbaines8@gmail.com>
Wed, 27 Jul 2011 14:20:35 +0000 (15:20 +0100)
commit590f1923121815b36ef889033c1c416a23cbe9a2
tree7f283b080790a9dd82725fc9127ddaede7b8ffe9
parentb684d8c7b15fbbebb149afac4e374b025c1b335e
SmartConfigure and SmartUnPack have got smarter! The full descriptions of what they now do is in the apt-pkg/packagemanager.cc file.
The short version is that they will both put the system in a state where there operation can be achived, this involves calling
themselves and each other recursively. Because SmartConfigure can now configure a package and all its dependancies itself, there is
no current need for DepAdd (at least in packagemanager.cc), SmartConfigure also performs the function of the short lived VerifyConfigure
as it checks through all the dependancies before performing configuration.

Another change is to use the ConfigureAll method in OrderInstall to clean up any packages left unconfigured during ImmConfigureAll.
This is necessary to inprove the safety of ImmConfiguration and because of the new SIGINT functionality of dpkgpm.cc relies on no
packages being left unconfigured between pairs of dpkg calls.  While writing this commit log, I have realised that the SIGINT stuff
is a prototype and not ready to be used yet as I have only tested it twice.
apt-pkg/deb/dpkgpm.cc
apt-pkg/deb/dpkgpm.h
apt-pkg/packagemanager.cc
apt-pkg/packagemanager.h