Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2012-02-23 15:35:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2012-01-19 09:44:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2012-02-23 15:35:17.000000000 +0100 @@ -1,0 +2,14 @@ +Wed Feb 22 12:57:01 UTC 2012 - [email protected] + +- bnc#694582 - addedd @ as it is allowed in authority part of URI. +- improve Exists(), don't return 'true' if SCR::Read() returned nil +- fixed testsuite for WorkFlow.ycp - corrupted due to above Exists() fix +- added String::YesNo +- 2.22.4 + +------------------------------------------------------------------- +Tue Jan 31 14:44:38 CET 2012 - [email protected] + +- Fixed typo + +------------------------------------------------------------------- Old: ---- yast2-2.22.3.tar.bz2 New: ---- yast2-2.22.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.fmJqaP/_old 2012-02-23 15:35:19.000000000 +0100 +++ /var/tmp/diff_new_pack.fmJqaP/_new 2012-02-23 15:35:19.000000000 +0100 @@ -15,10 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# norootforbuild Name: yast2 -Version: 2.22.3 +Version: 2.22.4 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -136,6 +137,7 @@ export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +%{?suse_update_config:%{suse_update_config -f}} ./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir} # V=1: verbose build in case we used AM_SILENT_RULES(yes) # so that RPM_OPT_FLAGS check works ++++++ yast2-2.22.3.tar.bz2 -> yast2-2.22.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-2.22.3/VERSION new/yast2-2.22.4/VERSION --- old/yast2-2.22.3/VERSION 2012-01-13 14:51:31.000000000 +0100 +++ new/yast2-2.22.4/VERSION 2012-02-22 12:32:09.000000000 +0100 @@ -1 +1 @@ -2.22.3 +2.22.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-2.22.3/configure.in new/yast2-2.22.4/configure.in --- old/yast2-2.22.3/configure.in 2012-01-13 14:51:32.000000000 +0100 +++ new/yast2-2.22.4/configure.in 2012-02-22 12:30:21.000000000 +0100 @@ -1,6 +1,6 @@ dnl configure.in for yast2 dnl -dnl -- This file is generated by y2autoconf 2.21.7 - DO NOT EDIT! -- +dnl -- This file is generated by y2autoconf 2.21.6 - DO NOT EDIT! -- dnl (edit configure.in.in instead) AC_INIT(yast2, 2.22.3, http://bugs.opensuse.org/, yast2) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-2.22.3/library/control/testsuite/tests/WorkflowManager.ycp new/yast2-2.22.4/library/control/testsuite/tests/WorkflowManager.ycp --- old/yast2-2.22.3/library/control/testsuite/tests/WorkflowManager.ycp 2012-01-13 14:51:27.000000000 +0100 +++ new/yast2-2.22.4/library/control/testsuite/tests/WorkflowManager.ycp 2012-02-22 14:54:36.000000000 +0100 @@ -7,6 +7,7 @@ map READ = $[ "target" : $[ "size" : 0, + "stat" : $[ "dummy": true ] ], ]; @@ -14,7 +15,9 @@ map EXEC = $[]; -TESTSUITE_INIT([READ, WRITE, EXEC], nil); +list MOCK = [READ, WRITE, EXEC]; + +TESTSUITE_INIT( MOCK, nil); import "WorkflowManager"; import "ProductControl"; @@ -28,29 +31,29 @@ // init <-- -TEST (``(WorkflowManager::SetBaseWorkflow (false)), [], nil); +TEST (``(WorkflowManager::SetBaseWorkflow (false)), MOCK, nil); DUMP (""); DUMP ("Adding new Add-On product"); -TEST (``(WorkflowManager::AddWorkflow (`addon, 3, "")), [], nil); -TEST (``(WorkflowManager::GetAllUsedControlFiles ()), [], nil); +TEST (``(WorkflowManager::AddWorkflow (`addon, 3, "")), MOCK, nil); +TEST (``(WorkflowManager::GetAllUsedControlFiles ()), MOCK, nil); DUMP (""); DUMP ("Adding another Add-On product"); -TEST (``(WorkflowManager::AddWorkflow (`addon, 12, "")), [], nil); -TEST (``(WorkflowManager::GetAllUsedControlFiles ()), [], nil); +TEST (``(WorkflowManager::AddWorkflow (`addon, 12, "")), MOCK, nil); +TEST (``(WorkflowManager::GetAllUsedControlFiles ()), MOCK, nil); DUMP (""); DUMP ("Removing the first Add-On product"); -TEST (``(WorkflowManager::RemoveWorkflow (`addon, 3, "")), [], nil); -TEST (``(WorkflowManager::GetAllUsedControlFiles ()), [], nil); +TEST (``(WorkflowManager::RemoveWorkflow (`addon, 3, "")), MOCK, nil); +TEST (``(WorkflowManager::GetAllUsedControlFiles ()), MOCK, nil); DUMP (""); DUMP ("Removing the first Add-On product"); -TEST (``(WorkflowManager::MergeWorkflows ()), [READ, WRITE, EXEC], nil); +TEST (``(WorkflowManager::MergeWorkflows ()), MOCK, nil); DUMP (""); DUMP ("Current Settings"); -TEST (``(WorkflowManager::DumpCurrentSettings ()), [], nil); +TEST (``(WorkflowManager::DumpCurrentSettings ()), MOCK, nil); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-2.22.3/library/modules/FileUtils.ycp new/yast2-2.22.4/library/modules/FileUtils.ycp --- old/yast2-2.22.3/library/modules/FileUtils.ycp 2012-01-13 14:51:30.000000000 +0100 +++ new/yast2-2.22.4/library/modules/FileUtils.ycp 2012-02-22 14:31:04.000000000 +0100 @@ -7,7 +7,7 @@ * removing them. * Flags: Stable * - * $Id: FileUtils.ycp 60264 2010-01-07 13:27:45Z kmachalkova $ + * $Id: FileUtils.ycp 67443 2012-02-15 13:17:24Z gs $ */ { module "FileUtils"; @@ -33,7 +33,7 @@ global define boolean Exists (string target) { map info = (map) SCR::Read(.target.stat, target); - if (info != $[]) { + if (info != $[] && info != nil) { return true; } return false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-2.22.3/library/modules/Version.ycp new/yast2-2.22.4/library/modules/Version.ycp --- old/yast2-2.22.3/library/modules/Version.ycp 2012-01-13 14:51:44.000000000 +0100 +++ new/yast2-2.22.4/library/modules/Version.ycp 2012-02-22 12:32:24.000000000 +0100 @@ -20,7 +20,7 @@ /** * Version of the yast2 package */ -global string yast2 = "2.22.3"; +global string yast2 = "2.22.4"; /* EOF */ } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-2.22.3/library/packages/src/SignatureCheckDialogs.ycp new/yast2-2.22.4/library/packages/src/SignatureCheckDialogs.ycp --- old/yast2-2.22.3/library/packages/src/SignatureCheckDialogs.ycp 2012-01-13 14:51:30.000000000 +0100 +++ new/yast2-2.22.4/library/packages/src/SignatureCheckDialogs.ycp 2012-02-06 07:59:01.000000000 +0100 @@ -432,7 +432,7 @@ Install it anyway?") : // popup question, %1 stands for the filename - _("No checksum for file %1 was found the repository. + _("No checksum for file %1 was found in the repository. This means that the file is part of the signed repository, but the list of checksums in this repository does not mention this file. Using the file may put the integrity of your system at risk. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-2.22.3/library/types/src/String.ycp new/yast2-2.22.4/library/types/src/String.ycp --- old/yast2-2.22.3/library/types/src/String.ycp 2012-01-13 14:51:30.000000000 +0100 +++ new/yast2-2.22.4/library/types/src/String.ycp 2012-02-22 14:00:34.000000000 +0100 @@ -4,7 +4,7 @@ * Summary: String manipulation routines * Authors: Michal Svec <[email protected]> * - * $Id: String.ycp 66575 2011-10-25 13:49:47Z locilka $ + * $Id: String.ycp 67404 2012-02-10 11:12:06Z aschnell $ */ { @@ -75,6 +75,26 @@ return NonEmpty (splitstring (s, "\n")); } + +/** + * @param value boolean + * @return boolean value as "Yes" or "No" + */ +global string YesNo(boolean value) +{ + if (value) + { + // human text for Boolean value + return _("Yes"); + } + else + { + // human text for Boolean value + return _("No"); + } +} + + /** * Return a pretty description of a byte count * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-2.22.3/library/types/src/URL.ycp new/yast2-2.22.4/library/types/src/URL.ycp --- old/yast2-2.22.3/library/types/src/URL.ycp 2012-01-13 14:51:30.000000000 +0100 +++ new/yast2-2.22.4/library/types/src/URL.ycp 2012-02-22 13:59:59.000000000 +0100 @@ -6,7 +6,7 @@ * Anas Nashif <[email protected]> * Flags: Stable * - * $Id: URL.ycp 57013 2009-04-28 15:09:55Z lslezak $ + * $Id: URL.ycp 67513 2012-02-22 12:59:55Z mfilka $ */ { @@ -29,8 +29,12 @@ /** * Valid characters in URL + * + * bnc#694582 - addedd @ as it is allowed in authority part of URI. + * for details see RFC2616 and RFC2396 + * */ -global string ValidChars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.:_-/%"; +global string ValidChars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.:_-/%@"; /** -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
