Hello community,

here is the log from the commit of package zypper-migration-plugin for 
openSUSE:Factory checked in at 2020-01-29 13:19:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zypper-migration-plugin (Old)
 and      /work/SRC/openSUSE:Factory/.zypper-migration-plugin.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zypper-migration-plugin"

Wed Jan 29 13:19:48 2020 rev:6 rq:768069 version:0.12.1580220831.7102be8

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/zypper-migration-plugin/zypper-migration-plugin.changes
  2018-09-07 15:39:52.482505841 +0200
+++ 
/work/SRC/openSUSE:Factory/.zypper-migration-plugin.new.26092/zypper-migration-plugin.changes
       2020-01-29 13:20:37.546238709 +0100
@@ -1,0 +2,6 @@
+Tue Jan 28 14:31:24 UTC 2020 - Vladimir Nadvornik <[email protected]>
+
+- version 0.12.1580220831.7102be8
+- check if snapper is configured (jira#SLE-10175)
+
+-------------------------------------------------------------------

Old:
----
  zypper-migration-0.12.1536145027.be6a3dd.tar.xz

New:
----
  zypper-migration-0.12.1580220831.7102be8.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zypper-migration-plugin.spec ++++++
--- /var/tmp/diff_new_pack.kCkRqI/_old  2020-01-29 13:20:39.226239567 +0100
+++ /var/tmp/diff_new_pack.kCkRqI/_new  2020-01-29 13:20:39.230239569 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zypper-migration-plugin
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           zypper-migration-plugin
-Version:        0.12.1536145027.be6a3dd
+Version:        0.12.1580220831.7102be8
 Release:        0
 Url:            https://github.com/SUSE/zypper-migration
 Requires:       zypper >= 1.11.38

++++++ zypper-migration-0.12.1536145027.be6a3dd.tar.xz -> 
zypper-migration-0.12.1580220831.7102be8.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/zypper-migration-0.12.1536145027.be6a3dd/zypper-migration 
new/zypper-migration-0.12.1580220831.7102be8/zypper-migration
--- old/zypper-migration-0.12.1536145027.be6a3dd/zypper-migration       
2018-09-05 12:57:07.000000000 +0200
+++ new/zypper-migration-0.12.1580220831.7102be8/zypper-migration       
2020-01-28 15:13:51.000000000 +0100
@@ -99,6 +99,10 @@
   system "sh /var/adm/backup/system-upgrade/repos.sh >/dev/null"
 end
 
+def snapper_configured?
+  system "/usr/bin/snapper --no-dbus list-configs 2>/dev/null | grep -q 
\"^root \""
+end
+
 def check_if_param(opt, message)
   unless opt
     print message
@@ -234,6 +238,12 @@
 
 end.parse!
 
+if !snapper_configured?
+  options[:no_snapshots] = true
+  print "Snapper not configured\n" if options[:verbose]
+end
+
+
 if options[:to_product] && !options[:root] && !options[:break_my_system]
   print "The --product option can only be used together with the --root 
option\n"
   exit 1


Reply via email to