Hello community,
here is the log from the commit of package yast2-multipath for openSUSE:Factory checked in at 2018-01-17 21:42:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-multipath (Old)
and /work/SRC/openSUSE:Factory/.yast2-multipath.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-multipath"
Wed Jan 17 21:42:06 2018 rev:39 rq:548025 version:4.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-multipath/yast2-multipath.changes 2017-06-07 13:08:37.053896323 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-multipath.new/yast2-multipath.changes 2018-01-17 21:42:07.784648230 +0100
@@ -1,0 +2,13 @@
+Fri Dec 1 06:36:14 UTC 2017 - nwang@suse.com
+
+- fate#323526, support python3 and change indentation to 8 spaces.
+- 4.0.0
+
+-------------------------------------------------------------------
+Wed Aug 16 10:38:16 UTC 2017 - ancor@suse.com
+
+- Use yast2-storage-ng instead of yast2-storage (part of
+ fate#318196)
+- 3.3.0
+
+-------------------------------------------------------------------
Old:
----
yast2-multipath-3.2.1.tar.bz2
New:
----
yast2-multipath-4.0.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-multipath.spec ++++++
--- /var/tmp/diff_new_pack.LAMLCN/_old 2018-01-17 21:42:08.356621458 +0100
+++ /var/tmp/diff_new_pack.LAMLCN/_new 2018-01-17 21:42:08.360621270 +0100
@@ -17,18 +17,19 @@
Name: yast2-multipath
-Version: 3.2.1
+Version: 4.0.0
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Requires: yast2
+# StorageManager#deactivate
+Requires: yast2-storage-ng >= 3.3.1
BuildRequires: perl-XML-Writer
BuildRequires: update-desktop-files
BuildRequires: yast2
BuildRequires: yast2-devtools >= 3.1.10
-BuildRequires: yast2-storage
BuildRequires: yast2-testsuite
BuildArch: noarch
++++++ yast2-multipath-3.2.1.tar.bz2 -> yast2-multipath-4.0.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.2.1/package/yast2-multipath.changes new/yast2-multipath-4.0.0/package/yast2-multipath.changes
--- old/yast2-multipath-3.2.1/package/yast2-multipath.changes 2017-03-24 13:57:27.962782690 +0100
+++ new/yast2-multipath-4.0.0/package/yast2-multipath.changes 2017-12-04 10:34:17.000000000 +0100
@@ -1,4 +1,17 @@
-------------------------------------------------------------------
+Fri Dec 1 06:36:14 UTC 2017 - nwang@suse.com
+
+- fate#323526, support python3 and change indentation to 8 spaces.
+- 4.0.0
+
+-------------------------------------------------------------------
+Wed Aug 16 10:38:16 UTC 2017 - ancor@suse.com
+
+- Use yast2-storage-ng instead of yast2-storage (part of
+ fate#318196)
+- 3.3.0
+
+-------------------------------------------------------------------
Fri Mar 24 11:12:09 UTC 2017 - mfilka@suse.com
- bnc#1026027
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.2.1/package/yast2-multipath.spec new/yast2-multipath-4.0.0/package/yast2-multipath.spec
--- old/yast2-multipath-3.2.1/package/yast2-multipath.spec 2017-03-24 13:57:27.962782690 +0100
+++ new/yast2-multipath-4.0.0/package/yast2-multipath.spec 2017-12-04 10:34:17.000000000 +0100
@@ -17,18 +17,19 @@
Name: yast2-multipath
-Version: 3.2.1
+Version: 4.0.0
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Requires: yast2
+# StorageManager#deactivate
+Requires: yast2-storage-ng >= 3.3.1
BuildRequires: perl-XML-Writer
BuildRequires: update-desktop-files
BuildRequires: yast2
BuildRequires: yast2-devtools >= 3.1.10
-BuildRequires: yast2-storage
BuildRequires: yast2-testsuite
BuildArch: noarch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.2.1/src/include/multipath/complex.rb new/yast2-multipath-4.0.0/src/include/multipath/complex.rb
--- old/yast2-multipath-3.2.1/src/include/multipath/complex.rb 2017-03-24 13:57:27.962782690 +0100
+++ new/yast2-multipath-4.0.0/src/include/multipath/complex.rb 2017-12-04 10:34:17.000000000 +0100
@@ -26,6 +26,10 @@
#
# Compelx stuffs for multipath yast module, this file is included
# by Multipath.ycp.
+
+require "yast"
+require "y2storage"
+
module Yast
module MultipathComplexInclude
def initialize_multipath_complex(include_target)
@@ -34,7 +38,6 @@
textdomain "multipath"
Yast.import "Service"
- Yast.import "Storage"
Yast.import "Label"
Yast.import "Wizard"
Yast.import "Mode"
@@ -3651,7 +3654,8 @@
return
end
else
- Storage.ActivateMultipath(true)
+ # There is no multipathd service, rely on Y2Storage
+ Y2Storage::StorageManager.instance.activate
end
@service_status = 1
@@ -3686,7 +3690,8 @@
return
end
else
- Storage.ActivateMultipath(false)
+ # There is no multipathd service, rely on Y2Storage
+ Y2Storage::StorageManager.instance.deactivate
end
@service_status = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.2.1/src/modules/Multipath.rb new/yast2-multipath-4.0.0/src/modules/Multipath.rb
--- old/yast2-multipath-3.2.1/src/modules/Multipath.rb 2017-03-24 13:57:27.966782690 +0100
+++ new/yast2-multipath-4.0.0/src/modules/Multipath.rb 2017-12-04 10:34:17.000000000 +0100
@@ -29,6 +29,7 @@
# Representation of the configuration of multipath.
# Input and output routines.
require "yast"
+require "y2storage"
module Yast
class MultipathClass < Module
@@ -47,7 +48,6 @@
Yast.import "PackageSystem"
Yast.import "Mode"
Yast.import "Stage"
- Yast.import "Storage"
@config_modified = false
@@ -300,8 +300,10 @@
return false
end
else
- Storage.ActivateMultipath(false)
- Storage.ActivateMultipath(true)
+ # There is no multipathd service, rely on Y2Storage to deactivate and
+ # reactivate multipath (and all the associated virtual devices)
+ Y2Storage::StorageManager.instance.deactivate
+ Y2Storage::StorageManager.instance.activate
end
Builtins.sleep(sl)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-multipath-3.2.1/src/servers_non_y2/ag_multipath new/yast2-multipath-4.0.0/src/servers_non_y2/ag_multipath
--- old/yast2-multipath-3.2.1/src/servers_non_y2/ag_multipath 2017-03-24 13:57:27.978782690 +0100
+++ new/yast2-multipath-4.0.0/src/servers_non_y2/ag_multipath 2017-12-04 10:34:17.000000000 +0100
@@ -1,11 +1,11 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*- coding: utf8 -*-
#
-# Authors: Hu Ziming