YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

  • Directory
  • GetInstArgs
  • Internet
  • Label
  • Mode
  • PackageCallbacks
  • Popup
  • Product
  • Proxy
  • Report
  • String
  • Wizard

Includes

  • network/installation/dialogs.ycp
  • network/routines.ycp

Local Functions

local GetLanguageUTF8 () -> string

Return current language with .UTF-8 appended. FIXME: there must be a better way!

local make_dialog () -> void

Create the dialog contents

local mark_label (integer i, symbol s) -> void

Parameters:
i step number 1..4
s bullet: `arrow: current, `check: done, `dash: not done or failed
local download_release_notes () -> boolean

Download all release notes mentioned in Product::relnotesurl_all

Return value:
true when successful
local IsDownloadedVersionNewer (string installed_rpm_version, string downloaded_rpm_version) -> boolean

Function checks two versions of installed rpm and decides whether the second one is newer than the first one. This function ignores non-numerical values in versions

Parameters:
installed_rpm_version
downloaded_rpm_version
Return value:
true if the second one is newer than the first one
local IsDownloadedRPMInstallable (string rpm_name, string disk_file) -> boolean

Function checks whether the downloaded and installed versions are different

Parameters:
rpm_name
disk_file