Hello community,
here is the log from the commit of package yast2-pkg-bindings
checked in at Thu Sep 25 23:54:32 CEST 2008.
--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes 2008-09-25 14:14:10.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-pkg-bindings/yast2-pkg-bindings.changes 2008-09-25 17:56:36.805214000 +0200
@@ -1,0 +2,14 @@
+Thu Sep 25 17:54:02 CEST 2008 - lslezak@suse.cz
+
+- removed another usage of the old logging (bnc#429954)
+- 2.17.15
+
+-------------------------------------------------------------------
+Thu Sep 25 17:31:46 CEST 2008 - lslezak@suse.cz
+
+- Pkg::TargetLogfile() is obsoleted, the log file is now entirely
+ handled by libzypp. The function does nothing now. (bnc#429954)
+ See also http://en.opensuse.org/Libzypp/Package_History
+- 2.17.14
+
+-------------------------------------------------------------------
Old:
----
yast2-pkg-bindings-2.17.13.tar.bz2
New:
----
yast2-pkg-bindings-2.17.15.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.I15601/_old 2008-09-25 23:54:25.000000000 +0200
+++ /var/tmp/diff_new_pack.I15601/_new 2008-09-25 23:54:25.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings-devel-doc (Version 2.17.13)
+# spec file for package yast2-pkg-bindings-devel-doc (Version 2.17.15)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-pkg-bindings-devel-doc
-Version: 2.17.13
+Version: 2.17.15
Release: 1
License: GPL v2 or later
Group: Documentation/HTML
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.17.13.tar.bz2
+Source0: yast2-pkg-bindings-2.17.15.tar.bz2
Prefix: %_prefix
# same as in the main package (because we use the same configure.in.in)
BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen gcc-c++ libgcrypt-devel libxcrypt-devel libxslt libzypp-devel perl-XML-Writer sgml-skel yast2-core-devel yast2-devtools
@@ -45,7 +45,7 @@
Ladislav Slez�k
%prep
-%setup -n yast2-pkg-bindings-2.17.13
+%setup -n yast2-pkg-bindings-2.17.15
# build only documentation, ignore all other directories
echo "doc" > SUBDIRS
@@ -76,6 +76,7 @@
%dir %{prefix}/share/doc/packages/yast2-pkg-bindings
%exclude %{prefix}/share/doc/packages/yast2-pkg-bindings/COPYING
%exclude %{prefix}/share/doc/packages/yast2-pkg-bindings/README
+
%changelog
* Fri May 16 2008 lslezak@suse.cz
- documented lock API
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.I15601/_old 2008-09-25 23:54:25.000000000 +0200
+++ /var/tmp/diff_new_pack.I15601/_new 2008-09-25 23:54:25.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings (Version 2.17.13)
+# spec file for package yast2-pkg-bindings (Version 2.17.15)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-pkg-bindings
-Version: 2.17.13
+Version: 2.17.15
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.17.13.tar.bz2
+Source0: yast2-pkg-bindings-2.17.15.tar.bz2
Prefix: /usr
BuildRequires: blocxx-devel docbook-xsl-stylesheets doxygen gcc-c++ libgcrypt-devel libxcrypt-devel libxslt perl-XML-Writer sgml-skel yast2-core-devel yast2-devtools
BuildRequires: libzypp-devel >= 5.10.0
@@ -47,7 +47,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-pkg-bindings-2.17.13
+%setup -n yast2-pkg-bindings-2.17.15
# build only the library, ignore documentation (it is in devel-doc package)
echo "src" > SUBDIRS
@@ -78,8 +78,17 @@
%{_libdir}/YaST2/plugin/libpy2Pkg.so.*
%{_libdir}/YaST2/plugin/libpy2Pkg.so
%doc %{prefix}/share/doc/packages/yast2-pkg-bindings
+
%changelog
* Thu Sep 25 2008 lslezak@suse.cz
+- removed another usage of the old logging (bnc#429954)
+- 2.17.15
+* Thu Sep 25 2008 lslezak@suse.cz
+- Pkg::TargetLogfile() is obsoleted, the log file is now entirely
+ handled by libzypp. The function does nothing now. (bnc#429954)
+ See also http://en.opensuse.org/Libzypp/Package_History
+- 2.17.14
+* Thu Sep 25 2008 lslezak@suse.cz
- added Pkg::SourceProvideSignedDirectory() to check the signatures
of the downloaded files (bnc#409927)
- 2.17.13
++++++ yast2-pkg-bindings-2.17.13.tar.bz2 -> yast2-pkg-bindings-2.17.15.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.13/configure new/yast2-pkg-bindings-2.17.15/configure
--- old/yast2-pkg-bindings-2.17.13/configure 2008-09-25 13:57:04.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.15/configure 2008-09-25 17:55:55.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-pkg-bindings 2.17.13.
+# Generated by GNU Autoconf 2.61 for yast2-pkg-bindings 2.17.15.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -728,8 +728,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-pkg-bindings'
PACKAGE_TARNAME='yast2-pkg-bindings'
-PACKAGE_VERSION='2.17.13'
-PACKAGE_STRING='yast2-pkg-bindings 2.17.13'
+PACKAGE_VERSION='2.17.15'
+PACKAGE_STRING='yast2-pkg-bindings 2.17.15'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1453,7 +1453,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-pkg-bindings 2.17.13 to adapt to many kinds of systems.
+\`configure' configures yast2-pkg-bindings 2.17.15 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1524,7 +1524,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-pkg-bindings 2.17.13:";;
+ short | recursive ) echo "Configuration of yast2-pkg-bindings 2.17.15:";;
esac
cat <<\_ACEOF
@@ -1636,7 +1636,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-pkg-bindings configure 2.17.13
+yast2-pkg-bindings configure 2.17.15
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1650,7 +1650,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-pkg-bindings $as_me 2.17.13, which was
+It was created by yast2-pkg-bindings $as_me 2.17.15, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2471,7 +2471,7 @@
# Define the identity of the package.
PACKAGE='yast2-pkg-bindings'
- VERSION='2.17.13'
+ VERSION='2.17.15'
cat >>confdefs.h <<_ACEOF
@@ -2699,7 +2699,7 @@
-VERSION="2.17.13"
+VERSION="2.17.15"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
@@ -21700,7 +21700,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-pkg-bindings $as_me 2.17.13, which was
+This file was extended by yast2-pkg-bindings $as_me 2.17.15, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21753,7 +21753,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-pkg-bindings config.status 2.17.13
+yast2-pkg-bindings config.status 2.17.15
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-pkg-bindings-2.17.13/configure.in new/yast2-pkg-bindings-2.17.15/configure.in
--- old/yast2-pkg-bindings-2.17.13/configure.in 2008-09-25 13:56:49.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.15/configure.in 2008-09-25 17:55:42.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.3 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-pkg-bindings, 2.17.13, http://bugs.opensuse.org/, yast2-pkg-bindings)
+AC_INIT(yast2-pkg-bindings, 2.17.15, http://bugs.opensuse.org/, yast2-pkg-bindings)
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.13"
+VERSION="2.17.15"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.13/src/Package.cc new/yast2-pkg-bindings-2.17.15/src/Package.cc
--- old/yast2-pkg-bindings-2.17.13/src/Package.cc 2008-09-24 14:55:47.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.15/src/Package.cc 2008-09-25 17:51:25.000000000 +0200
@@ -2089,14 +2089,6 @@
try
{
- // if the target log is not set use the default to not loose the information
- if (!target_log_set)
- {
- std::string default_path(_target_root.asString() + "/var/log/YaST2/y2logRPM");
- y2warning("Pkg::TargetLogFile() has not been called, using %s for logging", default_path.c_str());
- zypp_ptr()->target()->setInstallationLogfile(default_path);
- }
-
zypp::ZYppCommitPolicy policy;
policy.restrictToMedia( medianr );
result = zypp_ptr()->commit(policy);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.13/src/PkgFunctions.cc new/yast2-pkg-bindings-2.17.15/src/PkgFunctions.cc
--- old/yast2-pkg-bindings-2.17.13/src/PkgFunctions.cc 2008-09-24 10:46:36.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.15/src/PkgFunctions.cc 2008-09-25 17:51:03.000000000 +0200
@@ -60,7 +60,6 @@
, _target_loaded(false)
, zypp_pointer(NULL)
,_callbackHandler( *new CallbackHandler(*this) )
- ,target_log_set(false)
, base_product(NULL)
{
const char *domain = "pkg-bindings";
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.13/src/PkgFunctions.h new/yast2-pkg-bindings-2.17.15/src/PkgFunctions.h
--- old/yast2-pkg-bindings-2.17.13/src/PkgFunctions.h 2008-09-25 13:25:28.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.15/src/PkgFunctions.h 2008-09-25 17:50:54.000000000 +0200
@@ -184,8 +184,6 @@
PkgError _last_error;
- bool target_log_set;
-
ServiceManager service_manager;
zypp::Product::constPtr base_product;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.13/src/Target.cc new/yast2-pkg-bindings-2.17.15/src/Target.cc
--- old/yast2-pkg-bindings-2.17.13/src/Target.cc 2008-09-19 10:37:33.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.15/src/Target.cc 2008-09-25 17:25:34.000000000 +0200
@@ -137,27 +137,15 @@
/** ------------------------
*
- * @builtin TargetLogfile
- * @short init logfile for target
+ * @builtin TargetLogfile - obsoleted, do not use!
* @param string name
* @return boolean
*/
YCPBoolean
PkgFunctions::TargetLogfile (const YCPString& name)
{
- try
- {
- bool ret = zypp_ptr()->target()->setInstallationLogfile (name->value());
- target_log_set = true;
- return YCPBoolean(ret);
- }
- catch (zypp::Exception & excpt)
- {
- _last_error.setLastError(ExceptionAsString(excpt));
- y2error("TargetLogfile has failed: %s", excpt.asString().c_str());
- return YCPBoolean(false);
- }
- return YCPBoolean (true); // never reached
+ y2warning("Pkg::TargetLogfile() is obsoleted, the log file is now entirely handled by libzypp. See http://en.opensuse.org/Libzypp/Package_History");
+ return YCPBoolean (true);
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.13/VERSION new/yast2-pkg-bindings-2.17.15/VERSION
--- old/yast2-pkg-bindings-2.17.13/VERSION 2008-09-25 13:55:53.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.15/VERSION 2008-09-25 17:54:46.000000000 +0200
@@ -1 +1 @@
-2.17.13
+2.17.15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org