Hello community,
here is the log from the commit of package yast2-pkg-bindings
checked in at Fri Nov 28 12:13:44 CET 2008.
--------
--- yast2-pkg-bindings/yast2-pkg-bindings.changes 2008-11-21 15:43:04.000000000 +0100
+++ /mounts/work_src_done/STABLE/yast2-pkg-bindings/yast2-pkg-bindings.changes 2008-11-27 11:04:26.071653000 +0100
@@ -1,0 +2,9 @@
+Thu Nov 27 08:47:47 CET 2008 - lslezak@suse.cz
+
+- honor the download area when downloading signed/digested files
+ (do not download the files to the RAM disk during installation),
+ remove the downloaded files in Pkg::SourceReleaseAll() to
+ release not needed files (bnc#449564)
+- 2.17.29
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
yast2-pkg-bindings-2.17.28.tar.bz2
New:
----
yast2-pkg-bindings-2.17.29.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-pkg-bindings-devel-doc.spec ++++++
--- /var/tmp/diff_new_pack.k24342/_old 2008-11-28 12:13:17.000000000 +0100
+++ /var/tmp/diff_new_pack.k24342/_new 2008-11-28 12:13:17.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings-devel-doc (Version 2.17.28)
+# spec file for package yast2-pkg-bindings-devel-doc (Version 2.17.29)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-pkg-bindings-devel-doc
-Version: 2.17.28
+Version: 2.17.29
Release: 1
License: GPL v2 or later
Group: Documentation/HTML
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.17.28.tar.bz2
+Source0: yast2-pkg-bindings-2.17.29.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.28
+%setup -n yast2-pkg-bindings-2.17.29
# build only documentation, ignore all other directories
echo "doc" > SUBDIRS
++++++ yast2-pkg-bindings.spec ++++++
--- /var/tmp/diff_new_pack.k24342/_old 2008-11-28 12:13:17.000000000 +0100
+++ /var/tmp/diff_new_pack.k24342/_new 2008-11-28 12:13:17.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-pkg-bindings (Version 2.17.28)
+# spec file for package yast2-pkg-bindings (Version 2.17.29)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -19,12 +19,12 @@
Name: yast2-pkg-bindings
-Version: 2.17.28
+Version: 2.17.29
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-pkg-bindings-2.17.28.tar.bz2
+Source0: yast2-pkg-bindings-2.17.29.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.28
+%setup -n yast2-pkg-bindings-2.17.29
# build only the library, ignore documentation (it is in devel-doc package)
echo "src" > SUBDIRS
@@ -79,6 +79,12 @@
%{_libdir}/YaST2/plugin/libpy2Pkg.so
%doc %{prefix}/share/doc/packages/yast2-pkg-bindings
%changelog
+* Thu Nov 27 2008 lslezak@suse.cz
+- honor the download area when downloading signed/digested files
+ (do not download the files to the RAM disk during installation),
+ remove the downloaded files in Pkg::SourceReleaseAll() to
+ release not needed files (bnc#449564)
+- 2.17.29
* Fri Nov 21 2008 lslezak@suse.cz
- set the optional flag when downloading signed/digested files
(bnc#447010)
++++++ yast2-pkg-bindings-2.17.28.tar.bz2 -> yast2-pkg-bindings-2.17.29.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.28/configure new/yast2-pkg-bindings-2.17.29/configure
--- old/yast2-pkg-bindings-2.17.28/configure 2008-11-21 15:42:40.000000000 +0100
+++ new/yast2-pkg-bindings-2.17.29/configure 2008-11-27 11:02:58.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for yast2-pkg-bindings 2.17.28.
+# Generated by GNU Autoconf 2.63 for yast2-pkg-bindings 2.17.29.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -745,8 +745,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-pkg-bindings'
PACKAGE_TARNAME='yast2-pkg-bindings'
-PACKAGE_VERSION='2.17.28'
-PACKAGE_STRING='yast2-pkg-bindings 2.17.28'
+PACKAGE_VERSION='2.17.29'
+PACKAGE_STRING='yast2-pkg-bindings 2.17.29'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1536,7 +1536,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.28 to adapt to many kinds of systems.
+\`configure' configures yast2-pkg-bindings 2.17.29 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1608,7 +1608,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-pkg-bindings 2.17.28:";;
+ short | recursive ) echo "Configuration of yast2-pkg-bindings 2.17.29:";;
esac
cat <<\_ACEOF
@@ -1720,7 +1720,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-pkg-bindings configure 2.17.28
+yast2-pkg-bindings configure 2.17.29
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1734,7 +1734,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.28, which was
+It was created by yast2-pkg-bindings $as_me 2.17.29, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -2581,7 +2581,7 @@
# Define the identity of the package.
PACKAGE='yast2-pkg-bindings'
- VERSION='2.17.28'
+ VERSION='2.17.29'
cat >>confdefs.h <<_ACEOF
@@ -2805,7 +2805,7 @@
-VERSION="2.17.28"
+VERSION="2.17.29"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
@@ -17209,7 +17209,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.28, which was
+This file was extended by yast2-pkg-bindings $as_me 2.17.29, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -17272,7 +17272,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-yast2-pkg-bindings config.status 2.17.28
+yast2-pkg-bindings config.status 2.17.29
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.28/configure.in new/yast2-pkg-bindings-2.17.29/configure.in
--- old/yast2-pkg-bindings-2.17.28/configure.in 2008-11-21 15:42:26.000000000 +0100
+++ new/yast2-pkg-bindings-2.17.29/configure.in 2008-11-27 11:02:43.000000000 +0100
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.17.6 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-pkg-bindings, 2.17.28, http://bugs.opensuse.org/, yast2-pkg-bindings)
+AC_INIT(yast2-pkg-bindings, 2.17.29, 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.28"
+VERSION="2.17.29"
RPMNAME="yast2-pkg-bindings"
MAINTAINER="Ladislav Slezák "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.28/pkg-bindings.pot new/yast2-pkg-bindings-2.17.29/pkg-bindings.pot
--- old/yast2-pkg-bindings-2.17.28/pkg-bindings.pot 2008-09-10 10:47:12.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.29/pkg-bindings.pot 2008-11-26 12:36:29.000000000 +0100
@@ -1,22 +1,168 @@
-# translation of pkg-bindings.po to
+# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR SuSE Linux Products GmbH, Nuernberg
# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR , YEAR.
#
-# Andrew Spackman , 2008.
+#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: pkg-bindings\n"
+"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-08-04 13:18+0200\n"
-"PO-Revision-Date: 2008-08-27 21:40+1200\n"
-"Last-Translator: Andrew Spackman \n"
-"Language-Team: \n"
+"POT-Creation-Date: 2008-11-26 12:36+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.4\n"
+
+#: src/GPGMap.cc:54
+msgid "Never"
+msgstr ""
+
+#. help text
+#: src/HelpTexts.h:36
+msgid "<P><BIG><B>Loading Available Packages</B></BIG></P><P>Loading available objects from the configured repositories is in progress. This may take a while...</P>"
+msgstr ""
+
+#. help text
+#: src/HelpTexts.h:42
+msgid "<P><BIG><B>Loading Installed Packages</B></BIG></P><P>The package manager is reading installed packages...</P>"
+msgstr ""
#. help text
#: src/HelpTexts.h:47
-msgid "<P><BIG><B>Registering a New Repository</B></BIG></P><P>A new repository is being registered. The package manager is reading list of available packages in the repository...</P>"
-msgstr "<P><BIG><B>Registering a New Repository</B></BIG></P><P>A new repository is being registered. The package manager is reading the list of available packages in the repository...</P>"
+msgid "<P><BIG><B>Registering a New Repository</B></BIG></P><P>A new repository is being registered. The package manager is reading the list of available packages in the repository...</P>"
+msgstr ""
+
+#: src/HelpTexts.h:52
+msgid "<P><BIG><B>Saving Repositories</B></BIG></P><P>The package manager is updating configured repositories...</P>"
+msgstr ""
+
+#: src/HelpTexts.h:55
+msgid "<P><BIG><B>Refreshing the Repository</B></BIG></P><P>The package manager is updating the repository content...</P>"
+msgstr ""
+
+#. error message
+#: src/Package.cc:657
+msgid "The package cannot be selected to install."
+msgstr ""
+
+#. error message
+#: src/Package.cc:663
+msgid "The package is not available."
+msgstr ""
+
+#. still not initialized, throw an exception
+#. translators: this is an error message
+#: src/PkgFunctions.cc:119
+msgid "Cannot connect to the package manager"
+msgstr ""
+
+#: src/Source_Callbacks.cc:129
+msgid "Refreshing repository "
+msgstr ""
+
+#: src/Source_Callbacks.cc:150
+msgid "Probing repository "
+msgstr ""
+
+#: src/Source_Create.cc:52
+msgid "Scanning products in "
+msgstr ""
+
+#: src/Source_Create.cc:605
+msgid "Search Available Products"
+msgstr ""
+
+#: src/Source_Create.cc:610
+msgid "Probe Source Type"
+msgstr ""
+
+#: src/Source_Create.cc:613
+msgid "Download Descriptions"
+msgstr ""
+
+#: src/Source_Create.cc:614 src/Source_Download.cc:385 src/Source_Load.cc:167
+#: src/Source_Load.cc:457
+msgid "Rebuild Cache"
+msgstr ""
+
+#: src/Source_Create.cc:618 src/Source_Load.cc:168 src/Source_Load.cc:458
+#: src/Source_Set.cc:76
+msgid "Load Data"
+msgstr ""
+
+#: src/Source_Create.cc:621
+msgid "Adding the Repository..."
+msgstr ""
+
+#: src/Source_Download.cc:56 src/Source_Download.cc:305
+msgid "Downloading "
+msgstr ""
+
+#. stages: "download", "build cache"
+#: src/Source_Download.cc:384
+msgid "Refresh Metadata"
+msgstr ""
+
+#. 3 steps per repository (download, cache rebuild, load resolvables)
+#: src/Source_Download.cc:392
+msgid "Refreshing Repository..."
+msgstr ""
+
+#. error message (followed by detailed description)
+#: src/Source_Installation.cc:71
+msgid "Error: Cannot copy the cache to the target directory\n"
+msgstr ""
+
+#. error message (followed by directory name)
+#: src/Source_Installation.cc:105
+msgid "Cannot create directory "
+msgstr ""
+
+#. error message
+#: src/Source_Installation.cc:135
+msgid "Copying failed"
+msgstr ""
+
+#: src/Source_Load.cc:166 src/Source_Load.cc:456
+msgid "Refresh Sources"
+msgstr ""
+
+#. 3 steps per repository (download, cache rebuild, load resolvables)
+#: src/Source_Load.cc:173 src/Source_Load.cc:461 src/Source_Set.cc:83
+#: src/Target_Load.cc:62 src/Target_Load.cc:178
+msgid "Loading the Package Manager..."
+msgstr ""
+
+#: src/Source_Load.cc:455
+msgid "Load Sources"
+msgstr ""
+
+#. TODO: improve the error message
+#: src/Source_Misc.cc:70
+msgid "Cannot find source"
+msgstr ""
+
+#: src/Source_Save.cc:128
+msgid "Remove Repositories"
+msgstr ""
+
+#. stages: "download", "build cache"
+#: src/Source_Save.cc:133
+msgid "Save Repositories"
+msgstr ""
+
+#. start the process
+#: src/Source_Save.cc:141
+msgid "Saving Repositories..."
+msgstr ""
+
+#: src/Target_Load.cc:58
+msgid "Initialize the Target System"
+msgstr ""
+
+#: src/Target_Load.cc:59 src/Target_Load.cc:174
+msgid "Read Installed Packages"
+msgstr ""
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.28/src/PkgFunctions.h new/yast2-pkg-bindings-2.17.29/src/PkgFunctions.h
--- old/yast2-pkg-bindings-2.17.28/src/PkgFunctions.h 2008-11-07 15:18:38.000000000 +0100
+++ new/yast2-pkg-bindings-2.17.29/src/PkgFunctions.h 2008-11-27 10:27:00.000000000 +0100
@@ -87,6 +87,8 @@
// add the main locale to the additional ones
zypp::Locale preferred_locale;
+ zypp::Pathname _download_area;
+
/**
* ZYPP
*/
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.28/src/Source_Download.cc new/yast2-pkg-bindings-2.17.29/src/Source_Download.cc
--- old/yast2-pkg-bindings-2.17.28/src/Source_Download.cc 2008-11-21 15:39:20.000000000 +0100
+++ new/yast2-pkg-bindings-2.17.29/src/Source_Download.cc 2008-11-27 11:00:16.000000000 +0100
@@ -19,7 +19,7 @@
*/
/*
- File: $Id: Source_Download.cc 53522 2008-11-21 14:34:51Z lslezak $
+ File: $Id: Source_Download.cc 53642 2008-11-27 10:00:16Z lslezak $
Author: Ladislav Slezák
Summary: Functions for downloading files from a repository
Namespace: Pkg
@@ -68,6 +68,14 @@
if (optional)
_silent_probing = ZyppRecipients::MEDIA_CHANGE_OPTIONALFILE;
+ y2milestone("Downloading %s%sfile %s from repository %lld, medium %lld",
+ (optional ? "optional " : ""),
+ (check_signatures ? (digested ? "digested " : "signed ") : ""),
+ f->value().c_str(),
+ id->value(),
+ mid->value()
+ );
+
zypp::filesystem::Pathname path; // FIXME use ManagedMedia
if (found)
{
@@ -77,6 +85,8 @@
{
// use a Fetcher for downloading signed files (see bnc#409927)
zypp::Fetcher fch;
+ fch.reset();
+ fch.setOptions(zypp::Fetcher::AutoAddIndexes);
// path - add "/" to the beginning if it's missing there
std::string media_path(f->value());
@@ -89,12 +99,12 @@
// the file is never optional for zypp (it cannot tell whether an optional file failed)
mloc.setOptional(false);
- zypp::filesystem::TmpDir tmpdir;
+ // create the tmpdir in <_download_area>/var/tmp
+ zypp::filesystem::TmpDir tmpdir(_download_area / zypp::filesystem::TmpDir::defaultLocation());
// keep a reference to the tmpdir so the directory is not deleted at the and of the block
tmp_dirs.push_back(tmpdir);
path = tmpdir.path();
- fch.setOptions(zypp::Fetcher::AutoAddIndexes);
if (digested)
{
@@ -107,7 +117,7 @@
fch.start(path, *repo->mediaAccess()); // uses MediaAccess to retrieve
fch.reset();
- path = tmpdir.path() / f->value();
+ path /= f->value();
}
else
{
@@ -149,6 +159,7 @@
* @short Make a file available at the local filesystem
* @description
* Let an InstSrc provide some file (make it available at the local filesystem).
+ * Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!
*
* @param integer SrcId Specifies the InstSrc .
* @param integer medianr Number of the media the file is located on ('1' for the 1st media).
@@ -169,6 +180,7 @@
* @description
* Let an InstSrc provide some file (make it available at the local filesystem).
* If the file doesn't exist don't ask user for another medium and return nil
+ * Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!
*
* @param integer SrcId Specifies the InstSrc .
* @param integer medianr Number of the media the file is located on ('1' for the 1st media).
@@ -189,6 +201,7 @@
* @description
* Make a signed Let an InstSrc provide some file (make it available at the local filesystem).
* The signature is read from <filename>.asc file, the GPG key is read from <filename>.key file.
+ * Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!
*
* @param integer id Source ID
* @param integer mid Number of the media the file is located on ('1' for the 1st media).
@@ -216,6 +229,7 @@
* @description
* Make a signed Let an InstSrc provide some file (make it available at the local filesystem).
* The checksum is stored either in /content file or in SHA1SUMS file.
+ * Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!
*
* @param integer id Source ID
* @param integer mid Number of the media the file is located on ('1' for the 1st media).
@@ -241,6 +255,7 @@
* @description
* Let an InstSrc provide some directory (make it available at the local filesystem) and
* all the files within it (non recursive).
+ * Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!
*
* @param integer SrcId Specifies the InstSrc .
* @param integer medianr Number of the media the file is located on ('1' for the 1st media).
@@ -262,6 +277,7 @@
* @description
* Download a directory from repository (make it available at the local filesystem) and
* all the files within it.
+ * Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!
*
* @param integer id repository to use (id)
* @param integer mid Number of the media where the directory is located on ('1' for the 1st media).
@@ -284,6 +300,7 @@
* Download a directory from repository (make it available at the local filesystem) and
* all the files within it. Requires that all files have been signed with SHA1 checksum.
* If there is no checksum or the checksum doesn't match the download fails.
+ * Warning: The downloaded files are removed in Pkg::SourceReleaseAll()!
*
* @param integer id repository to use (id)
* @param integer mid Number of the media where the directory is located on ('1' for the 1st media).
@@ -327,8 +344,10 @@
{
// use a Fetcher for downloading signed files (see bnc#409927)
zypp::Fetcher f;
+ f.reset();
zypp::OnMediaLocation mloc(d->value(), mid->value());
- zypp::filesystem::TmpDir tmpdir;
+ // create the tmpdir in <_root>/var/tmp
+ zypp::filesystem::TmpDir tmpdir(_download_area / zypp::filesystem::TmpDir::defaultLocation() );
// keep the reference to the tmpdir so the directory is not deleted at the and of the block
tmp_dirs.push_back(tmpdir);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.28/src/Source_Installation.cc new/yast2-pkg-bindings-2.17.29/src/Source_Installation.cc
--- old/yast2-pkg-bindings-2.17.28/src/Source_Installation.cc 2008-01-03 16:05:59.000000000 +0100
+++ new/yast2-pkg-bindings-2.17.29/src/Source_Installation.cc 2008-11-27 11:00:16.000000000 +0100
@@ -19,7 +19,7 @@
*/
/*
- File: $Id: Source_Installation.cc 43261 2008-01-03 15:05:57Z lslezak $
+ File: $Id: Source_Installation.cc 53642 2008-11-27 10:00:16Z lslezak $
Author: Ladislav Slezák
Summary: Functions used during system installation
Namespace: Pkg
@@ -148,11 +148,18 @@
YCPValue
PkgFunctions::SourceMoveDownloadArea (const YCPString & path)
{
+ if (path.isNull())
+ {
+ y2error("Error: Pkg::SourceMoveDownloadArea(): nil argument");
+ return YCPBoolean(false);
+ }
+
try
{
y2milestone("Moving download area of all sources to %s", path->value().c_str());
zypp::media::MediaManager manager;
manager.setAttachPrefix(path->value());
+ _download_area = path->value();
}
catch (zypp::Exception & excpt)
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.28/src/Source_Save.cc new/yast2-pkg-bindings-2.17.29/src/Source_Save.cc
--- old/yast2-pkg-bindings-2.17.28/src/Source_Save.cc 2008-10-02 12:54:20.000000000 +0200
+++ new/yast2-pkg-bindings-2.17.29/src/Source_Save.cc 2008-11-27 11:00:16.000000000 +0100
@@ -19,7 +19,7 @@
*/
/*
- File: $Id: Source_Save.cc 51780 2008-10-02 10:54:18Z lslezak $
+ File: $Id: Source_Save.cc 53642 2008-11-27 10:00:16Z lslezak $
Author: Ladislav Slezák
Summary: Functions for saving repository configuration
Namespace: Pkg
@@ -42,6 +42,7 @@
* @builtin SourceReleaseAll
*
* @short Release all medias hold by all sources
+ * Warning: It also deletes the downloaded files!
* @return boolean
**/
YCPValue
@@ -50,6 +51,9 @@
y2milestone("Releasing all sources...");
bool ret = true;
+ y2milestone("Removing all tmp directories");
+ tmp_dirs.clear();
+
for (RepoCont::iterator it = repos.begin();
it != repos.end(); ++it)
{
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-pkg-bindings-2.17.28/VERSION new/yast2-pkg-bindings-2.17.29/VERSION
--- old/yast2-pkg-bindings-2.17.28/VERSION 2008-11-21 15:22:17.000000000 +0100
+++ new/yast2-pkg-bindings-2.17.29/VERSION 2008-11-27 10:56:00.000000000 +0100
@@ -1 +1 @@
-2.17.28
+2.17.29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org