Hello community,
here is the log from the commit of package yast2-packager
checked in at Wed Apr 5 18:47:23 CEST 2006.
--------
--- yast2-packager/yast2-packager.changes 2006-04-05 09:54:09.000000000 +0200
+++ yast2-packager/yast2-packager.changes 2006-04-05 18:09:05.000000000 +0200
@@ -1,0 +2,31 @@
+Wed Apr 5 18:08:46 CEST 2006 - mvidner@suse.cz
+
+- Call SourceManager::SyncYaSTInstSourceWithZMD () in
+ inst_rpmcopy(continue) because inst_suse_register does not run
+ without a network connection (#156030#c30).
+- Do not sync if rug not present.
+- Report rug errors to the user.
+- Delete sources only after we do not need their data for syncing.
+- 2.13.63
+
+-------------------------------------------------------------------
+Wed Apr 5 16:29:09 CEST 2006 - mvidner@suse.cz
+
+- Added SourceManager::SyncAddedAndDeleted and calling it from
+ inst_source (#156030#c29).
+- 2.13.62
+
+-------------------------------------------------------------------
+Wed Apr 5 15:49:09 CEST 2006 - locilka@suse.cz
+
+- Some new texts and dialogs for SignatureCheckDialogs
+- New functions for Pkg:: callbacks:
+ - CallbackAcceptUnsignedFile
+ - CallbackAcceptUnknownGpgKey
+ - CallbackImportGpgKey
+ - CallbackAcceptVerificationFailed
+ - CallbackTrustedKeyAdded
+ - CallbackTrustedKeyRemoved
+- 2.13.61
+
+-------------------------------------------------------------------
Old:
----
yast2-packager-2.13.60.tar.bz2
New:
----
yast2-packager-2.13.63.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.AU8MOn/_old 2006-04-05 18:46:41.000000000 +0200
+++ /var/tmp/diff_new_pack.AU8MOn/_new 2006-04-05 18:46:41.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package yast2-packager (Version 2.13.60)
+# spec file for package yast2-packager (Version 2.13.63)
#
# 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-packager
-Version: 2.13.60
+Version: 2.13.63
Release: 1
License: GPL
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Source0: yast2-packager-2.13.60.tar.bz2
+Source0: yast2-packager-2.13.63.tar.bz2
prefix: /usr
BuildRequires: docbook-xsl-stylesheets doxygen gcc-c++ libxcrypt-devel libxslt perl-XML-Writer sgml-skel update-desktop-files yast2 yast2-country yast2-devtools yast2-installation yast2-testsuite yast2-xml
Requires: yast2 yast2-installation checkmedia yast2-country
@@ -41,7 +41,7 @@
Arvin Schnell
%prep
-%setup -n yast2-packager-2.13.60
+%setup -n yast2-packager-2.13.63
%build
%{prefix}/bin/y2tool y2autoconf
@@ -78,6 +78,28 @@
%doc %{prefix}/share/doc/packages/yast2-packager
%changelog -n yast2-packager
+* Wed Apr 05 2006 - mvidner@suse.cz
+- Call SourceManager::SyncYaSTInstSourceWithZMD () in
+ inst_rpmcopy(continue) because inst_suse_register does not run
+ without a network connection (#156030#c30).
+- Do not sync if rug not present.
+- Report rug errors to the user.
+- Delete sources only after we do not need their data for syncing.
+- 2.13.63
+* Wed Apr 05 2006 - mvidner@suse.cz
+- Added SourceManager::SyncAddedAndDeleted and calling it from
+ inst_source (#156030#c29).
+- 2.13.62
+* Wed Apr 05 2006 - locilka@suse.cz
+- Some new texts and dialogs for SignatureCheckDialogs
+- New functions for Pkg:: callbacks:
+- CallbackAcceptUnsignedFile
+- CallbackAcceptUnknownGpgKey
+- CallbackImportGpgKey
+- CallbackAcceptVerificationFailed
+- CallbackTrustedKeyAdded
+- CallbackTrustedKeyRemoved
+- 2.13.61
* Wed Apr 05 2006 - visnov@suse.cz
- Show the type of the source in installation sources module if needed
- 2.13.60
++++++ yast2-packager-2.13.60.tar.bz2 -> yast2-packager-2.13.63.tar.bz2 ++++++
++++ 4888 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.60/Makefile.am new/yast2-packager-2.13.63/Makefile.am
--- old/yast2-packager-2.13.60/Makefile.am 2006-03-13 14:18:11.000000000 +0100
+++ new/yast2-packager-2.13.63/Makefile.am 2006-04-05 18:09:40.000000000 +0200
@@ -154,7 +154,7 @@
$(PREFIX)/bin/y2tool create-spec < $$i > $$here/package/$${newname} ; \
done
-package: check-up-to-date check-tagversion check-all-packages package-local
+package: check-up-to-date check-tagversion check-all-packages check-textdomain package-local
TAGVERSION = $(PREFIX)/bin/y2tool tagversion
@@ -199,6 +199,9 @@
false; \
fi
+check-textdomain:
+ $(PREFIX)/bin/y2tool check-textdomain $(srcdir)
+
stable: checkin-stable
checkin-stable: package
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.60/VERSION new/yast2-packager-2.13.63/VERSION
--- old/yast2-packager-2.13.60/VERSION 2006-04-05 09:49:53.000000000 +0200
+++ new/yast2-packager-2.13.63/VERSION 2006-04-05 18:03:31.000000000 +0200
@@ -1 +1 @@
-2.13.60
+2.13.63
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.60/configure.in new/yast2-packager-2.13.63/configure.in
--- old/yast2-packager-2.13.60/configure.in 2006-03-13 14:18:11.000000000 +0100
+++ new/yast2-packager-2.13.63/configure.in 2006-04-05 18:09:40.000000000 +0200
@@ -1,9 +1,9 @@
dnl configure.in for yast2-packager
dnl
-dnl -- This file is generated by y2autoconf - 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-packager, 2.13.41, http://www.suse.de/feedback, yast2-packager)
+AC_INIT(yast2-packager, 2.13.63, http://www.suse.de/feedback, 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.13.41"
+VERSION="2.13.63"
RPMNAME="yast2-packager"
MAINTAINER="Jiri Srain "
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.60/src/clients/inst_rpmcopy.ycp new/yast2-packager-2.13.63/src/clients/inst_rpmcopy.ycp
--- old/yast2-packager-2.13.60/src/clients/inst_rpmcopy.ycp 2006-03-28 14:10:21.000000000 +0200
+++ new/yast2-packager-2.13.63/src/clients/inst_rpmcopy.ycp 2006-04-05 18:09:12.000000000 +0200
@@ -13,7 +13,7 @@
* Packages module :
* "installed"
*
- * $Id: inst_rpmcopy.ycp 29461 2006-03-28 11:42:01Z locilka $
+ * $Id: inst_rpmcopy.ycp 29756 2006-04-05 16:09:06Z mvidner $
*/
{
@@ -34,6 +34,7 @@
import "Report";
import "Kernel";
import "Service";
+ import "SourceManager";
// variables related to installation source caching
@@ -776,7 +777,8 @@
}
else if (Stage::cont ())
{
- CleanupDiskCache ();
+ SourceManager::SyncYaSTInstSourceWithZMD (); // #156030
+ CleanupDiskCache ();
}
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/yast2-packager-2.13.60/src/clients/inst_source.ycp new/yast2-packager-2.13.63/src/clients/inst_source.ycp
--- old/yast2-packager-2.13.60/src/clients/inst_source.ycp 2006-04-05 09:48:34.000000000 +0200
+++ new/yast2-packager-2.13.63/src/clients/inst_source.ycp 2006-04-05 17:46:04.000000000 +0200
@@ -17,6 +17,9 @@
import "PackageCallbacksInit";
import "PackageLock";
import "SLP";
+ // SourceManager overlaps quite a bit with inst_source,
+ // so far we only use it for ZMD sync, TODO refactor better
+ import "SourceManager";
import "Wizard";
import "Label";
@@ -161,6 +164,27 @@
}
}
+ /**
+ * @param statesOld sourceStates{In or Out}
+ * @param statesNew sourceStates{In or Out}
+ * @return the list of SrcId's that are in statesNew but not statesOld
+ */
+ list<integer> newSources (list