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-03-30 20:50:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-pkg-bindings (Old) and /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-pkg-bindings" Tue Mar 30 20:50:42 2021 rev:218 rq:878537 version:4.3.10 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-pkg-bindings/yast2-pkg-bindings.changes 2021-02-01 14:41:25.720644136 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-pkg-bindings.new.2401/yast2-pkg-bindings.changes 2021-03-30 20:50:45.868073614 +0200 @@ -1,0 +2,13 @@ +Fri Mar 12 09:39:15 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz> + +- Added missing runtime dependencies ("ip" from iproute2 + is used for network status detection) (bsc#1183439) +- 4.3.10 + +------------------------------------------------------------------- +Thu Mar 11 09:47:26 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- Handle properly expansion of invalid url (bsc#1183195) +- 4.3.9 + +------------------------------------------------------------------- Old: ---- yast2-pkg-bindings-4.3.8.tar.bz2 New: ---- yast2-pkg-bindings-4.3.10.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-pkg-bindings-devel-doc.spec ++++++ --- /var/tmp/diff_new_pack.PXeIVu/_old 2021-03-30 20:50:46.408074220 +0200 +++ /var/tmp/diff_new_pack.PXeIVu/_new 2021-03-30 20:50:46.408074220 +0200 @@ -17,7 +17,7 @@ Name: yast2-pkg-bindings-devel-doc -Version: 4.3.8 +Version: 4.3.10 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-pkg-bindings-%{version}.tar.bz2 ++++++ yast2-pkg-bindings.spec ++++++ --- /var/tmp/diff_new_pack.PXeIVu/_old 2021-03-30 20:50:46.428074242 +0200 +++ /var/tmp/diff_new_pack.PXeIVu/_new 2021-03-30 20:50:46.432074247 +0200 @@ -17,7 +17,7 @@ Name: yast2-pkg-bindings -Version: 4.3.8 +Version: 4.3.10 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -32,6 +32,10 @@ BuildRequires: yast2-core-devel BuildRequires: yast2-devtools >= 3.1.10 +# needed for network detection +Requires: grep +Requires: iproute2 + Summary: YaST2 - Package Manager Access License: GPL-2.0-only Group: System/YaST ++++++ yast2-pkg-bindings-4.3.8.tar.bz2 -> yast2-pkg-bindings-4.3.10.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.8/.github/workflows/ci.yml new/yast2-pkg-bindings-4.3.10/.github/workflows/ci.yml --- old/yast2-pkg-bindings-4.3.8/.github/workflows/ci.yml 2021-01-28 15:03:16.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.10/.github/workflows/ci.yml 2021-03-12 12:34:12.000000000 +0100 @@ -25,7 +25,7 @@ run: yast-ci-cpp - name: Install Smoke Test Requirements - run: zypper --non-interactive in --no-recommends yast2-ruby-bindings + run: zypper --non-interactive in --no-recommends yast2-ruby-bindings iproute2 - name: Smoke Test Preparation run: sh smoke_test_prepare.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.8/package/yast2-pkg-bindings-devel-doc.spec new/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings-devel-doc.spec --- old/yast2-pkg-bindings-4.3.8/package/yast2-pkg-bindings-devel-doc.spec 2021-01-28 15:03:16.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings-devel-doc.spec 2021-03-12 12:34:12.000000000 +0100 @@ -16,7 +16,7 @@ # Name: yast2-pkg-bindings-devel-doc -Version: 4.3.8 +Version: 4.3.10 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.8/package/yast2-pkg-bindings.changes new/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings.changes --- old/yast2-pkg-bindings-4.3.8/package/yast2-pkg-bindings.changes 2021-01-28 15:03:16.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings.changes 2021-03-12 12:34:12.000000000 +0100 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Fri Mar 12 09:39:15 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz> + +- Added missing runtime dependencies ("ip" from iproute2 + is used for network status detection) (bsc#1183439) +- 4.3.10 + +------------------------------------------------------------------- +Thu Mar 11 09:47:26 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- Handle properly expansion of invalid url (bsc#1183195) +- 4.3.9 + +------------------------------------------------------------------- Thu Jan 28 12:50:29 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz> - Log more details about the newly added repositories diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.8/package/yast2-pkg-bindings.spec new/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings.spec --- old/yast2-pkg-bindings-4.3.8/package/yast2-pkg-bindings.spec 2021-01-28 15:03:16.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.10/package/yast2-pkg-bindings.spec 2021-03-12 12:34:12.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-pkg-bindings -Version: 4.3.8 +Version: 4.3.10 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -35,6 +35,10 @@ BuildRequires: yast2-core-devel BuildRequires: yast2-devtools >= 3.1.10 +# needed for network detection +Requires: iproute2 +Requires: grep + Summary: YaST2 - Package Manager Access %description diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.8/smoke_test_run.rb new/yast2-pkg-bindings-4.3.10/smoke_test_run.rb --- old/yast2-pkg-bindings-4.3.8/smoke_test_run.rb 2021-01-28 15:03:16.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.10/smoke_test_run.rb 2021-03-12 12:34:12.000000000 +0100 @@ -118,7 +118,6 @@ patterns = Yast::Pkg.Resolvables({kind: :pattern}, [:name]) raise "Pkg.Resolvables failed!" unless patterns raise "No pattern found!" if patterns.empty? -raise "Pattern devel_yast not found" unless patterns.include?("name" => "devel_yast") puts "OK (found #{patterns.size} patterns)" installed_packages = Yast::Pkg.Resolvables({kind: :package, status: :installed, name: "yast2-core"}, [:name]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-pkg-bindings-4.3.8/src/PkgFunctions.cc new/yast2-pkg-bindings-4.3.10/src/PkgFunctions.cc --- old/yast2-pkg-bindings-4.3.8/src/PkgFunctions.cc 2021-01-28 15:03:16.000000000 +0100 +++ new/yast2-pkg-bindings-4.3.10/src/PkgFunctions.cc 2021-03-12 12:34:12.000000000 +0100 @@ -559,8 +559,19 @@ return YCPVoid(); } + zypp::Url z_url; + + try + { + z_url = zypp::Url(url->value()); + } + catch (const zypp::Exception &excpt) + { + y2error("URL '%s' is not valid: %s", url->value().c_str(), excpt.asString().c_str()); + } + // return full URL including the password if present - return YCPString(ExpandedUrl(zypp::Url(url->value())).asCompleteString()); + return YCPString(ExpandedUrl(z_url).asCompleteString()); }