Hello community,
here is the log from the commit of package yast2-pkg-bindings
checked in at Mon Apr 28 16:30:30 CEST 2008.
--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes 2008-04-22 13:36:40.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-pkg-bindings/yast2-pkg-bindings.changes 2008-04-28 14:50:30.637506000 +0200
@@ -1,0 +2,8 @@
+Mon Apr 28 14:46:06 CEST 2008 - lslezak@suse.cz
+
+- RepositoryAdd() - added "priority" key (bnc#381360)
+- ResolvableProperties() - return "order" property of pattern
+ (bnc#255726)
+- 2.16.31
+
+-------------------------------------------------------------------
Old:
----
yast2-pkg-bindings-2.16.30.tar.bz2
New:
----
yast2-pkg-bindings-2.16.31.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.O27161/_old 2008-04-28 16:30:15.000000000 +0200
+++ /var/tmp/diff_new_pack.O27161/_new 2008-04-28 16:30:15.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings-devel-doc (Version 2.16.30)
+# spec file for package yast2-pkg-bindings-devel-doc (Version 2.16.31)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-pkg-bindings-devel-doc
-Version: 2.16.30
+Version: 2.16.31
Release: 1
License: GPL v2 or later
Group: Documentation/HTML
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.16.30.tar.bz2
+Source0: yast2-pkg-bindings-2.16.31.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
@@ -38,7 +38,7 @@
Ladislav Slez�k
%prep
-%setup -n yast2-pkg-bindings-2.16.30
+%setup -n yast2-pkg-bindings-2.16.31
# build only documentation, ignore all other directories
echo "doc" > SUBDIRS
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.O27161/_old 2008-04-28 16:30:15.000000000 +0200
+++ /var/tmp/diff_new_pack.O27161/_new 2008-04-28 16:30:15.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings (Version 2.16.30)
+# spec file for package yast2-pkg-bindings (Version 2.16.31)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,12 +12,12 @@
Name: yast2-pkg-bindings
-Version: 2.16.30
+Version: 2.16.31
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.16.30.tar.bz2
+Source0: yast2-pkg-bindings-2.16.31.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 >= 4.4.0
@@ -40,7 +40,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-pkg-bindings-2.16.30
+%setup -n yast2-pkg-bindings-2.16.31
# build only the library, ignore documentation (it is in devel-doc package)
echo "src" > SUBDIRS
@@ -72,6 +72,11 @@
%{_libdir}/YaST2/plugin/libpy2Pkg.so
%doc %{prefix}/share/doc/packages/yast2-pkg-bindings
%changelog
+* Mon Apr 28 2008 lslezak@suse.cz
+- RepositoryAdd() - added "priority" key (bnc#381360)
+- ResolvableProperties() - return "order" property of pattern
+ (bnc#255726)
+- 2.16.31
* Tue Apr 22 2008 lslezak@suse.cz
- return dependency kind in Pkg::ResolvableDependencies()
(bnc#381340)
++++++ yast2-pkg-bindings-2.16.30.tar.bz2 -> yast2-pkg-bindings-2.16.31.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.16.30/configure new/yast2-pkg-bindings-2.16.31/configure
--- old/yast2-pkg-bindings-2.16.30/configure 2008-04-22 13:35:38.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.31/configure 2008-04-28 14:49:51.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.16.30.
+# Generated by GNU Autoconf 2.61 for yast2-pkg-bindings 2.16.31.
#
# 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.16.30'
-PACKAGE_STRING='yast2-pkg-bindings 2.16.30'
+PACKAGE_VERSION='2.16.31'
+PACKAGE_STRING='yast2-pkg-bindings 2.16.31'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1447,7 +1447,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.16.30 to adapt to many kinds of systems.
+\`configure' configures yast2-pkg-bindings 2.16.31 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1518,7 +1518,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-pkg-bindings 2.16.30:";;
+ short | recursive ) echo "Configuration of yast2-pkg-bindings 2.16.31:";;
esac
cat <<\_ACEOF
@@ -1627,7 +1627,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-pkg-bindings configure 2.16.30
+yast2-pkg-bindings configure 2.16.31
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1641,7 +1641,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.16.30, which was
+It was created by yast2-pkg-bindings $as_me 2.16.31, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2462,7 +2462,7 @@
# Define the identity of the package.
PACKAGE='yast2-pkg-bindings'
- VERSION='2.16.30'
+ VERSION='2.16.31'
cat >>confdefs.h <<_ACEOF
@@ -2690,7 +2690,7 @@
-VERSION="2.16.30"
+VERSION="2.16.31"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
@@ -21199,7 +21199,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.16.30, which was
+This file was extended by yast2-pkg-bindings $as_me 2.16.31, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21252,7 +21252,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-pkg-bindings config.status 2.16.30
+yast2-pkg-bindings config.status 2.16.31
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.16.30/configure.in new/yast2-pkg-bindings-2.16.31/configure.in
--- old/yast2-pkg-bindings-2.16.30/configure.in 2008-04-22 13:35:27.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.31/configure.in 2008-04-28 14:49:41.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.16.8 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-pkg-bindings, 2.16.30, http://bugs.opensuse.org/, yast2-pkg-bindings)
+AC_INIT(yast2-pkg-bindings, 2.16.31, 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.16.30"
+VERSION="2.16.31"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.16.30/src/Resolvable_Properties.cc new/yast2-pkg-bindings-2.16.31/src/Resolvable_Properties.cc
--- old/yast2-pkg-bindings-2.16.30/src/Resolvable_Properties.cc 2008-04-22 08:47:51.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.31/src/Resolvable_Properties.cc 2008-04-25 17:14:14.000000000 +0200
@@ -332,6 +332,7 @@
info->add(YCPString("default"), YCPBoolean(pattern->isDefault()));
info->add(YCPString("icon"), YCPString(pattern->icon().asString()));
info->add(YCPString("script"), YCPString(pattern->script().asString()));
+ info->add(YCPString("order"), YCPString(pattern->order()));
}
// patch specific info
else if ( req_kind == "patch" )
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.16.30/src/Source_Create.cc new/yast2-pkg-bindings-2.16.31/src/Source_Create.cc
--- old/yast2-pkg-bindings-2.16.30/src/Source_Create.cc 2008-04-08 15:53:19.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.31/src/Source_Create.cc 2008-04-28 14:49:28.000000000 +0200
@@ -19,7 +19,7 @@
*/
/*
- File: $Id: Source_Create.cc 46237 2008-04-08 13:53:19Z lslezak $
+ File: $Id: Source_Create.cc 47109 2008-04-28 12:49:27Z lslezak $
Author: Ladislav Slezák
Summary: Functions related to repository registration
Namespace: Pkg
@@ -364,7 +364,7 @@
* automatically when loading the repository content (Pkg::SourceLoad())
*
* @param map map with repository parameters: $[ "enabled" : boolean, "autorefresh" : boolean, "name" : string,
- * "alias" : string, "base_urls" : list<string>, "prod_dir" : string, "type" : string ]
+ * "alias" : string, "base_urls" : list<string>, "priority" : integer, "prod_dir" : string, "type" : string ]
* @return integer Repository ID or nil on error
**/
YCPValue PkgFunctions::RepositoryAdd(const YCPMap ¶ms)
@@ -503,6 +503,11 @@
repo.setPath(params->value(YCPString("prod_dir"))->asString()->value());
}
+ if (!params->value( YCPString("priority") ).isNull() && params->value(YCPString("priority"))->isInteger())
+ {
+ repo.setPriority(params->value(YCPString("priority"))->asInteger()->value());
+ }
+
// set metadata path (#293428)
zypp::RepoManager repomanager = CreateRepoManager();
zypp::Pathname metadatapath = repomanager.metadataPath(repo);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.16.30/VERSION new/yast2-pkg-bindings-2.16.31/VERSION
--- old/yast2-pkg-bindings-2.16.30/VERSION 2008-04-22 13:34:49.000000000 +0200
+++ new/yast2-pkg-bindings-2.16.31/VERSION 2008-04-28 14:49:08.000000000 +0200
@@ -1 +1 @@
-2.16.30
+2.16.31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org