Hello community,
here is the log from the commit of package yast2-pkg-bindings
checked in at Thu Jun 29 12:05:39 CEST 2006.
--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes 2006-06-09 09:58:03.000000000 +0200
+++ yast2-pkg-bindings/yast2-pkg-bindings.changes 2006-06-29 09:45:29.000000000 +0200
@@ -1,0 +2,19 @@
+Thu Jun 29 09:28:20 CEST 2006 - lslezak@suse.cz
+
+- ResolvableProperties(): return "is_needed" property of a patch
+ (#188541)
+- 2.13.88
+
+-------------------------------------------------------------------
+Mon Jun 26 16:50:50 CEST 2006 - mvidner@suse.cz
+
+- Fixed links in the docs (locilka)
+- 2.13.87
+
+-------------------------------------------------------------------
+Wed Jun 21 09:37:09 CEST 2006 - mvidner@suse.cz
+
+- Added Pkg::SourceURL that includes the password (#186842).
+- 2.13.86
+
+-------------------------------------------------------------------
Old:
----
yast2-pkg-bindings-2.13.85.tar.bz2
New:
----
yast2-pkg-bindings-2.13.88.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.uS7LzZ/_old 2006-06-29 12:00:37.000000000 +0200
+++ /var/tmp/diff_new_pack.uS7LzZ/_new 2006-06-29 12:00:37.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings (Version 2.13.85)
+# spec file for package yast2-pkg-bindings (Version 2.13.88)
#
# Copyright (c) 2006 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.13.85
+Version: 2.13.88
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.13.85.tar.bz2
+Source0: yast2-pkg-bindings-2.13.88.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 libzypp libzypp-devel perl-XML-Writer rpm-devel sgml-skel yast2-core-devel yast2-devtools
Summary: YaST2 Package Manager Access
@@ -36,7 +36,7 @@
Stanislav Visnovsky
%prep
-%setup -n yast2-pkg-bindings-2.13.85
+%setup -n yast2-pkg-bindings-2.13.88
%build
%{prefix}/bin/y2tool y2autoconf
@@ -67,6 +67,16 @@
%doc %{prefix}/share/doc/packages/yast2-pkg-bindings
%changelog -n yast2-pkg-bindings
+* Thu Jun 29 2006 - lslezak@suse.cz
+- ResolvableProperties(): return "is_needed" property of a patch
+ (#188541)
+- 2.13.88
+* Mon Jun 26 2006 - mvidner@suse.cz
+- Fixed links in the docs (locilka)
+- 2.13.87
+* Wed Jun 21 2006 - mvidner@suse.cz
+- Added Pkg::SourceURL that includes the password (#186842).
+- 2.13.86
* Fri Jun 09 2006 - jsrain@suse.cz
- report also type of resolvable not installed during 1st stage
(#181198)
++++++ yast2-pkg-bindings-2.13.85.tar.bz2 -> yast2-pkg-bindings-2.13.88.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.13.85/VERSION new/yast2-pkg-bindings-2.13.88/VERSION
--- old/yast2-pkg-bindings-2.13.85/VERSION 2006-06-09 09:45:31.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.88/VERSION 2006-06-29 09:28:16.000000000 +0200
@@ -1 +1 @@
-2.13.85
+2.13.88
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.13.85/configure new/yast2-pkg-bindings-2.13.88/configure
--- old/yast2-pkg-bindings-2.13.85/configure 2006-06-09 09:55:54.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.88/configure 2006-06-29 09:36:44.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59 for yast2-pkg-bindings 2.13.85.
+# Generated by GNU Autoconf 2.59 for yast2-pkg-bindings 2.13.88.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -423,8 +423,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-pkg-bindings'
PACKAGE_TARNAME='yast2-pkg-bindings'
-PACKAGE_VERSION='2.13.85'
-PACKAGE_STRING='yast2-pkg-bindings 2.13.85'
+PACKAGE_VERSION='2.13.88'
+PACKAGE_STRING='yast2-pkg-bindings 2.13.88'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -971,7 +971,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.13.85 to adapt to many kinds of systems.
+\`configure' configures yast2-pkg-bindings 2.13.88 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1038,7 +1038,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-pkg-bindings 2.13.85:";;
+ short | recursive ) echo "Configuration of yast2-pkg-bindings 2.13.88:";;
esac
cat <<\_ACEOF
@@ -1184,7 +1184,7 @@
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
-yast2-pkg-bindings configure 2.13.85
+yast2-pkg-bindings configure 2.13.88
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1198,7 +1198,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.13.85, which was
+It was created by yast2-pkg-bindings $as_me 2.13.88, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@@ -1928,7 +1928,7 @@
# Define the identity of the package.
PACKAGE='yast2-pkg-bindings'
- VERSION='2.13.85'
+ VERSION='2.13.88'
cat >>confdefs.h <<_ACEOF
@@ -2139,7 +2139,7 @@
-VERSION="2.13.85"
+VERSION="2.13.88"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Michael Andres "
@@ -20273,7 +20273,7 @@
} >&5
cat >&5 <<_CSEOF
-This file was extended by yast2-pkg-bindings $as_me 2.13.85, which was
+This file was extended by yast2-pkg-bindings $as_me 2.13.88, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -20336,7 +20336,7 @@
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-pkg-bindings config.status 2.13.85
+yast2-pkg-bindings config.status 2.13.88
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.13.85/configure.in new/yast2-pkg-bindings-2.13.88/configure.in
--- old/yast2-pkg-bindings-2.13.85/configure.in 2006-06-09 09:55:36.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.88/configure.in 2006-06-29 09:36:29.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-pkg-bindings
dnl
-dnl -- This file is generated by y2autoconf 2.13.18 - DO NOT EDIT! --
+dnl -- This file is generated by y2autoconf 2.13.16 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-pkg-bindings, 2.13.85, http://bugs.opensuse.org/, yast2-pkg-bindings)
+AC_INIT(yast2-pkg-bindings, 2.13.88, 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.13.85"
+VERSION="2.13.88"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Michael Andres "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.13.85/doc/pkg-bindings-section.xml new/yast2-pkg-bindings-2.13.88/doc/pkg-bindings-section.xml
--- old/yast2-pkg-bindings-2.13.85/doc/pkg-bindings-section.xml 2005-01-24 07:41:58.000000000 +0100
+++ new/yast2-pkg-bindings-2.13.88/doc/pkg-bindings-section.xml 2006-06-29 09:26:29.000000000 +0200
@@ -1,153 +1,200 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<section id="package-bindings">
- <title>Using the package manager</title>
-
- <section>
- <title>Introduction</title>
-
- <para>
-This is a short introduction into using the package manager
-interface from within YCP code.</para>
-<para>
-It describes the required <emphasis>Pkg</emphasis> calls and how to use them
-in actual code.</para>
-</section>
-<section>
- <title>Implementation</title>
-
- <para>
-The new package manager does all package related handling inside
-C++ code and uses callbacks for user interaction.</para>
-<para>
-This reduces the amount of ycp code needed for package installation
-(or removal) to a few lines.</para>
-<para>
-The package manager keeps a list of installed (on the system) and
-available (on the CD or other installation media) packages and
-their status (install, delete, no change). YCP code can query the
-package manager for installed or available packages and set their
-status. The actual package installation or deletion takes place
-with a final commit call.</para>
-<para>
-This call goes through the package list and deletes all packages
-marked as such. Then it orderes the packages marked for
-installation according to their "PreRequires" rpm tag and the media
-number (so you usually install CDs in ascending order).</para>
-<para>
-All user interaction is done via callbacks from inside the package
-manager. If no callback is defined, the user doesn't see anything
-and also isn't requested to change CDs. Especially the latter case
-makes it important to set up appropriate callbacks.</para>
-</section>
-<section>
-<title>Querying the package manager</title>
-
-<section><title>Checking an installed package</title>
-
- <para>
-<link linkend="PkgModuleFunctionsPackage_IsProvided">Pkg::IsProvided</link> checks if a rpm tag (a
-package name or any other symbolic name provided by a package) is
-installed.</para>
-<para>
-It does a '<command>rpm -q</command>' and if this fails a '<command>rpm -q
- --whatprovides</command>' for the given tag.</para>
-<para>It does <emphasis>not</emphasis> start the complete package manager.</para>
-</section>
-<section>
- <title>Checking the installation sources</title>
+ <title>Using the package manager</title>
- <para>
-<link linkend="PkgModuleFunctionsPackage_IsAvailable">Pkg::IsAvailable</link> checks if a rpm package
-is available for installation.
-(It currently does not check for other tags provided, this will be
-implemented in a future version.)</para>
-<para>
-It starts the package manager if it isn't running already. Starting
-the package manager may take some time since it must read all it's
-caches about the installation sources and set up the internal data
-structures.</para>
+ <section>
+ <title>Introduction</title>
-</section>
-<section>
- <title>Deleting a package</title>
- <para>
-<link linkend="PkgModuleFunctionsPackage_PkgDelete">Pkg::PkgDelete</link> marks an installed package
-for deletion. It does <emphasis>not</emphasis> immediately run '<emphasis>rpm -e</emphasis>'
-but just sets the internal status of the package in the package
-manager.</para>
-<para>
-The actual deletion must be triggered with
-<link linkend="PkgModuleFunctionsPackage_PkgCommit">Pkg::PkgCommit</link>().</para>
-
-</section>
-<section>
-
-<title>Installing a package</title>
-<para>
-<link linkend="PkgModuleFunctionsPackage_PkgInstall">Pkg::PkgInstall</link> marks an available
-package for installation. It does <emphasis>not</emphasis> immediately run
-'<emphasis>rpm -Uhv</emphasis>' but just sets the internal status of the
-package in the package manager.</para>
-<para>
-The actual installation must be triggered with
-<link linkend="PkgModuleFunctionsPackage_PkgCommit">Pkg::PkgCommit</link>().</para>
-
-</section>
-<section>
+ <para>
+ This is a short introduction into using the package manager interface from
+ within YCP code.
+ </para>
+
+ <para>
+ It describes the required <emphasis>Pkg</emphasis> calls and how to use them
+ in actual code.
+ </para>
+ </section>
+
+ <section>
+ <title>Implementation</title>
+
+ <para>
+ The new package manager does all package related handling inside
+ <emphasis>C++</emphasis> code and uses callbacks for user interaction.
+ </para>
+
+ <para>
+ This reduces the amount of ycp code needed for package installation
+ (or removal) to a few lines.
+ </para>
+
+ <para>
+ The package manager keeps a list of installed (on the system) and available
+ (on the CD or other installation media) packages and their status
+ (install, delete, no change). YCP code can query the package manager
+ for installed or available packages and set their status. The actual package
+ installation or deletion takes place with a final commit call.
+ </para>
+
+ <para>
+ This call goes through the package list and deletes all packages marked
+ as such. Then it orderes the packages marked for installation according
+ to their "<emphasis>PreRequires</emphasis>" rpm tag and the media number
+ (so you usually install CDs in ascending order).
+ </para>
+
+ <para>
+ All user interaction is done via callbacks from inside the package manager.
+ If no callback is defined, the user doesn't see anything and also isn't
+ requested to change CDs. Especially the latter case makes it important
+ to set up appropriate callbacks.
+ </para>
+ </section>
+
+ <section>
+ <title>Querying the package manager</title>
+
+ <section>
+ <title>Checking an installed package</title>
+
+ <para>
+ Pkg::IsProvided</literal>
+ checks if a rpm tag (a package name or any other symbolic name provided
+ by a package) is installed.
+ </para>
+
+ <para>
+ It does a '<command>rpm -q</command>' and if this fails a '<command>rpm -q
+ --whatprovides</command>' for the given tag.
+ </para>
+
+ <para>
+ It does <emphasis>not</emphasis> start the complete package manager.
+ </para>
+ </section>
+
+ <section>
+ <title>Checking the installation sources</title>
+
+ <para>
+ Pkg::IsAvailable</literal>
+ checks if a rpm package is available for installation.
+ (It currently does not check for other tags provided, this will be
+ implemented in a future version.)
+ </para>
+
+ <para>
+ It starts the package manager if it isn't running already. Starting
+ the package manager may take some time since it must read all it's
+ caches about the installation sources and set up the internal data
+ structures.
+ </para>
+ </section>
+
+ <section>
+ <title>Deleting a package</title>
+
+ <para>
+ Pkg::PkgDelete</literal>
+ marks an installed package for deletion. It does <emphasis>not</emphasis>
+ immediately run '<emphasis>rpm -e</emphasis>' but just sets the internal
+ status of the package in the package manager.
+ </para>
+
+ <para>
+ The actual deletion must be triggered with Pkg::PkgCommit</link>().
+ </para>
+ </section>
+
+ <section>
+ <title>Installing a package</title>
+
+ <para>
+ Pkg::PkgInstall</literal>
+ marks an available package for installation.
+ It does <emphasis>not</emphasis> immediately run
+ '<emphasis>rpm -Uhv</emphasis>' but just sets the internal status
+ of the package in the package manager.
+ </para>
+
+ <para>
+ The actual installation must be triggered with Pkg::PkgCommit</link>().
+ </para>
+ </section>
+
+ <section>
+ <title>Solving dependencies</title>
+
+ <para>
+ <literal id="PkgModuleFunctionsPackage_PkgSolve">Pkg::PkgSolve</literal>()
+ tries to solve open package dependencies and marks other (dependant)
+ packages for installation/deletion.
+ </para>
+
+ <para>
+ (It currently does an automatic solving without user interaction. Callbacks
+ for user interaction will be added later.)
+ </para>
+ </section>
+
+ <section>
+ <title>Committing the changes</title>
+
+ <para>
+ <literal id="PkgModuleFunctionsPackage_PkgCommit">Pkg::PkgCommit</literal>
+ does the '<emphasis>rpm</emphasis>' calls needed to install or delete
+ packages.
+ </para>
+
+ <para>
+ It sorts the packages according to their pre-requires and their location
+ on the media (CD order), handles mouting/unmounting of the media, does
+ the package download (if the media is an ftp or http server),
+ and calls rpm.
+ </para>
+
+ <para>
+ All these actions might trigger callbacks for user information
+ or user actions (i.e. media change).
+ </para>
+
+ <para>
+ The module <emphasis>PackageCallbacks</emphasis> from
+ <emphasis>yast2-packager.rpm</emphasis> defined default callbacks for all
+ these actions and should be imported by any code using Pkg::PkgCommit</link>(0).
+ </para>
+
+ <para>
+ The integer parameter given to Pkg::PkgCommit</link>(0)
+ must be zero for the normal usage. Non-zero values are only allowed during
+ system installation when no media change is possible.
+ </para>
+ </section>
+ </section>
-<title>Solving dependencies</title>
-<para>
+ <section>
+ <title>Example code</title>
-<link linkend="PkgModuleFunctionsPackage_PkgSolve">Pkg::PkgSolve</link>() tries to solve open package
-dependencies and marks other (dependant) packages for
-installation/deletion.</para>
-<para>
-(It currently does an automatic solving without user interaction.
-Callbacks for user interaction will be added later.)</para>
-</section>
-<section>
-
-<title>Committing the changes</title>
-
-<para>
-<link linkend="PkgModuleFunctionsPackage_PkgCommit">Pkg::PkgCommit</link> does the '<emphasis>rpm</emphasis>'
-calls needed to install or delete packages.</para>
-<para>
-It sorts the packages according to their pre-requires and their
-location on the media (CD order), handles mouting/unmounting of the
-media, does the package download (if the media is an ftp or http
-server), and calls rpm.</para>
-<para>
-All these actions might trigger callbacks for user information or
-user actions (i.e. media change).</para>
-<para>
-The module <emphasis>PackageCallbacks</emphasis> from
-<emphasis>yast2-packager.rpm</emphasis> defined default callbacks for all these
-actions and should be imported by any code using
-<link linkend="PkgModuleFunctionsPackage_PkgCommit">Pkg::PkgCommit</link>(0).</para>
-<para>
-The integer parameter given to <link linkend="PkgModuleFunctionsPackage_PkgCommit">Pkg::PkgCommit</link>(0) must be
-zero for the normal usage. Non-zero values are only allowed during
-system installation when no media change is possible.</para>
-</section>
-</section>
-<section>
- <title>Example code</title>
-
- <informalexample>
-<programlisting>
-{
+ <informalexample>
+ <programlisting>{
import "PackageCallbacks";
// installing netscape and cups
-
<link linkend="PkgModuleFunctionsPackage_PkgInstall">Pkg::PkgInstall</link> ("netscape");
<link linkend="PkgModuleFunctionsPackage_PkgInstall">Pkg::PkgInstall</link> ("cups");
// deleting lprng if it is installed
-
if (<link linkend="PkgModuleFunctionsPackage_IsProvided">Pkg::IsProvided</link> ("lprng"))
- <link linkend="PkgModuleFunctionsPackage_PkgDelete">Pkg::PkgDelete</link> ("lprng");
+ <link linkend="PkgModuleFunctionsPackage_PkgDelete">Pkg::PkgDelete</link> ("lprng");
// fill open dependencies
<link linkend="PkgModuleFunctionsPackage_PkgSolve">Pkg::PkgSolve</link>();
@@ -155,10 +202,7 @@
// do the rpm calls
<link linkend="PkgModuleFunctionsPackage_PkgCommit">Pkg::PkgCommit</link>();
-}
-</programlisting>
-</informalexample>
-</section>
+}</programlisting>
+ </informalexample>
+ </section>
</section>
-
-
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.13.85/src/PkgModuleFunctions.h new/yast2-pkg-bindings-2.13.88/src/PkgModuleFunctions.h
--- old/yast2-pkg-bindings-2.13.85/src/PkgModuleFunctions.h 2006-06-08 10:27:22.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.88/src/PkgModuleFunctions.h 2006-06-27 16:32:37.000000000 +0200
@@ -240,6 +240,8 @@
YCPValue SourceFinishAll ();
/* TYPEINFO: map(integer)*/
YCPValue SourceGeneralData (const YCPInteger&);
+ /* TYPEINFO: string(integer)*/
+ YCPValue SourceURL (const YCPInteger&);
/* TYPEINFO: map(integer)*/
YCPValue SourceMediaData (const YCPInteger&);
/* TYPEINFO: map(integer)*/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.13.85/src/Resolvable.cc new/yast2-pkg-bindings-2.13.88/src/Resolvable.cc
--- old/yast2-pkg-bindings-2.13.85/src/Resolvable.cc 2006-06-07 09:10:10.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.88/src/Resolvable.cc 2006-06-29 09:28:09.000000000 +0200
@@ -429,6 +429,7 @@
info->add(YCPString("interactive"), YCPBoolean(patch_ptr->interactive()));
info->add(YCPString("reboot_needed"), YCPBoolean(patch_ptr->reboot_needed()));
info->add(YCPString("affects_pkg_manager"), YCPBoolean(patch_ptr->affects_pkg_manager()));
+ info->add(YCPString("is_needed"), YCPBoolean(it->status().isNeeded()));
}
// dependency info
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.13.85/src/Source.cc new/yast2-pkg-bindings-2.13.88/src/Source.cc
--- old/yast2-pkg-bindings-2.13.85/src/Source.cc 2006-06-08 10:26:39.000000000 +0200
+++ new/yast2-pkg-bindings-2.13.88/src/Source.cc 2006-06-27 15:04:54.000000000 +0200
@@ -385,7 +385,7 @@
* "autorefresh": YCPBoolean,
* "product_dir": YCPString,
* "type" : YCPString,
- * "url" : YCPString,
+ * "url" : YCPString (without password, but see SourceURL),
* "alias" : YCPString,
* ];
*
@@ -412,15 +412,36 @@
data->add( YCPString("autorefresh"), YCPBoolean(src.autorefresh()));
data->add( YCPString("type"), YCPString(src.type()));
data->add( YCPString("product_dir"), YCPString(src.path().asString()));
-
-#warning SourceGeneralData returns URL without password
- // if password is required then use this parameter:
- // asString(url::ViewOptions() + url::ViewOptions::WITH_PASSWORD);
data->add( YCPString("url"), YCPString(src.url().asString()));
data->add( YCPString("alias"), YCPString(src.alias()));
return data;
}
+/******************************************************************************
+ * @builtin SourceURL
+ *
+ * @short Get full source URL, including password
+ * @param integer SrcId Specifies the InstSrc to query.
+ * @return string or nil on failure
+ **/
+YCPValue
+PkgModuleFunctions::SourceURL (const YCPInteger& id)
+{
+ zypp::Source_Ref src;
+
+ try
+ {
+ src = logFindSource(id->value());
+ }
+ catch (const zypp::Exception& excpt)
+ {
+ return YCPVoid ();
+ }
+
+ // #186842
+ return YCPString(src.url().asCompleteString());
+}
+
/****************************************************************************************
* @builtin SourceMediaData
* @short Return media data about the source
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit-help@opensuse.org