Hello community,
here is the log from the commit of package yast2-installation for
openSUSE:Factory checked in at 2017-08-13 14:52:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
and /work/SRC/openSUSE:Factory/.yast2-installation.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-installation"
Sun Aug 13 14:52:55 2017 rev:390 rq:515276 version:3.3.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes
2017-08-02 11:26:58.140349940 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-installation.new/yast2-installation.changes
2017-08-13 14:52:58.701090365 +0200
@@ -1,0 +2,13 @@
+Mon Aug 7 13:43:34 UTC 2017 - [email protected]
+
+- Fix crash when going back from product selection (FATE#323450)
+- 3.3.5
+
+-------------------------------------------------------------------
+Fri Aug 4 06:26:43 UTC 2017 - [email protected]
+
+- Allow using base products from additional repositories
+ (FATE#323450)
+- 3.3.4
+
+-------------------------------------------------------------------
Old:
----
yast2-installation-3.3.3.tar.bz2
New:
----
yast2-installation-3.3.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.3vdG2E/_old 2017-08-13 14:52:59.772939972 +0200
+++ /var/tmp/diff_new_pack.3vdG2E/_new 2017-08-13 14:52:59.780938849 +0200
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 3.3.3
+Version: 3.3.5
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-installation-3.3.3.tar.bz2 -> yast2-installation-3.3.5.tar.bz2
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-3.3.3/package/yast2-installation.changes
new/yast2-installation-3.3.5/package/yast2-installation.changes
--- old/yast2-installation-3.3.3/package/yast2-installation.changes
2017-07-31 15:08:34.387704126 +0200
+++ new/yast2-installation-3.3.5/package/yast2-installation.changes
2017-08-09 03:04:13.655957903 +0200
@@ -1,4 +1,17 @@
-------------------------------------------------------------------
+Mon Aug 7 13:43:34 UTC 2017 - [email protected]
+
+- Fix crash when going back from product selection (FATE#323450)
+- 3.3.5
+
+-------------------------------------------------------------------
+Fri Aug 4 06:26:43 UTC 2017 - [email protected]
+
+- Allow using base products from additional repositories
+ (FATE#323450)
+- 3.3.4
+
+-------------------------------------------------------------------
Mon Jul 31 08:16:23 UTC 2017 - [email protected]
- New client for product selection (FATE#323450)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-3.3.3/package/yast2-installation.spec
new/yast2-installation-3.3.5/package/yast2-installation.spec
--- old/yast2-installation-3.3.3/package/yast2-installation.spec
2017-07-31 15:08:34.387704126 +0200
+++ new/yast2-installation-3.3.5/package/yast2-installation.spec
2017-08-09 03:04:13.655957903 +0200
@@ -17,7 +17,7 @@
Name: yast2-installation
-Version: 3.3.3
+Version: 3.3.5
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-3.3.3/src/lib/installation/dialogs/product_selection.rb
new/yast2-installation-3.3.5/src/lib/installation/dialogs/product_selection.rb
---
old/yast2-installation-3.3.3/src/lib/installation/dialogs/product_selection.rb
2017-07-31 15:08:34.691704126 +0200
+++
new/yast2-installation-3.3.5/src/lib/installation/dialogs/product_selection.rb
2017-08-09 03:04:13.871957903 +0200
@@ -38,7 +38,8 @@
# enhances default run by additional action if next is pressed
def run
- return if super != :next
+ res = super
+ return res if res != :next
# remove already selected if it is not first run of dialog
if self.class.selected_package
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-installation-3.3.3/src/lib/installation/product_reader.rb
new/yast2-installation-3.3.5/src/lib/installation/product_reader.rb
--- old/yast2-installation-3.3.3/src/lib/installation/product_reader.rb
2017-07-31 15:08:34.691704126 +0200
+++ new/yast2-installation-3.3.5/src/lib/installation/product_reader.rb
2017-08-09 03:04:13.875957903 +0200
@@ -25,7 +25,7 @@
# @return [Array<Installation::Product>] the found available base products,
# the products are sorted by the 'displayorder' provides value
def self.available_base_products
- products = base_products
+ products = available_products
installation_mapping = installation_package_mapping
result = products.map do |prod|
@@ -60,22 +60,22 @@
end
end
- # read the available base products
+ # read the available products, remove potential duplicates
# @return [Array<Hash>] pkg-bindings data structure
- def self.base_products
- products = Yast::Pkg.ResolvableProperties("", :product, "").select do
|prod|
- prod["source"] == 0
- end
+ def self.available_products
+ products = Yast::Pkg.ResolvableProperties("", :product, "")
# remove duplicates, there migth be different flavors ("DVD"/"POOL")
- # or archs (x86_64/i586)
+ # or archs (x86_64/i586), when selecting the product to install later
+ # libzypp will select the correct arch automatically
products.uniq! { |prod| prod["name"] }
-
log.info "Found products: #{products.map { |prod| prod["name"] }}"
products
end
+ private_class_method :available_products
+
def self.installation_package_mapping
installation_packages =
Yast::Pkg.PkgQueryProvides("system-installation()")