Hello community,
here is the log from the commit of package yast2-packager
checked in at Mon Sep 8 17:03:06 CEST 2008.
--------
--- yast2-packager/yast2-packager.changes 2008-09-08 10:35:10.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-packager/yast2-packager.changes 2008-09-08 16:54:00.301562000 +0200
@@ -1,0 +2,14 @@
+Mon Sep 8 16:36:40 CEST 2008 - lslezak@suse.cz
+
+- preliminary support for sevices - display a tree on the left side
+ (does not work yet), print to which service the selected
+ repository belongs
+- 2.17.11
+
+-------------------------------------------------------------------
+Mon Sep 8 13:29:25 CEST 2008 - locilka@suse.cz
+
+- Less confusing Add-On update/installation mode handling
+ independent on the base-product mode (FATE #301997).
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.17.10.tar.bz2
New:
----
yast2-packager-2.17.11.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.AT7682/_old 2008-09-08 17:02:53.000000000 +0200
+++ /var/tmp/diff_new_pack.AT7682/_new 2008-09-08 17:02:53.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.17.10)
+# spec file for package yast2-packager (Version 2.17.11)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-packager
-Version: 2.17.10
+Version: 2.17.11
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.17.10.tar.bz2
+Source0: yast2-packager-2.17.11.tar.bz2
Prefix: /usr
BuildRequires: gcc-c++ libxcrypt-devel perl-XML-Writer update-desktop-files yast2-country-data yast2-devtools yast2-slp yast2-testsuite yast2-xml
# HTTP.ycp
@@ -80,7 +80,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.17.10
+%setup -n yast2-packager-2.17.11
%build
%{prefix}/bin/y2tool y2autoconf
@@ -116,6 +116,14 @@
%{prefix}/lib/YaST2/servers_non_y2/ag_*
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog
+* Mon Sep 08 2008 lslezak@suse.cz
+- preliminary support for sevices - display a tree on the left side
+ (does not work yet), print to which service the selected
+ repository belongs
+- 2.17.11
+* Mon Sep 08 2008 locilka@suse.cz
+- Less confusing Add-On update/installation mode handling
+ independent on the base-product mode (FATE #301997).
* Mon Sep 08 2008 locilka@suse.cz
- Initializing the installation repository got from install.inf in
this order: ZyppRepoURL, YaSTRepoURL, RepoURL (bnc #406162).
++++++ yast2-packager-2.17.10.tar.bz2 -> yast2-packager-2.17.11.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.17.10/configure new/yast2-packager-2.17.11/configure
--- old/yast2-packager-2.17.10/configure 2008-09-08 10:39:20.000000000 +0200
+++ new/yast2-packager-2.17.11/configure 2008-09-08 16:50:18.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for yast2-packager 2.17.10.
+# Generated by GNU Autoconf 2.61 for yast2-packager 2.17.11.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-packager'
PACKAGE_TARNAME='yast2-packager'
-PACKAGE_VERSION='2.17.10'
-PACKAGE_STRING='yast2-packager 2.17.10'
+PACKAGE_VERSION='2.17.11'
+PACKAGE_STRING='yast2-packager 2.17.11'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1197,7 +1197,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.17.10 to adapt to many kinds of systems.
+\`configure' configures yast2-packager 2.17.11 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1268,7 +1268,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-packager 2.17.10:";;
+ short | recursive ) echo "Configuration of yast2-packager 2.17.11:";;
esac
cat <<\_ACEOF
@@ -1346,7 +1346,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-packager configure 2.17.10
+yast2-packager configure 2.17.11
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1360,7 +1360,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.17.10, which was
+It was created by yast2-packager $as_me 2.17.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2181,7 +2181,7 @@
# Define the identity of the package.
PACKAGE='yast2-packager'
- VERSION='2.17.10'
+ VERSION='2.17.11'
cat >>confdefs.h <<_ACEOF
@@ -2409,7 +2409,7 @@
-VERSION="2.17.10"
+VERSION="2.17.11"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
@@ -3304,7 +3304,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.17.10, which was
+This file was extended by yast2-packager $as_me 2.17.11, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3347,7 +3347,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-packager config.status 2.17.10
+yast2-packager config.status 2.17.11
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/yast2-packager-2.17.10/configure.in new/yast2-packager-2.17.11/configure.in
--- old/yast2-packager-2.17.10/configure.in 2008-09-08 10:39:17.000000000 +0200
+++ new/yast2-packager-2.17.11/configure.in 2008-09-08 16:50:13.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-packager
dnl
-dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.17.3 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-packager, 2.17.10, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.17.11, http://bugs.opensuse.org/, yast2-packager)
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.10"
+VERSION="2.17.11"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.17.10/src/clients/repositories.ycp new/yast2-packager-2.17.11/src/clients/repositories.ycp
--- old/yast2-packager-2.17.10/src/clients/repositories.ycp 2008-09-05 14:54:31.000000000 +0200
+++ new/yast2-packager-2.17.11/src/clients/repositories.ycp 2008-09-08 16:41:56.000000000 +0200
@@ -7,7 +7,7 @@
* Purpose:
* Adding, removing and prioritizing of repositories for packagemanager.
*
- * $Id: repositories.ycp 50737 2008-09-05 12:11:35Z lslezak $
+ * $Id: repositories.ycp 50812 2008-09-08 14:41:56Z lslezak $
*
*/
@@ -42,9 +42,17 @@
boolean full_mode = false;
+ // cache for textmode value
+ boolean text_mode = nil;
+
boolean textmode()
{
- return Mode::commandline() ? true : UI::GetDisplayInfo()["TextMode"]:false;
+ if (text_mode == nil)
+ {
+ text_mode = Mode::commandline() ? true : UI::GetDisplayInfo()["TextMode"]:false;
+ }
+
+ return text_mode;
}
integer numSources = 0;
@@ -59,6 +67,12 @@
// default (minimal) priority of a repository
const integer default_priority = 99;
+ // current view:
+ // selected service (or empty) if all services are selected
+ string displayed_service = "";
+ // service/repository view flag
+ boolean repository_view = true;
+
void RemoveDeletedAddNewRepos () {
list