Hello community,
here is the log from the commit of package zypper-migration-plugin for openSUSE:Factory checked in at 2020-05-29 21:24:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zypper-migration-plugin (Old)
and /work/SRC/openSUSE:Factory/.zypper-migration-plugin.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zypper-migration-plugin"
Fri May 29 21:24:24 2020 rev:8 rq:810197 version:0.12.1590748670.86b0749
Changes:
--------
--- /work/SRC/openSUSE:Factory/zypper-migration-plugin/zypper-migration-plugin.changes 2020-01-31 23:56:26.419625136 +0100
+++ /work/SRC/openSUSE:Factory/.zypper-migration-plugin.new.3606/zypper-migration-plugin.changes 2020-05-29 21:39:09.146966955 +0200
@@ -1,0 +2,6 @@
+Fri May 29 10:38:57 UTC 2020 - Vladimir Nadvornik
+
+- version 0.12.1590748670.86b0749
+- make sure all release packages are installed (bsc#1171652)
+
+-------------------------------------------------------------------
Old:
----
zypper-migration-0.12.1580220831.7102be8.tar.xz
New:
----
zypper-migration-0.12.1590748670.86b0749.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ zypper-migration-plugin.spec ++++++
--- /var/tmp/diff_new_pack.nyFlWt/_old 2020-05-29 21:39:09.602968313 +0200
+++ /var/tmp/diff_new_pack.nyFlWt/_new 2020-05-29 21:39:09.606968324 +0200
@@ -1,7 +1,7 @@
#
# spec file for package zypper-migration-plugin
#
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,9 @@
Name: zypper-migration-plugin
-Version: 0.12.1580220831.7102be8
+Version: 0.12.1590748670.86b0749
Release: 0
-Url: https://github.com/SUSE/zypper-migration
+URL: https://github.com/SUSE/zypper-migration
Requires: zypper >= 1.11.38
Requires: rubygem(%{rb_default_ruby_abi}:suse-connect) >= 0.3.10
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ zypper-migration-0.12.1580220831.7102be8.tar.xz -> zypper-migration-0.12.1590748670.86b0749.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypper-migration-0.12.1580220831.7102be8/zypper-migration new/zypper-migration-0.12.1590748670.86b0749/zypper-migration
--- old/zypper-migration-0.12.1580220831.7102be8/zypper-migration 2020-01-28 15:13:51.000000000 +0100
+++ new/zypper-migration-0.12.1590748670.86b0749/zypper-migration 2020-05-29 12:37:50.000000000 +0200
@@ -592,6 +592,29 @@
# end
end
+# make sure all release packages are installed (bsc#1171652)
+if result
+ begin
+ system_products = SUSE::Connect::Migration::system_products
+
+ system_products.each do |ident|
+ begin
+ # if a release package for registered product is missing -> try install it
+ SUSE::Connect::Migration.install_release_package(ident.identifier)
+ rescue => e
+ print "Can't install release package for registered product #{ident.identifier}\n" unless options[:quiet]
+ print "#{e.class}: #{e.message}\n" unless options[:quiet]
+ end
+ end
+ rescue => e
+ print "Can't determine the list of products installed after migration: #{e.class}: #{e.message}\n"
+ # the system has been sucessfully upgraded, zypper reported no error so
+ # the only way to get here is a scc problem - it is better to just exit
+ #
+ exit 1
+ end
+end
+
if !result
print "\nPerforming repository rollback...\n" unless options[:quiet]
begin