Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzypp for openSUSE:Factory checked in at 2024-04-21 20:24:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzypp (Old) and /work/SRC/openSUSE:Factory/.libzypp.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp" Sun Apr 21 20:24:48 2024 rev:491 rq:1169213 version:17.32.5 Changes: -------- --- /work/SRC/openSUSE:Factory/libzypp/libzypp.changes 2024-04-18 22:11:36.855294286 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp.new.26366/libzypp.changes 2024-04-21 20:25:19.101600326 +0200 @@ -1,0 +2,7 @@ +Fri Apr 19 15:58:26 CEST 2024 - m...@suse.de + +- Don't try to refresh volatile media as long as raw metadata are + present (bsc#1223094) +- version 17.32.5 (32) + +------------------------------------------------------------------- Old: ---- libzypp-17.32.4.tar.bz2 New: ---- libzypp-17.32.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp.spec ++++++ --- /var/tmp/diff_new_pack.KM7x7i/_old 2024-04-21 20:25:19.721623076 +0200 +++ /var/tmp/diff_new_pack.KM7x7i/_new 2024-04-21 20:25:19.721623076 +0200 @@ -42,7 +42,7 @@ %bcond_with enable_preview_single_rpmtrans_as_default_for_zypper Name: libzypp -Version: 17.32.4 +Version: 17.32.5 Release: 0 License: GPL-2.0-or-later URL: https://github.com/openSUSE/libzypp ++++++ libzypp-17.32.4.tar.bz2 -> libzypp-17.32.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.32.4/VERSION.cmake new/libzypp-17.32.5/VERSION.cmake --- old/libzypp-17.32.4/VERSION.cmake 2024-04-17 17:10:07.000000000 +0200 +++ new/libzypp-17.32.5/VERSION.cmake 2024-04-19 15:58:46.000000000 +0200 @@ -61,8 +61,8 @@ SET(LIBZYPP_MAJOR "17") SET(LIBZYPP_COMPATMINOR "32") SET(LIBZYPP_MINOR "32") -SET(LIBZYPP_PATCH "4") +SET(LIBZYPP_PATCH "5") # -# LAST RELEASED: 17.32.4 (32) +# LAST RELEASED: 17.32.5 (32) # (The number in parenthesis is LIBZYPP_COMPATMINOR) #======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.32.4/doc/autodoc/Doxyfile.cmake new/libzypp-17.32.5/doc/autodoc/Doxyfile.cmake --- old/libzypp-17.32.4/doc/autodoc/Doxyfile.cmake 2024-04-10 15:20:08.000000000 +0200 +++ new/libzypp-17.32.5/doc/autodoc/Doxyfile.cmake 2024-04-17 18:20:08.000000000 +0200 @@ -55,7 +55,6 @@ ENABLED_SECTIONS = MAX_INITIALIZER_LINES = 30 SHOW_USED_FILES = YES -SHOW_DIRECTORIES = YES FILE_VERSION_FILTER = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages @@ -75,7 +74,8 @@ RECURSIVE = YES EXCLUDE = EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = */zyppng/* +EXCLUDE_PATTERNS = +#EXCLUDE_PATTERNS = */zyppng/* EXAMPLE_PATH = @ZYPP_DOCINCLUDE_DIR@ EXAMPLE_PATTERNS = EXAMPLE_RECURSIVE = NO @@ -108,7 +108,6 @@ HTML_HEADER = HTML_FOOTER = HTML_STYLESHEET = -HTML_ALIGN_MEMBERS = YES GENERATE_HTMLHELP = NO CHM_FILE = HHC_LOCATION = @@ -156,8 +155,6 @@ #--------------------------------------------------------------------------- GENERATE_XML = NO XML_OUTPUT = xml -XML_SCHEMA = -XML_DTD = XML_PROGRAMLISTING = YES #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.32.4/package/libzypp.changes new/libzypp-17.32.5/package/libzypp.changes --- old/libzypp-17.32.4/package/libzypp.changes 2024-04-17 17:10:07.000000000 +0200 +++ new/libzypp-17.32.5/package/libzypp.changes 2024-04-19 15:58:46.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Apr 19 15:58:26 CEST 2024 - m...@suse.de + +- Don't try to refresh volatile media as long as raw metadata are + present (bsc#1223094) +- version 17.32.5 (32) + +------------------------------------------------------------------- Wed Apr 17 17:07:52 CEST 2024 - m...@suse.de - Fix creation of sibling cache dirs with too restrictive mode diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.32.4/zypp/RepoManager.cc new/libzypp-17.32.5/zypp/RepoManager.cc --- old/libzypp-17.32.4/zypp/RepoManager.cc 2024-03-14 10:50:10.000000000 +0100 +++ new/libzypp-17.32.5/zypp/RepoManager.cc 2024-04-19 15:58:46.000000000 +0200 @@ -142,6 +142,41 @@ return repositories_in_file(local); } + std::ostream & operator<<( std::ostream & str, RepoManager::RawMetadataRefreshPolicy obj ) + { + switch ( obj ) { +#define OUTS(V) case RepoManager::V: str << #V; break + OUTS( RefreshIfNeeded ); + OUTS( RefreshForced ); + OUTS( RefreshIfNeededIgnoreDelay ); +#undef OUTS + } + return str; + } + + std::ostream & operator<<( std::ostream & str, RepoManager::RefreshCheckStatus obj ) + { + switch ( obj ) { +#define OUTS(V) case RepoManager::V: str << #V; break + OUTS( REFRESH_NEEDED ); + OUTS( REPO_UP_TO_DATE ); + OUTS( REPO_CHECK_DELAYED ); +#undef OUTS + } + return str; + } + + std::ostream & operator<<( std::ostream & str, RepoManager::CacheBuildPolicy obj ) + { + switch ( obj ) { +#define OUTS(V) case RepoManager::V: str << #V; break + OUTS( BuildIfNeeded ); + OUTS( BuildForced ); +#undef OUTS + } + return str; + } + /////////////////////////////////////////////////////////////////// /// \class RepoManager::Impl /// \brief RepoManager implementation. @@ -252,6 +287,11 @@ RepoManager::RefreshCheckStatus RepoManager::Impl::checkIfToRefreshMetadata( const RepoInfo & info, const Url & url, RawMetadataRefreshPolicy policy ) { + // Hotfix for bsc#1223094: No media access for CD/DVD unless rawchache is missing + if ( url.schemeIsVolatile() ) { + return metadataStatus( info ).empty() ? REFRESH_NEEDED : REPO_UP_TO_DATE; + } + using namespace zyppng::operators; using zyppng::operators::operator|; @@ -311,6 +351,12 @@ // try urls one by one for ( RepoInfo::urls_const_iterator it = info.baseUrlsBegin(); it != info.baseUrlsEnd(); ++it ) { + // Hotfix for bsc#1223094: No media access for CD/DVD unless rawchache is missing + if ( it->schemeIsVolatile() && not metadataStatus( info ).empty() ) { + // we are done. + return; + } + try { auto res = zyppng::repo::SyncRefreshContext::create( ctx, info, _options ) | and_then( [&]( zyppng::repo::SyncRefreshContextRef refCtx ) {