Mailinglist Archive: opensuse-commit (1124 mails)

< Previous Next >
commit yast2-pkg-bindings
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Thu, 26 Apr 2007 01:20:30 +0200
  • Message-id: <20070425232031.1FFEB678168@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package yast2-pkg-bindings
checked in at Thu Apr 26 01:20:30 CEST 2007.

--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes       2007-04-10 16:08:28.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-pkg-bindings/yast2-pkg-bindings.changes  2007-04-25 14:28:32.817603000 +0200
@@ -1,0 +2,7 @@
+Wed Apr 25 14:11:33 CEST 2007 - lslezak@xxxxxxx
+
+- added Pkg::SourceGetBrokenSources() - return list of broken
+  sources (initialization has failed) (#265579)
+- 2.15.16
+
+-------------------------------------------------------------------

Old:
----
  yast2-pkg-bindings-2.15.15.tar.bz2

New:
----
  yast2-pkg-bindings-2.15.16.tar.bz2

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

Other differences:
------------------
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.C26938/_old  2007-04-26 01:20:24.000000000 +0200
+++ /var/tmp/diff_new_pack.C26938/_new  2007-04-26 01:20:24.000000000 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package yast2-pkg-bindings (Version 2.15.15)
+# spec file for package yast2-pkg-bindings (Version 2.15.16)
 #
 # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
@@ -11,12 +11,12 @@
 # norootforbuild
 
 Name:           yast2-pkg-bindings
-Version:        2.15.15
+Version:        2.15.16
 Release:        1
 License:        GNU General Public License (GPL)
 Group:          System/YaST
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-pkg-bindings-2.15.15.tar.bz2
+Source0:        yast2-pkg-bindings-2.15.16.tar.bz2
 prefix:                /usr
 BuildRequires:  blocxx-devel boost boost-devel dbus-1-devel docbook-xsl-stylesheets doxygen gcc-c++ hal-devel libgcrypt-devel libxcrypt-devel libxslt perl-XML-Writer rpm-devel sgml-skel yast2-core-devel yast2-devtools
 BuildRequires:  libzypp-devel >= 2.14.3
@@ -40,7 +40,7 @@
     Stanislav Visnovsky <visnov@xxxxxxx>
 
 %prep
-%setup -n yast2-pkg-bindings-2.15.15
+%setup -n yast2-pkg-bindings-2.15.16
 
 %build
 %{prefix}/bin/y2tool y2autoconf
@@ -71,6 +71,10 @@
 %doc %{prefix}/share/doc/packages/yast2-pkg-bindings
 
 %changelog
+* Wed Apr 25 2007 - lslezak@xxxxxxx
+- added Pkg::SourceGetBrokenSources() - return list of broken
+  sources (initialization has failed) (#265579)
+- 2.15.16
 * Tue Apr 10 2007 - lslezak@xxxxxxx
 - create and register AuthReceive callback object (required
   for Pkg::CallbackAuthentication())

++++++ yast2-pkg-bindings-2.15.15.tar.bz2 -> yast2-pkg-bindings-2.15.16.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.15/configure new/yast2-pkg-bindings-2.15.16/configure
--- old/yast2-pkg-bindings-2.15.15/configure    2007-04-10 16:06:03.000000000 +0200
+++ new/yast2-pkg-bindings-2.15.16/configure    2007-04-25 14:21:07.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-pkg-bindings 2.15.15.
+# Generated by GNU Autoconf 2.60 for yast2-pkg-bindings 2.15.16.
 #
 # Report bugs to <http://bugs.opensuse.org/>.
 #
@@ -713,8 +713,8 @@
 # Identity of this package.
 PACKAGE_NAME='yast2-pkg-bindings'
 PACKAGE_TARNAME='yast2-pkg-bindings'
-PACKAGE_VERSION='2.15.15'
-PACKAGE_STRING='yast2-pkg-bindings 2.15.15'
+PACKAGE_VERSION='2.15.16'
+PACKAGE_STRING='yast2-pkg-bindings 2.15.16'
 PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
 
 ac_unique_file="RPMNAME"
@@ -1429,7 +1429,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.15.15 to adapt to many kinds of systems.
+\`configure' configures yast2-pkg-bindings 2.15.16 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1500,7 +1500,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of yast2-pkg-bindings 2.15.15:";;
+     short | recursive ) echo "Configuration of yast2-pkg-bindings 2.15.16:";;
    esac
   cat <<\_ACEOF
 
@@ -1608,7 +1608,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-yast2-pkg-bindings configure 2.15.15
+yast2-pkg-bindings configure 2.15.16
 generated by GNU Autoconf 2.60
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1622,7 +1622,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.15.15, which was
+It was created by yast2-pkg-bindings $as_me 2.15.16, which was
 generated by GNU Autoconf 2.60.  Invocation command line was
 
   $ $0 $@
@@ -2423,7 +2423,7 @@
 
 # Define the identity of the package.
  PACKAGE='yast2-pkg-bindings'
- VERSION='2.15.15'
+ VERSION='2.15.16'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -2650,7 +2650,7 @@
 
 
 
-VERSION="2.15.15"
+VERSION="2.15.16"
 RPMNAME="yast2-pkg-bindings"
 MAINTAINER="Ladislav Slezák <lslezak@xxxxxxx>"
 
@@ -21612,7 +21612,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.15.15, which was
+This file was extended by yast2-pkg-bindings $as_me 2.15.16, which was
 generated by GNU Autoconf 2.60.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -21665,7 +21665,7 @@
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-yast2-pkg-bindings config.status 2.15.15
+yast2-pkg-bindings config.status 2.15.16
 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-pkg-bindings-2.15.15/configure.in new/yast2-pkg-bindings-2.15.16/configure.in
--- old/yast2-pkg-bindings-2.15.15/configure.in 2007-04-10 16:05:49.000000000 +0200
+++ new/yast2-pkg-bindings-2.15.16/configure.in 2007-04-25 14:20:47.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-pkg-bindings, 2.15.15, http://bugs.opensuse.org/, yast2-pkg-bindings)
+AC_INIT(yast2-pkg-bindings, 2.15.16, http://bugs.opensuse.org/, yast2-pkg-bindings)
 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.15"
+VERSION="2.15.16"
 RPMNAME="yast2-pkg-bindings"
 MAINTAINER="Ladislav Slezák <lslezak@xxxxxxx>"
 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.15/src/Patch.cc new/yast2-pkg-bindings-2.15.16/src/Patch.cc
--- old/yast2-pkg-bindings-2.15.15/src/Patch.cc 2006-07-13 11:02:27.000000000 +0200
+++ new/yast2-pkg-bindings-2.15.16/src/Patch.cc 2007-04-25 09:10:13.000000000 +0200
@@ -118,11 +118,12 @@
 YCPValue
 PkgModuleFunctions::YouSetUserPassword (const YCPString& user, const YCPString& passwd, const YCPBoolean& p)
 {
+ /*   
+    TODO FIXME
     string username = user->value_cstr();
     string password = passwd->value_cstr();
     bool persistent = p->value();
 
-    /* TODO FIXME
     _last_error =
         _y2pm.youPatchManager().instYou().setUserPassword( username,
                                                            password,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.15/src/PkgModuleFunctions.h new/yast2-pkg-bindings-2.15.16/src/PkgModuleFunctions.h
--- old/yast2-pkg-bindings-2.15.15/src/PkgModuleFunctions.h     2007-04-03 14:46:05.000000000 +0200
+++ new/yast2-pkg-bindings-2.15.16/src/PkgModuleFunctions.h     2007-04-25 13:43:34.000000000 +0200
@@ -344,6 +344,8 @@
         YCPValue SourceStartManager (const YCPBoolean&);
        /* TYPEINFO: boolean()*/
        YCPValue SourceRestore();
+       /* TYPEINFO: list<string>()*/
+       YCPValue SourceGetBrokenSources();
        /* TYPEINFO: boolean()*/
        YCPValue SourceLoad();
        /* TYPEINFO: integer(string,string)*/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.15/src/Source.cc new/yast2-pkg-bindings-2.15.16/src/Source.cc
--- old/yast2-pkg-bindings-2.15.15/src/Source.cc        2007-03-23 11:17:53.000000000 +0100
+++ new/yast2-pkg-bindings-2.15.16/src/Source.cc        2007-04-25 11:33:26.000000000 +0200
@@ -201,6 +201,26 @@
     return YCPBoolean(success);
 }
 
+/****************************************************************************************
+ * @builtin SourceGetBrokenSources
+ *
+ * @short Return list of broken sources (sources which failed to restore)
+ * @description
+ * Get list of all sources which could not have been restored.
+ * @return list<string> list of aliases (product names or URLs)
+ **/
+YCPValue PkgModuleFunctions::SourceGetBrokenSources()
+{
+    YCPList ret;
+
+    for( std::set<std::string>::const_iterator it = _broken_sources.begin() ;
+       it != _broken_sources.end() ; ++it )
+    {
+       ret->add(YCPString(*it));
+    }
+
+    return ret;
+}
 
 /****************************************************************************************
  * @builtin SourceLoad
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.15.15/VERSION new/yast2-pkg-bindings-2.15.16/VERSION
--- old/yast2-pkg-bindings-2.15.15/VERSION      2007-04-10 16:04:22.000000000 +0200
+++ new/yast2-pkg-bindings-2.15.16/VERSION      2007-04-25 14:11:28.000000000 +0200
@@ -1 +1 @@
-2.15.15
+2.15.16


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



Remember to have fun...

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

< Previous Next >
This Thread