Hello community,
here is the log from the commit of package yast2-packager
checked in at Fri Aug 31 16:06:35 CEST 2007.
--------
--- yast2-packager/yast2-packager.changes 2007-08-29 16:46:13.000000000 +0200
+++ /mounts/work_src_done/STABLE/yast2-packager/yast2-packager.changes 2007-08-31 12:53:46.048585000 +0200
@@ -1,0 +2,7 @@
+Fri Aug 31 12:45:59 CEST 2007 - lslezak@suse.cz
+
+- check exit status and report errors when adding online
+ repositories (#306272)
+- 2.15.70
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.15.69.tar.bz2
New:
----
yast2-packager-2.15.70.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.XSV967/_old 2007-08-31 16:05:27.000000000 +0200
+++ /var/tmp/diff_new_pack.XSV967/_new 2007-08-31 16:05:27.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.15.69)
+# spec file for package yast2-packager (Version 2.15.70)
#
# 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-packager
-Version: 2.15.69
+Version: 2.15.70
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.15.69.tar.bz2
+Source0: yast2-packager-2.15.70.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2-country yast2-devtools yast2-slp yast2-testsuite yast2-xml
BuildRequires: yast2 >= 2.15.38
@@ -55,7 +55,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.15.69
+%setup -n yast2-packager-2.15.70
%build
%{prefix}/bin/y2tool y2autoconf
@@ -96,6 +96,10 @@
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog
+* Fri Aug 31 2007 - lslezak@suse.cz
+- check exit status and report errors when adding online
+ repositories (#306272)
+- 2.15.70
* Wed Aug 29 2007 - lslezak@suse.cz
- fully initialize the target system when adding an update
repository (#304310)
++++++ yast2-packager-2.15.69.tar.bz2 -> yast2-packager-2.15.70.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.69/configure new/yast2-packager-2.15.70/configure
--- old/yast2-packager-2.15.69/configure 2007-08-29 16:45:20.000000000 +0200
+++ new/yast2-packager-2.15.70/configure 2007-08-31 12:53:23.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-packager 2.15.69.
+# Generated by GNU Autoconf 2.61 for yast2-packager 2.15.70.
#
# Report bugs to http://bugs.opensuse.org/.
#
@@ -574,8 +574,8 @@
# Identity of this package.
PACKAGE_NAME='yast2-packager'
PACKAGE_TARNAME='yast2-packager'
-PACKAGE_VERSION='2.15.69'
-PACKAGE_STRING='yast2-packager 2.15.69'
+PACKAGE_VERSION='2.15.70'
+PACKAGE_STRING='yast2-packager 2.15.70'
PACKAGE_BUGREPORT='http://bugs.opensuse.org/'
ac_unique_file="RPMNAME"
@@ -1197,7 +1197,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-packager 2.15.69 to adapt to many kinds of systems.
+\`configure' configures yast2-packager 2.15.70 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1268,7 +1268,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of yast2-packager 2.15.69:";;
+ short | recursive ) echo "Configuration of yast2-packager 2.15.70:";;
esac
cat <<\_ACEOF
@@ -1346,7 +1346,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-yast2-packager configure 2.15.69
+yast2-packager configure 2.15.70
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1360,7 +1360,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-packager $as_me 2.15.69, which was
+It was created by yast2-packager $as_me 2.15.70, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2181,7 +2181,7 @@
# Define the identity of the package.
PACKAGE='yast2-packager'
- VERSION='2.15.69'
+ VERSION='2.15.70'
cat >>confdefs.h <<_ACEOF
@@ -2408,7 +2408,7 @@
-VERSION="2.15.69"
+VERSION="2.15.70"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
@@ -3305,7 +3305,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by yast2-packager $as_me 2.15.69, which was
+This file was extended by yast2-packager $as_me 2.15.70, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3348,7 +3348,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-yast2-packager config.status 2.15.69
+yast2-packager config.status 2.15.70
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-packager-2.15.69/configure.in new/yast2-packager-2.15.70/configure.in
--- old/yast2-packager-2.15.69/configure.in 2007-08-29 16:45:15.000000000 +0200
+++ new/yast2-packager-2.15.70/configure.in 2007-08-31 12:53:18.000000000 +0200
@@ -3,7 +3,7 @@
dnl -- This file is generated by y2autoconf 2.15.7 - DO NOT EDIT! --
dnl (edit configure.in.in instead)
-AC_INIT(yast2-packager, 2.15.69, http://bugs.opensuse.org/, yast2-packager)
+AC_INIT(yast2-packager, 2.15.70, http://bugs.opensuse.org/, yast2-packager)
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.69"
+VERSION="2.15.70"
RPMNAME="yast2-packager"
MAINTAINER="Ladislav Slezak "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.69/src/clients/inst_productsources.ycp new/yast2-packager-2.15.70/src/clients/inst_productsources.ycp
--- old/yast2-packager-2.15.69/src/clients/inst_productsources.ycp 2007-08-22 16:17:25.000000000 +0200
+++ new/yast2-packager-2.15.70/src/clients/inst_productsources.ycp 2007-08-31 12:51:33.000000000 +0200
@@ -1021,9 +1021,29 @@
return false;
}
- Pkg::SourceRefreshNow (src_id);
+ if (!Pkg::SourceRefreshNow (src_id))
+ {
+ Report::Error (sformat (
+ // TRANSLATORS: pop-up error message
+ // %1 is replaced with a repository name or URL
+ _("Adding repository %1 failed"),
+ (repo_name != "" ? repo_name : url))
+ + "\n" + Pkg::LastError()
+ );
+ return false;
+ }
- Pkg::SourceSetEnabled (src_id, true);
+ if (!Pkg::SourceSetEnabled (src_id, true))
+ {
+ Report::Error (sformat (
+ // TRANSLATORS: pop-up error message
+ // %1 is replaced with a repository name or URL
+ _("Adding repository %1 failed"),
+ (repo_name != "" ? repo_name : url))
+ + "\n" + Pkg::LastError()
+ );
+ return false;
+ }
if (Stage::initial()) {
AddOnProduct::Integrate (src_id);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.69/src/modules/PackageCallbacks.ycp new/yast2-packager-2.15.70/src/modules/PackageCallbacks.ycp
--- old/yast2-packager-2.15.69/src/modules/PackageCallbacks.ycp 2007-08-27 16:16:11.000000000 +0200
+++ new/yast2-packager-2.15.70/src/modules/PackageCallbacks.ycp 2007-08-30 16:32:27.000000000 +0200
@@ -7,7 +7,7 @@
*
* Purpose: provides the default Callbacks for Pkg::
*
- * $Id: PackageCallbacks.ycp 40505 2007-08-27 14:16:11Z lslezak $
+ * $Id: PackageCallbacks.ycp 40627 2007-08-30 14:32:27Z lslezak $
*
*/
@@ -1566,7 +1566,7 @@
global void StartDownload (string url, string localfile)
{
- y2milestone("Downloading %1 to %2", url, localfile);
+ y2debug("Downloading %1 to %2", url, localfile);
// heading of popup
string heading = _("Downloading");
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/yast2-packager-2.15.69/VERSION new/yast2-packager-2.15.70/VERSION
--- old/yast2-packager-2.15.69/VERSION 2007-08-29 16:35:13.000000000 +0200
+++ new/yast2-packager-2.15.70/VERSION 2007-08-31 12:45:55.000000000 +0200
@@ -1 +1 @@
-2.15.69
+2.15.70
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org