commit yast2-iscsi-client for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-iscsi-client for openSUSE:Factory checked in at Sat Nov 20 12:20:38 CET 2010. -------- --- yast2-iscsi-client/yast2-iscsi-client.changes 2010-05-11 13:49:32.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-iscsi-client/yast2-iscsi-client.changes 2010-07-30 11:27:58.000000000 +0200 @@ -1,0 +2,12 @@ +Fri Jul 30 11:19:48 CEST 2010 - mzugec@suse.cz + +- login into multipath (bnc#599818) +- 2.19.7 + +------------------------------------------------------------------- +Mon May 24 15:03:36 CEST 2010 - mzugec@suse.cz + +- summary overview for autoyast (bnc#581682) +- 2.19.6 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-iscsi-client-2.19.5.tar.bz2 New: ---- yast2-iscsi-client-2.19.7.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-iscsi-client.spec ++++++ --- /var/tmp/diff_new_pack.wIWSHc/_old 2010-11-20 12:13:25.000000000 +0100 +++ /var/tmp/diff_new_pack.wIWSHc/_new 2010-11-20 12:13:25.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package yast2-iscsi-client (Version 2.19.5) +# spec file for package yast2-iscsi-client (Version 2.19.7) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,11 +19,11 @@ Name: yast2-iscsi-client -Version: 2.19.5 +Version: 2.19.7 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: yast2-iscsi-client-2.19.5.tar.bz2 +Source0: yast2-iscsi-client-2.19.7.tar.bz2 Prefix: /usr @@ -46,7 +46,7 @@ client. %prep -%setup -n yast2-iscsi-client-2.19.5 +%setup -n yast2-iscsi-client-2.19.7 %build %{prefix}/bin/y2tool y2autoconf ++++++ yast2-iscsi-client-2.19.5.tar.bz2 -> yast2-iscsi-client-2.19.7.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.19.5/VERSION new/yast2-iscsi-client-2.19.7/VERSION --- old/yast2-iscsi-client-2.19.5/VERSION 2010-05-11 13:48:05.000000000 +0200 +++ new/yast2-iscsi-client-2.19.7/VERSION 2010-07-30 11:19:40.000000000 +0200 @@ -1 +1 @@ -2.19.5 +2.19.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.19.5/src/IscsiClient.ycp new/yast2-iscsi-client-2.19.7/src/IscsiClient.ycp --- old/yast2-iscsi-client-2.19.5/src/IscsiClient.ycp 2009-04-21 09:29:29.000000000 +0200 +++ new/yast2-iscsi-client-2.19.7/src/IscsiClient.ycp 2010-05-24 15:04:37.000000000 +0200 @@ -4,7 +4,7 @@ * Summary: IscsiClient settings, input and output functions * Authors: Michal Zugec <mzugec@suse.cz> * - * $Id: IscsiClient.ycp 56867 2009-04-21 07:29:28Z mzugec $ + * $Id: IscsiClient.ycp 62058 2010-05-24 13:04:37Z mzugec $ * * Representation of the configuration of iscsi-client. * Input and output routines. @@ -119,14 +119,14 @@ else new_target = union(new_target, auth); tgets = add(tgets, new_target); }); - map result = $[ + IscsiClientLib::ay_settings = $[ "version" : "1.0", "initiatorname" : IscsiClientLib::initiatorname, "targets" : tgets ]; configured = true; modified = true; - return result; + return IscsiClientLib::ay_settings; } /** @@ -277,7 +277,7 @@ global list Summary() { // TODO FIXME: your code here... /* Configuration summary text for autoyast */ - return [ _("Configuration summary..."), [] ]; + return [ IscsiClientLib::Overview(), [] ]; } /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.19.5/src/IscsiClientLib.ycp new/yast2-iscsi-client-2.19.7/src/IscsiClientLib.ycp --- old/yast2-iscsi-client-2.19.5/src/IscsiClientLib.ycp 2010-05-10 13:51:40.000000000 +0200 +++ new/yast2-iscsi-client-2.19.7/src/IscsiClientLib.ycp 2010-07-30 11:15:28.000000000 +0200 @@ -526,5 +526,18 @@ return true; } +global string Overview(){ + string overview = _("Configuration summary..."); + if (size(ay_settings)>0){ + overview=""; + if (size(ay_settings["initiatorname"]:"")>0) overview = overview + "<p><b>Initiatorname: </b>" + ay_settings["initiatorname"]:"" + "</p>"; + if (size(ay_settings["targets"]:[])>0){ + foreach(map target, (list<map>)ay_settings["targets"]:[], { + overview = overview + "<p>" + target["portal"]:"" + ", " + target["target"]:"" + ", " + target["startup"]:"" + "</p>"; + }); + } + } + return overview; +} } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-iscsi-client-2.19.5/src/widgets.ycp new/yast2-iscsi-client-2.19.7/src/widgets.ycp --- old/yast2-iscsi-client-2.19.5/src/widgets.ycp 2010-05-11 13:40:31.000000000 +0200 +++ new/yast2-iscsi-client-2.19.7/src/widgets.ycp 2010-07-29 17:14:54.000000000 +0200 @@ -602,7 +602,7 @@ "username_in" : user_in, "password_in" : pass_in ]; - if (IscsiClientLib::connected(false) || IscsiClientLib::loginIntoTarget(target)) { + if (IscsiClientLib::connected(true) || IscsiClientLib::loginIntoTarget(target)) { // IscsiClientLib::currentRecord = [target["portal"]:"", target["target"]:""]; IscsiClientLib::setStartupStatus((string)UI::QueryWidget(`id("startup"), `Value)); IscsiClientLib::readSessions(); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de