show installed size for all packages
ClosedPublic

Authored by vanini on Jun 7 2018, 8:03 PM.

Details

Summary

Show installed size also for packages which are not installed, using the
size of the candidate version.

Depends on D13412

Diff Detail

Repository
R550 Muon
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vanini requested review of this revision.Jun 7 2018, 8:03 PM
vanini created this revision.

The duplicated if (package->isInstalled()) { is a bit meh.

src/PackageModel/PackageModel.cpp
69–73

Random thought: maybe Package should grow a convenience function for this. It seems to me that most times one would want *any* installed size.

sitter accepted this revision.Jun 8 2018, 11:19 AM
This revision is now accepted and ready to land.Jun 8 2018, 11:19 AM
vanini updated this revision to Diff 36317.Jun 19 2018, 10:02 AM
  • update with new function in QApt::Package

Depends on D13600

This revision was automatically updated to reflect the committed changes.