Hello community,
here is the log from the commit of package yast2-packager
checked in at Thu Mar 29 01:10:30 CEST 2007.
--------
--- yast2-packager/yast2-packager.changes 2007-03-22 10:41:12.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-packager/yast2-packager.changes 2007-03-28 17:07:19.000000000 +0200
@@ -1,0 +2,16 @@
+Wed Mar 28 17:06:38 CEST 2007 - locilka@suse.cz
+
+- Moved some testsuites from yast2-packager to yast2
+- 2.15.26
+
+-------------------------------------------------------------------
+Wed Mar 28 15:54:18 CEST 2007 - locilka@suse.cz
+
+- Most of the AddOnProduct functionality has been made more
+ abstract and moved to a new module WorkflowManager to yast2.rpm
+ in order to make possible Pattern-based workflow (FATE #129).
+- Adjusted RPM requierements and BuildRequires
+- Adjusted testsuites
+- 2.15.25
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.15.24.tar.bz2
New:
----
yast2-packager-2.15.26.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.l30705/_old 2007-03-29 01:09:06.000000000 +0200
+++ /var/tmp/diff_new_pack.l30705/_new 2007-03-29 01:09:06.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.15.24)
+# spec file for package yast2-packager (Version 2.15.26)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -11,20 +11,21 @@
# norootforbuild
Name: yast2-packager
-Version: 2.15.24
+Version: 2.15.26
Release: 1
License: GNU General Public License (GPL)
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.15.24.tar.bz2
+Source0: yast2-packager-2.15.26.tar.bz2
prefix: /usr
-BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-country yast2-devtools yast2-slp yast2-testsuite yast2-xml
+BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2-country yast2-devtools yast2-slp yast2-testsuite yast2-xml
+BuildRequires: yast2 >= 2.15.22
Requires: yast2-country
Requires: yast2-installation >= 2.15.12
# get/set alias using Pkg::EditSourceGet/Set()
Requires: yast2-pkg-bindings >= 2.15.12
-# URL::FormatURL()
-Requires: yast2 >= 2.15.10
+# WorkflowManager module
+Requires: yast2 >= 2.15.22
# unzipping license file
Requires: unzip
Provides: yast2-config-package-manager
@@ -48,7 +49,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.15.24
+%setup -n yast2-packager-2.15.26
%build
%{prefix}/bin/y2tool y2autoconf
@@ -87,6 +88,16 @@
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog
+* Wed Mar 28 2007 - locilka@suse.cz
+- Moved some testsuites from yast2-packager to yast2
+- 2.15.26
+* Wed Mar 28 2007 - locilka@suse.cz
+- Most of the AddOnProduct functionality has been made more
+ abstract and moved to a new module WorkflowManager to yast2.rpm
+ in order to make possible Pattern-based workflow (FATE #129).
+- Adjusted RPM requierements and BuildRequires
+- Adjusted testsuites
+- 2.15.25
* Thu Mar 22 2007 - lslezak@suse.cz
- display remaining unconfirmed licenses of selected packages
(#242298)
++++++ yast2-packager-2.15.24.tar.bz2 -> yast2-packager-2.15.26.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.24/configure new/yast2-packager-2.15.26/configure
--- old/yast2-packager-2.15.24/configure 2007-03-22 10:32:38.000000000 +0100
+++ new/yast2-packager-2.15.26/configure 2007-03-28 16:36:30.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.60 for yast2-packager 2.15.24.
+# Generated by GNU Autoconf 2.60 for yast2-packager 2.15.25.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -559,8 +559,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-packager'
PACKAGE_TARNAME='yast2-packager'
-PACKAGE_VERSION='2.15.24'
-PACKAGE_STRING='yast2-packager 2.15.24'
+PACKAGE_VERSION='2.15.25'
+PACKAGE_STRING='yast2-packager 2.15.25'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1181,7 +1181,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 yast2-packager 2.15.24 to adapt to many kinds of systems.
+\`configure' configures yast2-packager 2.15.25 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1252,7 +1252,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-packager 2.15.24:";;
+ short | recursive ) echo "Configuration of yast2-packager 2.15.25:";;
esac
cat <<\_ACEOF
@@ -1330,7 +1330,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-packager configure 2.15.24
+yast2-packager configure 2.15.25
generated by GNU Autoconf 2.60
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1344,7 +1344,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by yast2-packager $as_me 2.15.24, which was
+It was created by yast2-packager $as_me 2.15.25, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ $0 $@
@@ -2145,7 +2145,7 @@
# Define the identity of the package.
PACKAGE='yast2-packager'
- VERSION='2.15.24'
+ VERSION='2.15.25'
cat >>confdefs.h <<_ACEOF
@@ -2372,7 +2372,7 @@
-VERSION="2.15.24"
+VERSION="2.15.25"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
@@ -3260,7 +3260,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-packager $as_me 2.15.24, which was
+This file was extended by yast2-packager $as_me 2.15.25, which was
generated by GNU Autoconf 2.60. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3303,7 +3303,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-packager config.status 2.15.24
+yast2-packager config.status 2.15.25
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.24/configure.in new/yast2-packager-2.15.26/configure.in
--- old/yast2-packager-2.15.24/configure.in 2007-03-22 10:32:32.000000000 +0100
+++ new/yast2-packager-2.15.26/configure.in 2007-03-28 16:36:23.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.14.0 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-packager, 2.15.24, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.15.25, http://bugs.opensuse.org/, yast2-packager)
dnl Check for presence of file 'RPMNAME'
AC_CONFIG_SRCDIR([RPMNAME])
@@ -17,7 +17,7 @@
AM_INIT_AUTOMAKE(tar-ustar) dnl searches for some needed programs
dnl Important YaST2 variables
-VERSION="2.15.24"
+VERSION="2.15.25"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.24/src/modules/AddOnProduct.ycp new/yast2-packager-2.15.26/src/modules/AddOnProduct.ycp
--- old/yast2-packager-2.15.24/src/modules/AddOnProduct.ycp 2007-03-19 12:55:23.000000000 +0100
+++ new/yast2-packager-2.15.26/src/modules/AddOnProduct.ycp 2007-03-28 09:05:42.000000000 +0200
@@ -34,6 +34,8 @@
import "ProductLicense";
import "FileUtils";
import "Directory";
+import "String";
+import "WorkflowManager";
// variables for installation with product
/**
@@ -76,31 +78,9 @@
*/
global symbol last_ret = nil;
-/**
- * List of used control files, to be copied to target system
- */
-global list<string> control_files_to_add = [];
-
-/**
- * Items if add-on product to be performed at the start of inst_finish
- */
-global list<string> finish_steps_before_chroot = [];
-
-/**
- * Items of add-on product to be performed after swictching to chroot
- */
-global list<string> finish_steps_after_chroot = [];
-
-/**
- * Items of add-on product to be performed before unmounting disks
- */
-global list<string> finish_steps_before_umount = [];
-
global boolean modified = false;
-global list<integer> mode_config_sources = [];
-
-global boolean RedrawWizardSteps ();
+global list <integer> mode_config_sources = [];
/**
* Adapts the inst-sys from the tarball
@@ -127,590 +107,6 @@
}
/**
- * Check all proposals, split those ones which have multiple modes or
- * architectures or stages into multiple proposals
- * @param proposals a list of proposals
- * @return a list of updated proposals
- */
-list<map> PrepareProposals(list<map> proposals) {
- list<map> new_proposals = [];
- foreach (map p, proposals, {
- string mode = p["mode"]:"";
- list<string> modes = splitstring (mode, ",");
- if (size(modes) == 0)
- modes = [""];
- foreach (string m, modes, {
- map mp = p;
- mp["mode"] = m;
- string arch = p["archs"]:"";
- list<string> archs = splitstring (arch, ",");
- if (size(archs) == 0)
- archs = [""];
- foreach (string a, archs, {
- map amp = mp;
- amp["archs"] = a;
- string stage = amp["stage"]:"";
- list<string> stages = splitstring(stage, ",");
- if (size (stages) == 0)
- stages = [""];
- foreach (string s, stages, {
- map samp = amp;
- samp["stage"] = s;
- new_proposals = add (new_proposals, samp);
- });
- });
- });
- });
- return new_proposals;
-}
-
-/**
- * Check all proposals, split those ones which have multiple modes or
- * architectures or stages into multiple proposals.
- * Works with base product proposals.
- */
-void PrepareSystemProposals() {
- if (system_proposals_prepared)
- return;
- ProductControl::proposals = PrepareProposals(ProductControl::proposals);
- system_proposals_prepared = true;
-}
-
-/**
- * Check all workflows, split those ones which have multiple modes or
- * architectures or stages into multiple workflows
- * @param workflows a list of workflows
- * @return a list of updated workflows
- */
-list<map> PrepareWorkflows(list<map> workflows) {
- list<map> new_workflows = [];
- foreach (map w, workflows, {
- string mode = w["mode"]:"";
- list<string> modes = splitstring (mode, ",");
- if (size(modes) == 0)
- modes = [""];
- foreach (string m, modes, {
- map mw = w;
- mw["mode"] = m;
- mw["defaults"] = mw["defaults"]:$[];
- string arch = mw["defaults", "archs"]:"";
- list<string> archs = splitstring (arch, ",");
- if (size(archs) == 0)
- archs = [""];
- foreach (string a, archs, {
- map amw = mw;
- amw["defaults", "archs"] = a;
- string stage = amw["stage"]:"";
- list<string> stages = splitstring(stage, ",");
- if (size (stages) == 0)
- stages = [""];
- foreach (string s, stages, {
- map samw = amw;
- samw["stage"] = s;
- new_workflows = add (new_workflows, samw);
- });
- });
- });
- });
- return new_workflows;
-}
-
-/**
- * Check all workflows, split those ones which have multiple modes or
- * architectures or stages into multiple worlflows.
- * Works with base product workflows.
- */
-void PrepareSystemWorkflows() {
- if (system_workflows_prepared)
- return;
- ProductControl::workflows = PrepareWorkflows(ProductControl::workflows);
- system_workflows_prepared = true;
-}
-
-list <map> AddOnProduct::initial_workflows = [];
-list <map> AddOnProduct::initial_proposals = [];
-list