Hello community, here is the log from the commit of package libzypp-zmd-backend checked in at Mon Nov 20 18:57:13 CET 2006. -------- --- libzypp-zmd-backend/libzypp-zmd-backend.changes 2006-10-19 12:56:50.000000000 +0200 +++ /mounts/work_src_done/STABLE/libzypp-zmd-backend/libzypp-zmd-backend.changes 2006-11-20 12:09:51.000000000 +0100 @@ -1,0 +2,13 @@ +Mon Nov 20 11:58:10 CET 2006 - dmacvicar@suse.de + +- Patch 'interactive' is not a fix property but a calculated value. + It should not be serialized and not stored in the sqlite db. + PatchImplIf will provide an imoplementation, so there should + be no more need to overload it in derived classes. +- removed Patch:: methods not longer in zypp + not_installed_atoms + mark_atoms_to_freshen + any_atom_selected +- r4623 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp-zmd-backend.spec ++++++ --- /var/tmp/diff_new_pack.233mly/_old 2006-11-20 18:56:44.000000000 +0100 +++ /var/tmp/diff_new_pack.233mly/_new 2006-11-20 18:56:44.000000000 +0100 @@ -12,8 +12,8 @@ Name: libzypp-zmd-backend Version: 7.1.1.0_0.4 -Release: 15 -License: Other License(s), see package +Release: 31 +License: GNU General Public License (GPL) Group: System/Management Summary: ZMD backend for Package, Patch, Pattern, and Product Management Requires: libzypp >= %( echo `rpm -q --queryformat '%{VERSION}-%{RELEASE}' libzypp`) @@ -24,9 +24,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: dejagnu gcc-c++ sqlite-devel # API Changes in zypp 2.1 -BuildRequires: libzypp-devel >= 2.1.0 -BuildRequires: libzypp >= 2.1.0 -Requires: libzypp >= 2.1.0 +BuildRequires: libzypp-devel >= 2.8.1 +BuildRequires: libzypp >= 2.8.1 +Requires: libzypp >= 2.8.1 Source: zmd-backend-%{version}.tar.bz2 Prefix: /usr @@ -72,6 +72,16 @@ /etc/logrotate.d/zmd-backend %changelog -n libzypp-zmd-backend +* Mon Nov 20 2006 - dmacvicar@suse.de +- Patch 'interactive' is not a fix property but a calculated value. + It should not be serialized and not stored in the sqlite db. + PatchImplIf will provide an imoplementation, so there should + be no more need to overload it in derived classes. +- removed Patch:: methods not longer in zypp + not_installed_atoms + mark_atoms_to_freshen + any_atom_selected +- r4623 * Thu Oct 19 2006 - schwab@suse.de - Make sure config.rpath is present. * Wed Oct 18 2006 - dmacvicar@suse.de ++++++ zmd-backend-7.1.1.0_0.4.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-backend-7.1.1.0_0.4/libzypp-zmd-backend.spec.in new/zmd-backend-7.1.1.0_0.4/libzypp-zmd-backend.spec.in --- old/zmd-backend-7.1.1.0_0.4/libzypp-zmd-backend.spec.in 2006-10-19 12:48:13.000000000 +0200 +++ new/zmd-backend-7.1.1.0_0.4/libzypp-zmd-backend.spec.in 2006-11-20 11:59:25.000000000 +0100 @@ -25,9 +25,9 @@ BuildRequires: dejagnu gcc-c++ sqlite-devel # API Changes in zypp 2.1 -BuildRequires: libzypp-devel >= 2.1.0 -BuildRequires: libzypp >= 2.1.0 -Requires: libzypp >= 2.1.0 +BuildRequires: libzypp-devel >= 2.8.1 +BuildRequires: libzypp >= 2.8.1 +Requires: libzypp >= 2.8.1 Source: zmd-backend-%{version}.tar.bz2 Prefix: /usr diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-backend-7.1.1.0_0.4/src/dbsource/DbAccess.cc new/zmd-backend-7.1.1.0_0.4/src/dbsource/DbAccess.cc --- old/zmd-backend-7.1.1.0_0.4/src/dbsource/DbAccess.cc 2006-10-04 18:11:13.000000000 +0200 +++ new/zmd-backend-7.1.1.0_0.4/src/dbsource/DbAccess.cc 2006-11-20 11:50:06.000000000 +0100 @@ -382,10 +382,10 @@ // 3 " creation_time," // 4 5 6 - " reboot, restart, interactive," + " reboot, restart," // 7 8 " summary, description) " - "VALUES (?, ?, ?, ?, ?, ?, ?, ?)" + "VALUES (?, ?, ?, ?, ?, ?, ?)" ""); return prepare_handle( db, query ); @@ -1129,9 +1129,8 @@ sqlite3_bind_int64( handle, 3, patch->timestamp() ); sqlite3_bind_int( handle, 4, patch->reboot_needed() ? 1 : 0 ); sqlite3_bind_int( handle, 5, patch->affects_pkg_manager() ? 1 : 0 ); - sqlite3_bind_int( handle, 6, patch->interactive() ? 1 : 0 ); - sqlite3_bind_text( handle, 7, patch->summary().c_str(), -1, SQLITE_STATIC ); - sqlite3_bind_text( handle, 8, desc2str(patch->description()).c_str(), -1, SQLITE_STATIC ); + sqlite3_bind_text( handle, 6, patch->summary().c_str(), -1, SQLITE_STATIC ); + sqlite3_bind_text( handle, 7, desc2str(patch->description()).c_str(), -1, SQLITE_STATIC ); rc = sqlite3_step( handle); sqlite3_reset( handle); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-backend-7.1.1.0_0.4/src/dbsource/DbPatchImpl.cc new/zmd-backend-7.1.1.0_0.4/src/dbsource/DbPatchImpl.cc --- old/zmd-backend-7.1.1.0_0.4/src/dbsource/DbPatchImpl.cc 2006-09-12 15:33:20.000000000 +0200 +++ new/zmd-backend-7.1.1.0_0.4/src/dbsource/DbPatchImpl.cc 2006-11-20 11:48:40.000000000 +0100 @@ -35,7 +35,6 @@ : _source (source_r) , _reboot_needed( false ) , _affects_pkg_manager( false ) - , _interactive( false ) {} /** @@ -50,7 +49,7 @@ " installed, local, patch_id, status," // 12 13 14 " creation_time, category, reboot," - // 15 16 + // 15 16 (removed) " restart, interactive" */ @@ -75,7 +74,6 @@ _reboot_needed = (sqlite3_column_int( handle, 14 ) != 0); _affects_pkg_manager = (sqlite3_column_int( handle, 15 ) != 0); - _interactive = (sqlite3_column_int( handle, 16 ) != 0); return; } @@ -122,11 +120,6 @@ { return _affects_pkg_manager; } -/** Is the patch installation interactive? (does it need user input?) */ -bool DbPatchImpl::interactive() const -{ - return _interactive; -} ///////////////////////////////////////////////////////////////// } // namespace zypp diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zmd-backend-7.1.1.0_0.4/src/dbsource/DbPatchImpl.h new/zmd-backend-7.1.1.0_0.4/src/dbsource/DbPatchImpl.h --- old/zmd-backend-7.1.1.0_0.4/src/dbsource/DbPatchImpl.h 2006-09-12 15:33:17.000000000 +0200 +++ new/zmd-backend-7.1.1.0_0.4/src/dbsource/DbPatchImpl.h 2006-11-20 11:47:57.000000000 +0100 @@ -52,30 +52,12 @@ virtual bool affects_pkg_manager() const; /** */ virtual ByteCount size() const; - - /** Is the patch installation interactive? (does it need user input?) */ - virtual bool interactive() const; - + /** The list of all atoms building the patch */ virtual AtomList all_atoms() const { return AtomList(); } - /** The list of those atoms which have not been installed */ - virtual AtomList not_installed_atoms() const - { - return AtomList(); - } - -// TODO check necessarity of functions below - virtual void mark_atoms_to_freshen(bool freshen) - { - return; - } - virtual bool any_atom_selected() const - { - return false; - } protected: Source_Ref _source; @@ -85,7 +67,6 @@ std::string _category; bool _reboot_needed; bool _affects_pkg_manager; - bool _interactive; ByteCount _size_installed; ByteCount _size_archive; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org