Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-pkg-bindings for openSUSE:Factory checked in at 2021-01-15 19:44:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-pkg-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-pkg-bindings" Fri Jan 15 19:44:10 2021 rev:216 rq:862209 version:4.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-pkg-bindings/yast2-pkg-bindings.changes 2021-01-06 19:55:31.080950945 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.28504/yast2-pkg-bindings.changes 2021-01-15 19:44:28.137862836 +0100 @@ -1,0 +2,7 @@ +Fri Jan 8 11:12:53 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz> + +- Fixed repository refresh (a bug caused downloading only the index + file in some cases) (bsc#1180203) +- 4.3.6 + +------------------------------------------------------------------- Old: ---- yast2-pkg-bindings-4.3.5.tar.bz2 New: ---- yast2-pkg-bindings-4.3.6.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-pkg-bindings-devel-doc.spec ++++++ --- /var/tmp/diff_new_pack.1tekyE/_old 2021-01-15 19:44:28.733863813 +0100 +++ /var/tmp/diff_new_pack.1tekyE/_new 2021-01-15 19:44:28.737863819 +0100 @@ -17,7 +17,7 @@ Name: yast2-pkg-bindings-devel-doc -Version: 4.3.5 +Version: 4.3.6 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-pkg-bindings-%{version}.tar.bz2 ++++++ yast2-pkg-bindings.spec ++++++ --- /var/tmp/diff_new_pack.1tekyE/_old 2021-01-15 19:44:28.757863852 +0100 +++ /var/tmp/diff_new_pack.1tekyE/_new 2021-01-15 19:44:28.761863859 +0100 @@ -17,7 +17,7 @@ Name: yast2-pkg-bindings -Version: 4.3.5 +Version: 4.3.6 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ yast2-pkg-bindings-4.3.5.tar.bz2 -> yast2-pkg-bindings-4.3.6.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.5/package/yast2-pkg-bindings-devel-doc.spec new/yast2-pkg-bindings-4.3.6/package/yast2-pkg-bindings-devel-doc.spec --- old/yast2-pkg-bindings-4.3.5/package/yast2-pkg-bindings-devel-doc.spec 2021-01-04 16:47:26.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.6/package/yast2-pkg-bindings-devel-doc.spec 2021-01-11 08:50:23.000000000 +0100 @@ -16,7 +16,7 @@ # Name: yast2-pkg-bindings-devel-doc -Version: 4.3.5 +Version: 4.3.6 Release: 0 License: GPL-2.0-only Group: Documentation/HTML diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.5/package/yast2-pkg-bindings.changes new/yast2-pkg-bindings-4.3.6/package/yast2-pkg-bindings.changes --- old/yast2-pkg-bindings-4.3.5/package/yast2-pkg-bindings.changes 2021-01-04 16:47:26.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.6/package/yast2-pkg-bindings.changes 2021-01-11 08:50:23.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Jan 8 11:12:53 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz> + +- Fixed repository refresh (a bug caused downloading only the index + file in some cases) (bsc#1180203) +- 4.3.6 + +------------------------------------------------------------------- Mon Jan 4 15:27:02 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz> - Set the previous "distro_target" option when restarting the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.5/package/yast2-pkg-bindings.spec new/yast2-pkg-bindings-4.3.6/package/yast2-pkg-bindings.spec --- old/yast2-pkg-bindings-4.3.5/package/yast2-pkg-bindings.spec 2021-01-04 16:47:26.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.6/package/yast2-pkg-bindings.spec 2021-01-11 08:50:23.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-pkg-bindings -Version: 4.3.5 +Version: 4.3.6 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.5/src/PkgFunctions.h new/yast2-pkg-bindings-4.3.6/src/PkgFunctions.h --- old/yast2-pkg-bindings-4.3.5/src/PkgFunctions.h 2021-01-04 16:47:26.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.6/src/PkgFunctions.h 2021-01-11 08:50:23.000000000 +0100 @@ -184,9 +184,10 @@ void CallInitDownload(const std::string &task); void CallDestDownload(); + // use "RefreshForced" by default, otherwise libzypp might download only the index file (bsc#1180203) void RefreshWithCallbacks(const zypp::RepoInfo &repo, const zypp::ProgressData::ReceiverFnc & progressrcv = zypp::ProgressData::ReceiverFnc(), - zypp::RepoManager::RawMetadataRefreshPolicy refresh = zypp::RepoManager::RefreshIfNeeded); + zypp::RepoManager::RawMetadataRefreshPolicy refresh = zypp::RepoManager::RefreshForced); zypp::repo::RepoType ProbeWithCallbacks(const zypp::Url &url); void ScanProductsWithCallBacks(const zypp::Url &url); void CallRefreshStarted(); @@ -208,7 +209,7 @@ zypp::Url shortenUrl(const zypp::Url &url); - // convert Exception to string represenatation + // convert Exception to string representation std::string ExceptionAsString(const zypp::Exception &e); YCPValue searchPackage(const YCPString &package, bool installed); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.5/src/Source_Download.cc new/yast2-pkg-bindings-4.3.6/src/Source_Download.cc --- old/yast2-pkg-bindings-4.3.5/src/Source_Download.cc 2021-01-04 16:47:26.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.6/src/Source_Download.cc 2021-01-11 08:50:23.000000000 +0100 @@ -417,7 +417,7 @@ { zypp::RepoManager* repomanager = CreateRepoManager(); y2milestone("Refreshing metadata '%s'", repo->repoInfo().alias().c_str()); - RefreshWithCallbacks(repo->repoInfo(), zypp::ProgressData::ReceiverFnc(), forced ? zypp::RepoManager::RefreshForced : zypp::RepoManager::RefreshIfNeeded); + RefreshWithCallbacks(repo->repoInfo(), zypp::ProgressData::ReceiverFnc()); // next stage, increase progress prog_total.incr();