Hello community,

here is the log from the commit of package yast2-packager for openSUSE:Factory 
checked in at 2016-03-26 15:11:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-packager.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-packager"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes    
2016-03-07 15:02:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-packager.new/yast2-packager.changes       
2016-03-26 15:11:03.000000000 +0100
@@ -1,0 +2,7 @@
+Fri Mar 18 11:46:53 UTC 2016 - [email protected]
+
+- Fixed list of skipped packages in the installation summary
+  dialog (boo#971759)
+- 3.1.91
+
+-------------------------------------------------------------------

Old:
----
  yast2-packager-3.1.90.tar.bz2

New:
----
  yast2-packager-3.1.91.tar.bz2

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

Other differences:
------------------
++++++ yast2-packager.spec ++++++
--- /var/tmp/diff_new_pack.Fx2nFW/_old  2016-03-26 15:11:04.000000000 +0100
+++ /var/tmp/diff_new_pack.Fx2nFW/_new  2016-03-26 15:11:04.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        3.1.90
+Version:        3.1.91
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-packager-3.1.90.tar.bz2 -> yast2-packager-3.1.91.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.90/package/yast2-packager.changes 
new/yast2-packager-3.1.91/package/yast2-packager.changes
--- old/yast2-packager-3.1.90/package/yast2-packager.changes    2016-03-05 
11:57:38.000000000 +0100
+++ new/yast2-packager-3.1.91/package/yast2-packager.changes    2016-03-18 
13:22:11.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Fri Mar 18 11:46:53 UTC 2016 - [email protected]
+
+- Fixed list of skipped packages in the installation summary
+  dialog (boo#971759)
+- 3.1.91
+
+-------------------------------------------------------------------
 Mon Feb 22 11:13:20 UTC 2016 - [email protected]
 
 - Show messages coming from libzypp except during installation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-packager-3.1.90/package/yast2-packager.spec 
new/yast2-packager-3.1.91/package/yast2-packager.spec
--- old/yast2-packager-3.1.90/package/yast2-packager.spec       2016-03-05 
11:57:38.000000000 +0100
+++ new/yast2-packager-3.1.91/package/yast2-packager.spec       2016-03-18 
13:22:11.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-packager
-Version:        3.1.90
+Version:        3.1.91
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-packager-3.1.90/src/modules/PackageInstallation.rb 
new/yast2-packager-3.1.91/src/modules/PackageInstallation.rb
--- old/yast2-packager-3.1.90/src/modules/PackageInstallation.rb        
2016-03-05 11:57:38.000000000 +0100
+++ new/yast2-packager-3.1.91/src/modules/PackageInstallation.rb        
2016-03-18 13:22:11.000000000 +0100
@@ -195,7 +195,7 @@
 
         Ops.set(summary, "time_seconds", installation_time)
         Ops.set(summary, "success", Builtins.size(errpacks) == 0)
-        Ops.set(summary, "remaining", Ops.get_list(commit_result, 2, []))
+        Ops.set(summary, "remaining", package_names(commit_result[2] || []))
         Ops.set(summary, "install_log", SlideShow.inst_log)
 
         if Ops.greater_than(Builtins.size(errpacks), 0)
@@ -296,6 +296,15 @@
     publish :function => :FakePackager, :type => "any (list <list>, string, 
boolean)"
     publish :function => :Commit, :type => "list (map <string, any>)"
     publish :function => :CommitPackages, :type => "list (integer, integer)"
+
+    private
+
+    # Get a human readable list of installed packages
+    # @param [Array<Hash>] packages list of package data
+    # @return [Array<String>] list of package names
+    def package_names(packages)
+      packages.map{ |p| p["name"] }
+    end
   end
 
   PackageInstallation = PackageInstallationClass.new


Reply via email to