Mailinglist Archive: opensuse-commit (1828 mails)

< Previous Next >
commit autoyast2
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 12 Sep 2008 01:54:53 +0200
  • Message-id: <20080911235453.9B82B678048@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package autoyast2
checked in at Fri Sep 12 01:54:53 CEST 2008.


--------
--- autoyast2/autoyast2.changes 2008-09-08 16:14:57.000000000 +0200
+++ /mounts/work_src_done/STABLE/autoyast2/autoyast2.changes 2008-09-10
17:27:17.564335000 +0200
@@ -1,0 +2,12 @@
+Wed Sep 10 17:18:12 CEST 2008 - ug@xxxxxxx
+
+- proof readed texts
+- 2.17.10
+
+-------------------------------------------------------------------
+Wed Sep 10 10:34:57 CEST 2008 - ug@xxxxxxx
+
+- workaround for broken resolver removed since it is fixed now and
+ performance boost by using zypp API now again (bnc#407973)
+
+-------------------------------------------------------------------



Old:
----
autoyast2-2.17.9.tar.bz2

New:
----
autoyast2-2.17.10.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.U28583/_old 2008-09-12 01:54:36.000000000 +0200
+++ /var/tmp/diff_new_pack.U28583/_new 2008-09-12 01:54:36.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package autoyast2 (Version 2.17.9)
+# spec file for package autoyast2 (Version 2.17.10)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -20,12 +20,12 @@
Url: http://www.suse.de/~ug

Name: autoyast2
-Version: 2.17.9
+Version: 2.17.10
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: autoyast2-2.17.9.tar.bz2
+Source0: autoyast2-2.17.10.tar.bz2
Prefix: /usr
BuildRequires: docbook-xsl-stylesheets java2-devel-packages libxslt
perl-XML-Writer pkg-config sgml-skel update-desktop-files xorg-x11-libs
yast2-bootloader yast2-country yast2-devtools yast2-mouse yast2-testsuite
yast2-transfer yast2-update
# API for Disabled Modules (ProductControl)
@@ -61,7 +61,7 @@

%package installation
License: GPL v2 or later
-Version: 2.17.9
+Version: 2.17.10
Release: 1
Summary: YaST2 - Auto Installation Modules
Group: System/YaST
@@ -83,7 +83,7 @@
Anas Nashif

%prep
-%setup -n autoyast2-2.17.9
+%setup -n autoyast2-2.17.10

%build
%{prefix}/bin/y2tool y2autoconf
@@ -235,6 +235,12 @@
%dir /var/lib/autoinstall
%dir /var/lib/autoinstall/autoconf
%changelog
+* Wed Sep 10 2008 ug@xxxxxxx
+- proof readed texts
+- 2.17.10
+* Wed Sep 10 2008 ug@xxxxxxx
+- workaround for broken resolver removed since it is fixed now and
+ performance boost by using zypp API now again (bnc#407973)
* Mon Sep 08 2008 ug@xxxxxxx
- fix for relurl scripts in second stage
- 2.17.9

++++++ autoyast2-2.17.9.tar.bz2 -> autoyast2-2.17.10.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/autoyast2-2.17.9/configure
new/autoyast2-2.17.10/configure
--- old/autoyast2-2.17.9/configure 2008-09-08 15:57:36.000000000 +0200
+++ new/autoyast2-2.17.10/configure 2008-09-10 17:23:41.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for autoyast2 2.17.9.
+# Generated by GNU Autoconf 2.61 for autoyast2 2.17.10.
#
# Report bugs to <http://bugs.opensuse.org/>.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='autoyast2'
PACKAGE_TARNAME='autoyast2'
-PACKAGE_VERSION='2.17.9'
-PACKAGE_STRING='autoyast2 2.17.9'
+PACKAGE_VERSION='2.17.10'
+PACKAGE_STRING='autoyast2 2.17.10'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'

ac_unique_file="RPMNAME"
@@ -1205,7 +1205,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures autoyast2 2.17.9 to adapt to many kinds of systems.
+\`configure' configures autoyast2 2.17.10 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

@@ -1276,7 +1276,7 @@

if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of autoyast2 2.17.9:";;
+ short | recursive ) echo "Configuration of autoyast2 2.17.10:";;
esac
cat <<\_ACEOF

@@ -1354,7 +1354,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-autoyast2 configure 2.17.9
+autoyast2 configure 2.17.10
generated by GNU Autoconf 2.61

Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1368,7 +1368,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

-It was created by autoyast2 $as_me 2.17.9, which was
+It was created by autoyast2 $as_me 2.17.10, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ $0 $@
@@ -2189,7 +2189,7 @@

# Define the identity of the package.
PACKAGE='autoyast2'
- VERSION='2.17.9'
+ VERSION='2.17.10'


cat >>confdefs.h <<_ACEOF
@@ -2417,7 +2417,7 @@



-VERSION="2.17.9"
+VERSION="2.17.10"
RPMNAME="autoyast2"
MAINTAINER="Uwe Gansert <ug@xxxxxxx>"

@@ -3430,7 +3430,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by autoyast2 $as_me 2.17.9, which was
+This file was extended by autoyast2 $as_me 2.17.10, which was
generated by GNU Autoconf 2.61. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
@@ -3473,7 +3473,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-autoyast2 config.status 2.17.9
+autoyast2 config.status 2.17.10
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //;
s/[\\""\`\$]/\\\\&/g'`\\"

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/autoyast2-2.17.9/configure.in
new/autoyast2-2.17.10/configure.in
--- old/autoyast2-2.17.9/configure.in 2008-09-08 15:57:30.000000000 +0200
+++ new/autoyast2-2.17.10/configure.in 2008-09-10 17:23:36.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.7 - DO NOT EDIT! --
dnl (edit configure.in.in instead)

-AC_INIT(autoyast2, 2.17.9, http://bugs.opensuse.org/, autoyast2)
+AC_INIT(autoyast2, 2.17.10, http://bugs.opensuse.org/, autoyast2)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])

@@ -18,7 +18,7 @@
AM_INIT_AUTOMAKE(tar-ustar -Wno-portability)

dnl Important YaST2 variables
-VERSION="2.17.9"
+VERSION="2.17.10"
RPMNAME="autoyast2"
MAINTAINER="Uwe Gansert <ug@xxxxxxx>"

diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/autoyast2-2.17.9/doc/CreateProfileDetails.xml
new/autoyast2-2.17.10/doc/CreateProfileDetails.xml
--- old/autoyast2-2.17.9/doc/CreateProfileDetails.xml 2008-09-02
13:27:27.000000000 +0200
+++ new/autoyast2-2.17.10/doc/CreateProfileDetails.xml 2008-09-09
12:06:47.000000000 +0200
@@ -70,7 +70,7 @@
<emphasis>confirm</emphasis> option to true.
</para>
<para>
- This is the list of proposals for openSUSE 11.1 are:
+ This is the list of proposals for openSUSE 11.1 are (you can find that
in the control.xml on the installation source too):
<itemizedlist>
<listitem>
<para>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/autoyast2-2.17.9/src/dialogs/general_dialogs.ycp
new/autoyast2-2.17.10/src/dialogs/general_dialogs.ycp
--- old/autoyast2-2.17.9/src/dialogs/general_dialogs.ycp 2008-04-29
16:33:52.000000000 +0200
+++ new/autoyast2-2.17.10/src/dialogs/general_dialogs.ycp 2008-09-10
17:18:27.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: General Settings
* Author: Anas Nashif <nashif@xxxxxxx>
*
- * $Id: general_dialogs.ycp 47164 2008-04-29 14:33:51Z ug $
+ * $Id: general_dialogs.ycp 50983 2008-09-10 15:18:31Z ug $
*/
{
textdomain "autoinst";
@@ -304,7 +304,7 @@
`MultiLineEdit( `id( `help ), _("Helptext"), help ),
`HBox(
`PushButton( `id( `addDialog ), `opt( `default,
`hstretch ), _("Add to Dialog List") ),
- `PushButton( `id( `applyDialog ), `opt( `default,
`hstretch ), _("Apply Changes to Dialog") )
+ `PushButton( `id( `applyDialog ), `opt( `default,
`hstretch ), _("Apply changes to dialog") )
),
`MinSize( 10,5,
`Table(
@@ -317,7 +317,7 @@
`PushButton( `id( `dialogUp ), `opt( `default,
`hstretch ), _("Dialog Up") ),
`PushButton( `id( `dialogDown ), `opt( `default,
`hstretch ), _("Dialog Down") )
),
- `Label( _("Questions in Dialog") ),
+ `Label( _("Questions in dialog") ),
`MinSize( 10,5,
`Table(
`id(`questions),
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/autoyast2-2.17.9/src/dialogs/PartitionDialog.ycp
new/autoyast2-2.17.10/src/dialogs/PartitionDialog.ycp
--- old/autoyast2-2.17.9/src/dialogs/PartitionDialog.ycp 2008-06-19
15:00:15.000000000 +0200
+++ new/autoyast2-2.17.10/src/dialogs/PartitionDialog.ycp 2008-09-10
17:17:23.000000000 +0200
@@ -168,7 +168,7 @@
(boolean)
UI::QueryWidget(`id(`resizePartition),`Value));
if( `keep == (symbol) UI::QueryWidget(`id(`cbFileSystem), `Value ) ){
if( ! reUse && lvmGroup == "" ){ /* for PV's its ok to have no fs */
- Popup::Warning( _("You selected to create the partition but you did
not select a valid file system.") );
+ Popup::Warning( _("You selected to create the partition but you did
not select a valid file system.\nPlease select a valid filesystem to
continue.") );
}
part = AutoinstPartition::set( part, "format", false);
part = AutoinstPartition::set( part, "filesystem",`Empty);
@@ -360,8 +360,8 @@
currentPartition["partition_nr"]:0),
`HStretch(),
`VBox(
- `Left(`CheckBox(`id(`reusePartition),`opt(`notify),_("Reuse
e&xisting Partition"))),
-
`Left(`CheckBox(`id(`resizePartition),`opt(`notify),_("Res&ize existing
Partition")))
+ `Left(`CheckBox(`id(`reusePartition),`opt(`notify),_("Reuse
e&xisting partition"))),
+
`Left(`CheckBox(`id(`resizePartition),`opt(`notify),_("Res&ize existing
partition")))
) /* VBox */
),/* HBox */
`VSpacing(1),
@@ -420,7 +420,7 @@
UI::ChangeWidget(`id(`size), `Enabled, false);
}
else{
- Popup::Error(_("Size \"auto\" is only valid if mount point
\"/boot\" are \"swap\" is selected"));
+ Popup::Error(_("Size \"auto\" is only valid if mount point
\"/boot\" or \"swap\" is selected"));
UI::ChangeWidget(`id(`size), `Enabled, true);
UI::ChangeWidget(`id(`unit), `Value, `GB );
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/autoyast2-2.17.9/src/modules/AutoinstPartPlan.ycp
new/autoyast2-2.17.10/src/modules/AutoinstPartPlan.ycp
--- old/autoyast2-2.17.9/src/modules/AutoinstPartPlan.ycp 2008-09-04
14:31:14.000000000 +0200
+++ new/autoyast2-2.17.10/src/modules/AutoinstPartPlan.ycp 2008-09-10
17:17:23.000000000 +0200
@@ -292,7 +292,7 @@
* the next instructions taints result
*/
if( ! found ){
- Popup::Error(sformat( _("Volume group '%1' has no physical volumes.
Please provide one"), volGroupName) );
+ Popup::Error(sformat( _("Volume group '%1' must have at least one
physical volume. Please provide one."), volGroupName) );
}
sane = found;
});
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/autoyast2-2.17.9/src/modules/AutoinstSoftware.ycp
new/autoyast2-2.17.10/src/modules/AutoinstSoftware.ycp
--- old/autoyast2-2.17.9/src/modules/AutoinstSoftware.ycp 2008-09-04
14:31:14.000000000 +0200
+++ new/autoyast2-2.17.10/src/modules/AutoinstSoftware.ycp 2008-09-10
10:39:20.000000000 +0200
@@ -4,7 +4,7 @@
* Summary: Software
* Authors: Anas Nashif <nashif@xxxxxxx>
*
- * $Id: AutoinstSoftware.ycp 50664 2008-09-04 12:32:05Z ug $
+ * $Id: AutoinstSoftware.ycp 50924 2008-09-10 08:39:23Z ug $
*
*/
{
@@ -51,7 +51,7 @@
global boolean modified = false;

global list<string> inst = [];
- global map<string,boolean> fulfilled_cache = $[];
+ global list<map<string,any> > all_xpatterns = [];

/**
* Function sets internal variable, which indicates, that any
@@ -451,43 +451,6 @@
AutoinstData::post_packages =
(list<string>)toset(union(calcpost,AutoinstData::post_packages));
return;
}
-
- global define boolean isPatternFulfilled( string p ) {
- boolean ret = true;
- if( haskey( fulfilled_cache, p ) )
- return fulfilled_cache[p]:false;
- list<map<string,any> > all_xpatterns = Pkg::ResolvableDependencies
("", `pattern, "");
-
- foreach( map<string,any> dep, all_xpatterns, ``{
- if( ret == true && dep["name"]:"" == p ) {
- foreach( map<string,string> dep2, dep["dependencies"]:[], ``{
- if( dep2["dep_kind"]:"" == "requires" ) {
- if( dep2["res_kind"]:"" == "package" && !contains(
inst, dep2["name"]:"" ) ) {
- ret = false;
- break;
- } else if( dep2["res_kind"]:"" == "pattern" &&
!isPatternFulfilled( dep2["name"]:"" ) ) {
- ret = false;
- break;
- }
- }
- });
- }
- });
- fulfilled_cache[p] = ret;
- return ret;
- }
-
- global define list<string> getPatterns() {
- list<string> ret = [];
- list<map<string,any> > all_patterns = Pkg::ResolvableProperties ("",
`pattern, "");
-
- foreach( map<string,any> m, all_patterns, ``{
- if( !contains(ret, m["name"]:"") && isPatternFulfilled(
m["name"]:"" ) )
- ret = add( ret, m["name"]:"" );
- });
- return ret;
- }
-

/**
* Return list of software packages of calling client
@@ -498,21 +461,30 @@
*/
global define map<string, any > ReadHelper()
{
-// boolean ret = Pkg::TargetInit("/", false);
- Pkg::TargetInitialize ("/");
+ boolean ret = Pkg::TargetInit("/", false);
+// Pkg::TargetInitialize ("/");
Pkg::TargetLoad();
Pkg::SourceStartManager (true);
+ Pkg::PkgSolve(false);

inst = Pkg::GetPackages(`installed, true);
list<map<string,any> > all_patterns = Pkg::ResolvableProperties ("",
`pattern, "");
- list<map<string,any> > all_xpatterns = Pkg::ResolvableDependencies
("", `pattern, "");
+ all_xpatterns = Pkg::ResolvableDependencies ("", `pattern, "");
list<string> patterns = [];
+ list<string> visible_patterns = [];

- // get all fulfilled patterns
- // way too many will be fulfilled
- // we will clean that up later
- patterns = getPatterns();
-
+ list<map> patternsFullData = filter( map p,
Pkg::ResolvableProperties("", `pattern, ""), ``{
+ boolean ret = false;
+ if( p["status"]:`none == `installed && p["user_visible"]:true
== true ) {
+ patterns = add( patterns, p["name"]:"no name" );
+ visible_patterns = add( visible_patterns,
p["name"]:"no name" );
+ ret = true;
+ } else if( p["status"]:`none == `installed &&
p["user_visible"]:true == false ) {
+ patterns = add( patterns, p["name"]:"no name" );
+ ret = true;
+ }
+ return ret;
+ });
Pkg::TargetFinish ();

string tmproot = AutoinstConfig::tmpDir;
@@ -534,6 +506,7 @@
list<map<string,any> > xpattern = filter( map<string,any> p,
all_xpatterns, ``( p["name"]:"" == tmp_pattern ) );
map<string,any> found = xpattern[0]:$[];
boolean req = false;
+ // kick out hollow patterns (always fullfilled patterns)
foreach( map<string,any> d, found["dependencies"]:[], ``{
if( d["res_kind"]:"" == "package" && d["dep_kind"]:"" ==
"requires" ) {
patternPackages = add(patternPackages, d["name"]:"");
@@ -541,6 +514,8 @@
}
});
// workaround for our pattern design
+ // a pattern with no requires at all is always fullfilled of course
+ // you can fullfill the games pattern with no games installed at
all
if( req == true )
new_p = add( new_p, tmp_pattern );
});
@@ -560,7 +535,7 @@
}

software["packages"] = sort( filter(string pkg, userpackages, ``(!
regexpmatch(pkg, "kernel-.*") || pkg == "kernel-uml")) );
- software["patterns"] = sort( patterns );
+ software["patterns"] = sort( visible_patterns );
software["remove-packages"] = sort( removepackages );
return software;
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn
--exclude=.svnignore old/autoyast2-2.17.9/VERSION new/autoyast2-2.17.10/VERSION
--- old/autoyast2-2.17.9/VERSION 2008-09-08 15:57:23.000000000 +0200
+++ new/autoyast2-2.17.10/VERSION 2008-09-10 17:23:30.000000000 +0200
@@ -1 +1 @@
-2.17.9
+2.17.10


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >