Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2018-03-04 11:50:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Sun Mar  4 11:50:43 2018 rev:236 rq:581837 version:4.0.36

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2018-02-24 
16:36:28.779711490 +0100
+++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2018-03-04 
11:50:45.550131697 +0100
@@ -1,0 +2,27 @@
+Wed Feb 28 14:34:54 CET 2018 - aschn...@suse.com
+
+- adapted to new activate callbacks in libstorage-ng (see
+  bsc#1082542)
+- 4.0.36
+
+-------------------------------------------------------------------
+Tue Feb 27 12:36:59 UTC 2018 - jreidin...@suse.com
+
+- Add missing textdomains to create proper potfiles (bsc#1083015)
+- 4.0.35
+
+-------------------------------------------------------------------
+Tue Feb 27 11:35:37 UTC 2018 - an...@suse.com
+
+- Manage errors during hardware activation in the same way than
+  normal installation - asking the user and trying to continue if
+  the question times out (related to bsc#1079061).
+- 4.0.34
+
+-------------------------------------------------------------------
+Mon Feb 26 16:11:01 CET 2018 - sch...@suse.de
+
+- Upgrade: Speedup PKG call (bnc#1074082)
+- 4.0.33
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-4.0.32.tar.bz2

New:
----
  autoyast2-4.0.36.tar.bz2

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

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.GadG5G/_old  2018-03-04 11:50:46.122110976 +0100
+++ /var/tmp/diff_new_pack.GadG5G/_new  2018-03-04 11:50:46.126110831 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.0.32
+Version:        4.0.36
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -47,8 +47,8 @@
 BuildRequires:  yast2-transfer
 BuildRequires:  yast2-update >= 3.3.0
 BuildRequires:  yast2-xml
-# Y2Storage::AutoinstProfile::SkipListValue#to_hash
-BuildRequires:  yast2-storage-ng >= 4.0.23
+# ActivateCallbacks::multipath signature
+BuildRequires:  yast2-storage-ng >= 4.0.116
 
 # %%{_unitdir} macro definition is in a separate package since 13.1
 %if 0%{?suse_version} >= 1310

++++++ autoyast2-4.0.32.tar.bz2 -> autoyast2-4.0.36.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.0.32/package/autoyast2.changes 
new/autoyast2-4.0.36/package/autoyast2.changes
--- old/autoyast2-4.0.32/package/autoyast2.changes      2018-02-23 
14:47:14.000000000 +0100
+++ new/autoyast2-4.0.36/package/autoyast2.changes      2018-02-28 
15:06:00.000000000 +0100
@@ -1,4 +1,31 @@
 -------------------------------------------------------------------
+Wed Feb 28 14:34:54 CET 2018 - aschn...@suse.com
+
+- adapted to new activate callbacks in libstorage-ng (see
+  bsc#1082542)
+- 4.0.36
+
+-------------------------------------------------------------------
+Tue Feb 27 12:36:59 UTC 2018 - jreidin...@suse.com
+
+- Add missing textdomains to create proper potfiles (bsc#1083015)
+- 4.0.35
+
+-------------------------------------------------------------------
+Tue Feb 27 11:35:37 UTC 2018 - an...@suse.com
+
+- Manage errors during hardware activation in the same way than
+  normal installation - asking the user and trying to continue if
+  the question times out (related to bsc#1079061).
+- 4.0.34
+
+-------------------------------------------------------------------
+Mon Feb 26 16:11:01 CET 2018 - sch...@suse.de
+
+- Upgrade: Speedup PKG call (bnc#1074082)
+- 4.0.33
+
+-------------------------------------------------------------------
 Fri Feb 23 13:15:50 UTC 2018 - igonzalezs...@suse.com
 
 - Remove calls to the old yast2-storage layer (bsc#1071978)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.0.32/package/autoyast2.spec 
new/autoyast2-4.0.36/package/autoyast2.spec
--- old/autoyast2-4.0.32/package/autoyast2.spec 2018-02-23 14:47:14.000000000 
+0100
+++ new/autoyast2-4.0.36/package/autoyast2.spec 2018-02-28 15:06:00.000000000 
+0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.0.32
+Version:        4.0.36
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -47,8 +47,8 @@
 BuildRequires:  yast2-update >= 3.3.0
 BuildRequires:  yast2-slp
 BuildRequires:  yast2-country
-# Y2Storage::AutoinstProfile::SkipListValue#to_hash
-BuildRequires:  yast2-storage-ng >= 4.0.23
+# ActivateCallbacks::multipath signature
+BuildRequires:  yast2-storage-ng >= 4.0.116
 
 # %%{_unitdir} macro definition is in a separate package since 13.1
 %if 0%{?suse_version} >= 1310
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.0.32/src/clients/inst_store_upgrade_software.rb 
new/autoyast2-4.0.36/src/clients/inst_store_upgrade_software.rb
--- old/autoyast2-4.0.32/src/clients/inst_store_upgrade_software.rb     
2018-02-23 14:47:14.000000000 +0100
+++ new/autoyast2-4.0.36/src/clients/inst_store_upgrade_software.rb     
2018-02-28 15:06:00.000000000 +0100
@@ -108,8 +108,10 @@
       names = Pkg.GetPackages(status, names_only)
 
       names.select do |name|
-        packages = Pkg.ResolvableProperties(name, :package, "")
-        packages.any?{ |p| p["transact_by"] == :user || p["transact_by"] == 
:app_high }
+        Pkg.PkgPropertiesAll(name).any? do |p|
+          (p["transact_by"] == :user || p["transact_by"] == :app_high) &&
+            p["status"] == status
+        end
       end
     end
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.0.32/src/lib/autoinstall/activate_callbacks.rb 
new/autoyast2-4.0.36/src/lib/autoinstall/activate_callbacks.rb
--- old/autoyast2-4.0.32/src/lib/autoinstall/activate_callbacks.rb      
2018-02-23 14:47:14.000000000 +0100
+++ new/autoyast2-4.0.36/src/lib/autoinstall/activate_callbacks.rb      
2018-02-28 15:06:00.000000000 +0100
@@ -25,13 +25,13 @@
 
 module Y2Autoinstallation
   # Activate callbacks for Y2Storage.
-  class ActivateCallbacks < Storage::ActivateCallbacks
+  class ActivateCallbacks < Y2Storage::Callbacks::Activate
     # Determine whether multipath should be enabled
     #
     # This hook returns true if start_multipath was set to +true+.
     #
     # @return [Boolean]
-    def multipath
+    def multipath(looks_like_real_multipath)
       Yast::AutoinstStorage.general_settings.fetch("start_multipath", false)
     end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.0.32/src/lib/autoinstall/autosetup_helpers.rb 
new/autoyast2-4.0.36/src/lib/autoinstall/autosetup_helpers.rb
--- old/autoyast2-4.0.32/src/lib/autoinstall/autosetup_helpers.rb       
2018-02-23 14:47:14.000000000 +0100
+++ new/autoyast2-4.0.36/src/lib/autoinstall/autosetup_helpers.rb       
2018-02-28 15:06:00.000000000 +0100
@@ -42,6 +42,7 @@
     # @return [Symbol] :abort if profile could not be read; :found when it was 
loaded;
     #   :not_found if it does not exist
     def readModified
+      textdomain "autoinst"
       if Yast::SCR.Read(path(".target.size"), 
Yast::AutoinstConfig.modified_profile) <= 0
         return :not_found
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.0.32/src/lib/autoinstall/dialogs/disk_selector.rb 
new/autoyast2-4.0.36/src/lib/autoinstall/dialogs/disk_selector.rb
--- old/autoyast2-4.0.32/src/lib/autoinstall/dialogs/disk_selector.rb   
2018-02-23 14:47:14.000000000 +0100
+++ new/autoyast2-4.0.36/src/lib/autoinstall/dialogs/disk_selector.rb   
2018-02-28 15:06:00.000000000 +0100
@@ -48,6 +48,7 @@
       # @param blacklist   [Array<String>] Device names that should be omitted.
       #   These disks will be filtered out.
       def initialize(devicegraph = nil, drive_index: 1, blacklist: [])
+        textdomain "autoinst"
         @devicegraph = devicegraph || Y2Storage::StorageManager.instance.probed
         @drive_index = drive_index
         @blacklist = blacklist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.0.32/test/AutoInstallRules_test.rb 
new/autoyast2-4.0.36/test/AutoInstallRules_test.rb
--- old/autoyast2-4.0.32/test/AutoInstallRules_test.rb  2018-02-23 
14:47:14.000000000 +0100
+++ new/autoyast2-4.0.36/test/AutoInstallRules_test.rb  2018-02-28 
15:06:00.000000000 +0100
@@ -123,7 +123,7 @@
       )
       expect(Yast::SCR).to 
receive(:Execute).with(Yast::Path.new(".target.bash_output"),
        "if  ( [ \"$hostaddress\" = \"10.69.57.43\" ] )   ||   ( [ \"$mac\" = 
\"000c2903d288\" ] ); then exit 0; else exit 1; fi",
-       {"hostaddress" => subject.hostaddress, "mac"=>""}
+       { "hostaddress" => subject.hostaddress, "mac"=> subject.mac}
        )
       .and_return({"stdout"=>"", "exit"=>0, "stderr"=>""})
 
@@ -143,7 +143,7 @@
       )
       expect(Yast::SCR).to 
receive(:Execute).with(Yast::Path.new(".target.bash_output"),
        "if  ( [ \"$hostaddress\" = \"10.69.57.43\" ] )   &&   ( [ \"$mac\" = 
\"000c2903d288\" ] ); then exit 0; else exit 1; fi",
-       {"hostaddress" => subject.hostaddress, "mac"=>""}
+       { "hostaddress" => subject.hostaddress, "mac"=> subject.mac }
        )
       .and_return({"stdout"=>"", "exit"=>0, "stderr"=>""})
 
@@ -162,7 +162,7 @@
       )
       expect(Yast::SCR).to 
receive(:Execute).with(Yast::Path.new(".target.bash_output"),
        "if  ( [ \"$hostaddress\" = \"10.69.57.43\" ] )   &&   ( [ \"$mac\" = 
\"000c2903d288\" ] ); then exit 0; else exit 1; fi",
-       {"hostaddress" => subject.hostaddress, "mac"=>""}
+       { "hostaddress" => subject.hostaddress, "mac"=> subject.mac }
        )
       .and_return({"stdout"=>"", "exit"=>0, "stderr"=>""})
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.0.32/test/lib/activate_callbacks_test.rb 
new/autoyast2-4.0.36/test/lib/activate_callbacks_test.rb
--- old/autoyast2-4.0.32/test/lib/activate_callbacks_test.rb    2018-02-23 
14:47:14.000000000 +0100
+++ new/autoyast2-4.0.36/test/lib/activate_callbacks_test.rb    2018-02-28 
15:06:00.000000000 +0100
@@ -38,7 +38,7 @@
       let(:start_multipath) { true }
 
       it "returns true" do
-        expect(callbacks.multipath).to eq(true)
+        expect(callbacks.multipath(true)).to eq(true)
       end
     end
 
@@ -46,7 +46,7 @@
       let(:start_multipath) { false }
 
       it "returns false" do
-        expect(callbacks.multipath).to eq(false)
+        expect(callbacks.multipath(true)).to eq(false)
       end
     end
 
@@ -54,7 +54,7 @@
       let(:start_multipath) { false }
 
       it "returns false" do
-        expect(callbacks.multipath).to eq(false)
+        expect(callbacks.multipath(true)).to eq(false)
       end
     end
   end


Reply via email to