List of Global Functions
Detach -
DropObsoletePackages - Drops packages defined in control file (string) software->dropped_packages
GetBaseSelections - Get all available base selections sorted in reverse order (highest ordered bases selection comes first).
GetProductName - Read product name and version for the old and new release. Fill Installation::installedVersion and Installation::updateVersion.
InitUpdate - Set initial values for variables that user can't change. They are defined in the control file.
IsProductSupportedForUpgrade - Returns whether the installed product is supported for upgrade. (Functionality for FATE #301844).
OnlyUpdateInstalled - Returns whether upgrade process should only update installed packages or also install new packages. True means - do not upgrade, only update packages. (Functionality for FATE #301844).
ProductsCompatible - Check if installed product and product to upgrade to are compatible
ProposeSelection - Propose a selection for the update and save it's name in Update::selected_selection.
Reset -
SilentlyDowngradePackages - Returns whether upgrade process should silently downgrade packages if needed. 'true' means that packages might be downgraded, 'nil' is returned when the feature is not supported in the control file.
List of Global Variables
Drops packages defined in control file (string) software->dropped_packages
Return value
void
Get all available base selections sorted in reverse order (highest ordered bases selection comes first).
Return value
list<string>
Read product name and version for the old and new release. Fill Installation::installedVersion and Installation::updateVersion.
Return value
boolean - success
Set initial values for variables that user can't change. They are defined in the control file.
Return value
void
Returns whether the installed product is supported for upgrade. (Functionality for FATE #301844).
Return value
boolean
Returns whether upgrade process should only update installed packages or also install new packages. True means - do not upgrade, only update packages. (Functionality for FATE #301844).
Return value
boolean
Check if installed product and product to upgrade to are compatible
Return value
boolean - true if update is possible
Propose a selection for the update and save it's name in Update::selected_selection.
Return value
void
Returns whether upgrade process should silently downgrade packages if needed. 'true' means that packages might be downgraded, 'nil' is returned when the feature is not supported in the control file.
Return value
boolean