#include <UpgradeStatistics.h>
Inheritance diagram for zypp::UpgradeStatistics:
Public Member Functions | |
UpgradeStatistics () | |
virtual | ~UpgradeStatistics () |
unsigned | totalToInstall () const |
total number of packages that will be installed | |
unsigned | totalToDelete () const |
total number of packages that will be finaly deleted (does not count the replaced packages) | |
unsigned | totalToKeep () const |
total number of packages that remain untouched | |
Public Attributes | |
unsigned | pre_todel |
initial status: packages already tagged to delete | |
unsigned | pre_nocand |
initial status: packages without candidate (foreign, replaced or dropped) | |
unsigned | pre_avcand |
initial status: packages with candidate (available for update) | |
unsigned | chk_installed_total |
update checks: total number of packages checked (should be number of installed packages) | |
unsigned | chk_already_todel |
update checks: packages already tagged to delete (should be pre_todel) | |
unsigned | chk_is_taboo |
update checks: packages skipped due to taboo (foreign) | |
unsigned | chk_already_toins |
update checks: with candidate: packages already tagged to install | |
unsigned | chk_to_update |
update checks: with candidate: packages updated to new version | |
unsigned | chk_to_downgrade |
update checks: with candidate: packages downgraded | |
unsigned | chk_to_keep_downgrade |
update checks: with candidate: packages untouched (foreign package downgrade) | |
unsigned | chk_to_keep_installed |
update checks: with candidate: packages untouched (uptodate) | |
unsigned | chk_keep_foreign |
update checks: without candidate: installed package has not vendor SuSE | |
unsigned | chk_dropped |
update checks: without candidate: packages dropped (or SuSE internal) | |
unsigned | chk_replaced |
update checks: without candidate: packages replaced | |
unsigned | chk_add_split |
update checks: without candidate: packages added by splitprovides | |
unsigned | chk_replaced_guessed |
update checks: without candidate: package replaced (but not uniqe, thus guessed) | |
Private Member Functions | |
virtual std::ostream & | dumpOn (std::ostream &str) const |
Friends | |
std::ostream & | operator<< (std::ostream &str, const UpgradeStatistics &obj) |
Definition at line 75 of file UpgradeStatistics.h.
|
Definition at line 183 of file UpgradeStatistics.h. References chk_add_split, chk_already_todel, chk_already_toins, chk_dropped, chk_installed_total, chk_is_taboo, chk_keep_foreign, chk_replaced, chk_replaced_guessed, chk_to_downgrade, chk_to_keep_downgrade, chk_to_keep_installed, chk_to_update, pre_avcand, pre_nocand, and pre_todel. |
|
Definition at line 46 of file UpgradeStatistics.cc. |
|
|
total number of packages that will be installed
Definition at line 210 of file UpgradeStatistics.h. References chk_add_split, chk_already_toins, chk_replaced, chk_replaced_guessed, chk_to_downgrade, and chk_to_update. Referenced by dumpOn(). |
|
total number of packages that will be finaly deleted (does not count the replaced packages)
Definition at line 221 of file UpgradeStatistics.h. References chk_already_todel, chk_dropped, and zypp::UpgradeOptions::delete_unmaintained. Referenced by dumpOn(). |
|
total number of packages that remain untouched
Definition at line 232 of file UpgradeStatistics.h. References chk_dropped, chk_is_taboo, chk_keep_foreign, chk_to_keep_downgrade, chk_to_keep_installed, and zypp::UpgradeOptions::delete_unmaintained. Referenced by dumpOn(). |
|
Definition at line 78 of file UpgradeStatistics.h. |
|
initial status: packages already tagged to delete
Definition at line 90 of file UpgradeStatistics.h. Referenced by dumpOn(), and UpgradeStatistics(). |
|
initial status: packages without candidate (foreign, replaced or dropped)
Definition at line 94 of file UpgradeStatistics.h. Referenced by dumpOn(), and UpgradeStatistics(). |
|
initial status: packages with candidate (available for update)
Definition at line 98 of file UpgradeStatistics.h. Referenced by dumpOn(), and UpgradeStatistics(). |
|
update checks: total number of packages checked (should be number of installed packages)
Definition at line 104 of file UpgradeStatistics.h. Referenced by dumpOn(), and UpgradeStatistics(). |
|
update checks: packages already tagged to delete (should be pre_todel)
Definition at line 109 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToDelete(), and UpgradeStatistics(). |
|
update checks: packages skipped due to taboo (foreign)
Definition at line 114 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToKeep(), and UpgradeStatistics(). |
|
update checks: with candidate: packages already tagged to install
Definition at line 119 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToInstall(), and UpgradeStatistics(). |
|
update checks: with candidate: packages updated to new version
Definition at line 124 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToInstall(), and UpgradeStatistics(). |
|
update checks: with candidate: packages downgraded Installed and candidate package have vendor SuSE and candidates buildtime is newer. Definition at line 132 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToInstall(), and UpgradeStatistics(). |
|
update checks: with candidate: packages untouched (foreign package downgrade)
Definition at line 137 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToKeep(), and UpgradeStatistics(). |
|
update checks: with candidate: packages untouched (uptodate)
Definition at line 142 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToKeep(), and UpgradeStatistics(). |
|
update checks: without candidate: installed package has not vendor SuSE Remains untouched. Definition at line 149 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToKeep(), and UpgradeStatistics(). |
|
update checks: without candidate: packages dropped (or SuSE internal) There's no available candidate providing it. Definition at line 156 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToDelete(), totalToKeep(), and UpgradeStatistics(). |
|
update checks: without candidate: packages replaced There's exactly one available candidate providing it. Definition at line 163 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToInstall(), and UpgradeStatistics(). |
|
update checks: without candidate: packages added by splitprovides Only packages not selected by one of the above checks are counted. Definition at line 170 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToInstall(), and UpgradeStatistics(). |
|
update checks: without candidate: package replaced (but not uniqe, thus guessed) There are multiple available candidates providing it. If at the end at least one out of these candidates was set to install by one of the above checks, it's ok. Otherwise we have to guess one. Definition at line 179 of file UpgradeStatistics.h. Referenced by dumpOn(), totalToInstall(), and UpgradeStatistics(). |