Hello community, here is the log from the commit of package zypper for openSUSE:Factory checked in at Sat Mar 7 11:42:45 CET 2009. -------- --- zypper/zypper.changes 2009-02-17 14:15:00.000000000 +0100 +++ /mounts/work_src_done/STABLE/zypper/zypper.changes 2009-02-24 16:42:38.000000000 +0100 @@ -1,0 +2,8 @@ +Tue Feb 24 16:38:16 CET 2009 - ma@suse.de + +- Let 'zypper clean' keep the raw metadata cache of CD/DVD based + repositories. We'd need the CD/DVD again to recreate the data. + If this is actually desired, explicitly remove an recreate the + CD/DVD based repository. (bnc #476429). + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zypper.spec ++++++ --- /var/tmp/diff_new_pack.P21145/_old 2009-03-07 11:42:36.000000000 +0100 +++ /var/tmp/diff_new_pack.P21145/_new 2009-03-07 11:42:36.000000000 +0100 @@ -30,7 +30,7 @@ PreReq: permissions Summary: Command line software manager using libzypp Version: 1.1.0 -Release: 1 +Release: 2 Source: zypper-1.1.0.tar.bz2 Prefix: /usr Url: http://en.opensuse.org/Zypper @@ -116,7 +116,13 @@ # declare ownership of the log file but prevent # it from being erased by rpm -e %ghost %config(noreplace) %{_var}/log/zypper.log + %changelog +* Tue Feb 24 2009 ma@suse.de +- Let 'zypper clean' keep the raw metadata cache of CD/DVD based + repositories. We'd need the CD/DVD again to recreate the data. + If this is actually desired, explicitly remove an recreate the + CD/DVD based repository. (bnc #476429). * Sun Feb 15 2009 jkupec@suse.cz - Writing additional rpm output after installing/removing packages (bnc #369450) ++++++ zypper-1.1.0.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zypper-1.1.0/package/zypper.changes new/zypper-1.1.0/package/zypper.changes --- old/zypper-1.1.0/package/zypper.changes 2009-02-17 14:13:18.000000000 +0100 +++ new/zypper-1.1.0/package/zypper.changes 2009-03-04 18:33:41.000000000 +0100 @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Tue Feb 24 16:38:16 CET 2009 - ma@suse.de + +- Let 'zypper clean' keep the raw metadata cache of CD/DVD based + repositories. We'd need the CD/DVD again to recreate the data. + If this is actually desired, explicitly remove an recreate the + CD/DVD based repository. (bnc #476429). + +------------------------------------------------------------------- Sun Feb 15 21:43:13 CET 2009 - jkupec@suse.cz - Writing additional rpm output after installing/removing packages diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/zypper-1.1.0/src/repos.cc new/zypper-1.1.0/src/repos.cc --- old/zypper-1.1.0/src/repos.cc 2009-02-17 14:13:18.000000000 +0100 +++ new/zypper-1.1.0/src/repos.cc 2009-03-04 18:33:41.000000000 +0100 @@ -1157,10 +1157,20 @@ } if( clean_raw_metadata ) { - zypper.out().info(boost::str(format( - _("Cleaning raw metadata cache for '%s'.")) % repo.alias ()), - Out::HIGH); - manager.cleanMetadata(repo); + std::string scheme( repo.url().getScheme() ); + if ( ! ( scheme == "cd" || scheme == "dvd" ) ) + { + zypper.out().info(boost::str(format( + _("Cleaning raw metadata cache for '%s'.")) % repo.alias ()), + Out::HIGH); + manager.cleanMetadata(repo); + } + else + { + zypper.out().info(boost::str(format( + _("Keeping raw metadata cache for %s '%s'.")) %scheme %repo.alias ()), + Out::HIGH); + } } if( clean_packages ) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org