Hello community, here is the log from the commit of package yast2-online-update checked in at Thu Aug 2 22:15:22 CEST 2007. -------- --- yast2-online-update/yast2-online-update.changes 2007-07-13 12:55:33.000000000 +0200 +++ /mounts/work_src_done/NOARCH/yast2-online-update/yast2-online-update.changes 2007-08-01 10:34:21.047601000 +0200 @@ -1,0 +2,7 @@ +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 + +------------------------------------------------------------------- Old: ---- yast2-online-update-2.15.19.tar.bz2 New: ---- yast2-online-update-2.15.20.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-online-update.spec ++++++ --- /var/tmp/diff_new_pack.m28401/_old 2007-08-02 22:14:33.000000000 +0200 +++ /var/tmp/diff_new_pack.m28401/_new 2007-08-02 22:14:33.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package yast2-online-update (Version 2.15.19) +# spec file for package yast2-online-update (Version 2.15.20) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -11,12 +11,12 @@ # norootforbuild Name: yast2-online-update -Version: 2.15.19 +Version: 2.15.20 Release: 1 License: GPL v2 or later Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-online-update-2.15.19.tar.bz2 +Source0: yast2-online-update-2.15.20.tar.bz2 prefix: /usr BuildRequires: gcc-c++ libxcrypt-devel perl-XML-Writer pkg-config update-desktop-files yast2-bootloader yast2-devtools yast2-packager PreReq: grep sed @@ -48,7 +48,7 @@ gs@suse.de %prep -%setup -n yast2-online-update-2.15.19 +%setup -n yast2-online-update-2.15.20 %build %{prefix}/bin/y2tool y2autoconf @@ -149,6 +149,10 @@ %ghost %{prefix}/share/applications/YaST2/cd_update.desktop %changelog +* Wed Aug 01 2007 - jsuchome@suse.cz +- show warning if no update source is available (F300635) +- removed unused testsuites +- 2.15.20 * Fri Jul 13 2007 - jsuchome@suse.cz - fixed restarting during installation (#291361) - 2.15.19 ++++++ yast2-online-update-2.15.19.tar.bz2 -> yast2-online-update-2.15.20.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-online-update-2.15.19/src/online_update.ycp new/yast2-online-update-2.15.20/src/online_update.ycp --- old/yast2-online-update-2.15.19/src/online_update.ycp 2007-05-11 13:33:00.000000000 +0200 +++ new/yast2-online-update-2.15.20/src/online_update.ycp 2007-08-01 10:28:07.000000000 +0200 @@ -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(); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-online-update-2.15.19/VERSION new/yast2-online-update-2.15.20/VERSION --- old/yast2-online-update-2.15.19/VERSION 2007-07-13 12:40:19.000000000 +0200 +++ new/yast2-online-update-2.15.20/VERSION 2007-08-01 10:28:30.000000000 +0200 @@ -1 +1 @@ -2.15.19 +2.15.20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org