Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzypp for openSUSE:Factory checked in at 2021-10-11 15:30:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzypp (Old) and /work/SRC/openSUSE:Factory/.libzypp.new.2443 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp" Mon Oct 11 15:30:40 2021 rev:450 rq:923031 version:17.28.5 Changes: -------- --- /work/SRC/openSUSE:Factory/libzypp/libzypp.changes 2021-09-21 21:13:14.314645143 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp.new.2443/libzypp.changes 2021-10-11 15:31:12.614805817 +0200 @@ -1,0 +2,15 @@ +Mon Oct 4 12:46:46 CEST 2021 - m...@suse.de + +- Downloader does not respect checkExistsOnly flag (bsc#1190712) + A missing check causes zyppng::Downloader to always download full + files even if the checkExistsOnly flag is set. This patch adds + the missing logic. +- Fix kernel-*-livepatch removal in purge-kernels (bsc#1190815) + The kernel-*-livepatch packages are supposed to serve as a stable + handle for the ephemeral kernel livepatch packages. See + FATE#320268 for details. As part of the kernel live patching + ecosystem, kernel-*-livepatch packages should not block the + purge-kernels step. +- version 17.28.5 (22) + +------------------------------------------------------------------- Old: ---- libzypp-17.28.4.tar.bz2 New: ---- libzypp-17.28.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp.spec ++++++ --- /var/tmp/diff_new_pack.hizqUI/_old 2021-10-11 15:31:13.258806849 +0200 +++ /var/tmp/diff_new_pack.hizqUI/_new 2021-10-11 15:31:13.262806855 +0200 @@ -43,7 +43,7 @@ %bcond_with enable_preview_single_rpmtrans_as_default_for_zypper Name: libzypp -Version: 17.28.4 +Version: 17.28.5 Release: 0 License: GPL-2.0-or-later URL: https://github.com/openSUSE/libzypp ++++++ libzypp-17.28.4.tar.bz2 -> libzypp-17.28.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.28.4/VERSION.cmake new/libzypp-17.28.5/VERSION.cmake --- old/libzypp-17.28.4/VERSION.cmake 2021-09-17 10:51:24.000000000 +0200 +++ new/libzypp-17.28.5/VERSION.cmake 2021-10-04 12:51:21.000000000 +0200 @@ -61,8 +61,8 @@ SET(LIBZYPP_MAJOR "17") SET(LIBZYPP_COMPATMINOR "22") SET(LIBZYPP_MINOR "28") -SET(LIBZYPP_PATCH "4") +SET(LIBZYPP_PATCH "5") # -# LAST RELEASED: 17.28.4 (22) +# LAST RELEASED: 17.28.5 (22) # (The number in parenthesis is LIBZYPP_COMPATMINOR) #======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.28.4/package/libzypp.changes new/libzypp-17.28.5/package/libzypp.changes --- old/libzypp-17.28.4/package/libzypp.changes 2021-09-17 10:51:24.000000000 +0200 +++ new/libzypp-17.28.5/package/libzypp.changes 2021-10-04 12:51:21.000000000 +0200 @@ -1,4 +1,19 @@ ------------------------------------------------------------------- +Mon Oct 4 12:46:46 CEST 2021 - m...@suse.de + +- Downloader does not respect checkExistsOnly flag (bsc#1190712) + A missing check causes zyppng::Downloader to always download full + files even if the checkExistsOnly flag is set. This patch adds + the missing logic. +- Fix kernel-*-livepatch removal in purge-kernels (bsc#1190815) + The kernel-*-livepatch packages are supposed to serve as a stable + handle for the ephemeral kernel livepatch packages. See + FATE#320268 for details. As part of the kernel live patching + ecosystem, kernel-*-livepatch packages should not block the + purge-kernels step. +- version 17.28.5 (22) + +------------------------------------------------------------------- Fri Sep 17 10:41:56 CEST 2021 - m...@suse.de - Make sure to keep states alives while transitioning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.28.4/zypp/PurgeKernels.cc new/libzypp-17.28.5/zypp/PurgeKernels.cc --- old/libzypp-17.28.4/zypp/PurgeKernels.cc 2021-08-26 18:56:18.000000000 +0200 +++ new/libzypp-17.28.5/zypp/PurgeKernels.cc 2021-10-04 12:11:29.000000000 +0200 @@ -157,7 +157,7 @@ MIL << "Request to remove package: " << pi << std::endl; //list of packages that are allowed to be removed automatically. - const str::regex validRemovals("(kernel-syms(-.*)?|kgraft-patch(-.*)?|kernel-livepatch(-.*)?|.*-kmp(-.*)?)"); + const str::regex validRemovals("(kernel-syms(-.*)?|kgraft-patch(-.*)?|kernel-(.*)-livepatch(-.*)?|kernel-livepatch(-.*)?|.*-kmp(-.*)?)"); if ( pi.status().isLocked() ) { MIL << "Package " << pi << " is locked by the user, not removing." << std::endl; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.28.4/zypp/zyppng/media/network/private/downloaderstates/basicdownloader_p.cc new/libzypp-17.28.5/zypp/zyppng/media/network/private/downloaderstates/basicdownloader_p.cc --- old/libzypp-17.28.4/zypp/zyppng/media/network/private/downloaderstates/basicdownloader_p.cc 2021-08-26 18:56:18.000000000 +0200 +++ new/libzypp-17.28.5/zypp/zyppng/media/network/private/downloaderstates/basicdownloader_p.cc 2021-10-04 12:26:23.000000000 +0200 @@ -112,6 +112,9 @@ _request->addRequestRange( 0, 0, fileDigest, *_chksumVec ); } + if ( sm._spec.checkExistsOnly() ) + _request->setOptions( _request->options() | Request::HeadRequest ); + if ( !initializeRequest( _request ) ) { return failed( "Failed to initialize request" ); } @@ -143,6 +146,8 @@ void BasicDownloaderStateBase::failed( NetworkRequestError &&err ) { _error = std::move( err ); + zypp::filesystem::unlink( stateMachine()._spec.targetPath() ); + _sigFailed.emit(); }