Hello community, here is the log from the commit of package libzypp checked in at Mon Mar 3 03:33:54 CET 2008. -------- --- libzypp/libzypp.changes 2008-03-02 10:29:55.000000000 +0100 +++ /mounts/work_src_done/STABLE/libzypp/libzypp.changes 2008-03-02 18:13:34.000000000 +0100 @@ -1,0 +2,7 @@ +Sun Mar 2 16:13:16 CET 2008 - coolo@suse.de + +- refresh metadata if there is no cache to unbreak compat with + kiwi (that relied on "zypper sa <url> <alias>" to create a repo + that "zypper in" could work on) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp.spec ++++++ --- /var/tmp/diff_new_pack.w15362/_old 2008-03-03 03:33:39.000000000 +0100 +++ /var/tmp/diff_new_pack.w15362/_new 2008-03-03 03:33:39.000000000 +0100 @@ -18,7 +18,7 @@ AutoReqProv: on Summary: Package, Patch, Pattern, and Product Management Version: 4.3.1 -Release: 1 +Release: 2 Source: libzypp-4.3.1.tar.bz2 Source1: libzypp-rpmlintrc Prefix: /usr @@ -147,6 +147,10 @@ %changelog * Sun Mar 02 2008 coolo@suse.de +- refresh metadata if there is no cache to unbreak compat with + kiwi (that relied on "zypper sa <url> <alias>" to create a repo + that "zypper in" could work on) +* Sun Mar 02 2008 coolo@suse.de - create cache directory before calling rpmdb2solv (in an empty chroot) - version 4.3.1 ++++++ libzypp-4.3.1.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libzypp-4.3.1/package/libzypp.changes new/libzypp-4.3.1/package/libzypp.changes --- old/libzypp-4.3.1/package/libzypp.changes 2008-03-02 10:29:47.000000000 +0100 +++ new/libzypp-4.3.1/package/libzypp.changes 2008-03-02 18:13:23.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Sun Mar 2 16:13:16 CET 2008 - coolo@suse.de + +- refresh metadata if there is no cache to unbreak compat with + kiwi (that relied on "zypper sa <url> <alias>" to create a repo + that "zypper in" could work on) + +------------------------------------------------------------------- Sun Mar 2 10:28:13 CET 2008 - coolo@suse.de - create cache directory before calling rpmdb2solv (in an empty diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/libzypp-4.3.1/zypp/RepoManager.cc new/libzypp-4.3.1/zypp/RepoManager.cc --- old/libzypp-4.3.1/zypp/RepoManager.cc 2008-03-02 10:29:48.000000000 +0100 +++ new/libzypp-4.3.1/zypp/RepoManager.cc 2008-03-02 18:13:24.000000000 +0100 @@ -675,7 +675,10 @@ RepoStatus raw_metadata_status = metadataStatus(info); if ( raw_metadata_status.empty() ) { - ZYPP_THROW(RepoMetadataException(info)); + /* if there is no cache at this point, we refresh the raw + in case this is the first time - if it's !autorefresh, + we may still refresh */ + refreshMetadata(info, RefreshIfNeeded, progressrcv ); } bool needs_cleaning = false; @@ -698,6 +701,12 @@ needs_cleaning = true; } + else { + /* if there is no cache at this point, we refresh the raw + in case this is the first time - if it's !autorefresh, + we may still refresh */ + refreshMetadata(info, RefreshIfNeeded, progressrcv ); + } ProgressData progress(100); callback::SendReport<ProgressReport> report; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org