[yast-commit] r39855 - in /trunk/online-update: VERSION package/yast2-online-update.changes src/online_update.ycp testsuite/tests/read_servers.ycp testsuite/tests/suseservers testsuite/tests/write_servers.ycp
Author: jsuchome Date: Wed Aug 1 10:34:38 2007 New Revision: 39855 URL: http://svn.opensuse.org/viewcvs/yast?rev=39855&view=rev Log: - show warning if no update source is available (F300635) - removed unused testsuites - 2.15.20 Removed: trunk/online-update/testsuite/tests/read_servers.ycp trunk/online-update/testsuite/tests/suseservers trunk/online-update/testsuite/tests/write_servers.ycp Modified: trunk/online-update/VERSION trunk/online-update/package/yast2-online-update.changes trunk/online-update/src/online_update.ycp Modified: trunk/online-update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/VERSION?rev=39855&r1=39854&r2=39855&view=diff ============================================================================== --- trunk/online-update/VERSION (original) +++ trunk/online-update/VERSION Wed Aug 1 10:34:38 2007 @@ -1 +1 @@ -2.15.19 +2.15.20 Modified: trunk/online-update/package/yast2-online-update.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/package/yast2-online-update.changes?rev=39855&r1=39854&r2=39855&view=diff ============================================================================== --- trunk/online-update/package/yast2-online-update.changes (original) +++ trunk/online-update/package/yast2-online-update.changes Wed Aug 1 10:34:38 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Aug 1 10:17:48 CEST 2007 - jsuchome@suse.cz + +- show warning if no update source is available (F300635) +- removed unused testsuites +- 2.15.20 + +------------------------------------------------------------------- Fri Jul 13 12:39:33 CEST 2007 - jsuchome@suse.cz - fixed restarting during installation (#291361) Modified: trunk/online-update/src/online_update.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/src/online_update.ycp?rev=39855&r1=39854&r2=39855&view=diff ============================================================================== --- trunk/online-update/src/online_update.ycp (original) +++ trunk/online-update/src/online_update.ycp Wed Aug 1 10:34:38 2007 @@ -42,12 +42,16 @@ _("Initialize the target system"), // progress stage label _("Refresh update sources"), + // progress stage label + _("Check for available updates"), ]; list steps = [ // progress step label _("Initializing the target system..."), // progress step label _("Refreshing update sources ..."), + // progress step label + _("Checking for available updates..."), // final progress step label _("Finished") ]; @@ -71,6 +75,29 @@ Progress::NextStage (); OnlineUpdateCallbacks::RefreshAllSources(); + + Progress::NextStage (); + + if (!OnlineUpdate::cd_update) // for CD for cd update was not initialized yet + { + boolean is_available = false; + // check if there is any patch for installation + foreach (map patch, Pkg::ResolvableProperties ("", `patch, ""), { + if (patch["status"]:`none == `available) + { + is_available = true; + break; + } + }); + // continue/cancel message + if (!is_available && Popup::YesNo (_("No active update source is available. +Exit Online Update now?."))) + { + Wizard::CloseDialog(); + return `abort; + } + } + OnlineUpdateCallbacks::RegisterOnlineUpdateCallbacks(); Progress::Finish(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn.opensuse.org