Hello community, here is the log from the commit of package yast2-update for openSUSE:Factory checked in at 2016-05-08 10:38:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-update (Old) and /work/SRC/openSUSE:Factory/.yast2-update.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-update" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-update/yast2-update.changes 2016-03-18 21:38:02.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-update.new/yast2-update.changes 2016-05-08 10:38:45.000000000 +0200 @@ -1,0 +2,13 @@ +Tue May 3 09:54:40 UTC 2016 - lslezak@suse.cz + +- Updated yast2-packager dependency (FATE#320199) +- 3.1.39 + +------------------------------------------------------------------- +Fri Apr 22 16:37:31 UTC 2016 - lslezak@suse.cz + +- Select the default product patterns in the pattern based upgrade + (FATE#320199) +- 3.1.38 + +------------------------------------------------------------------- Old: ---- yast2-update-3.1.37.tar.bz2 New: ---- yast2-update-3.1.39.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-update.spec ++++++ --- /var/tmp/diff_new_pack.ZTKpin/_old 2016-05-08 10:38:46.000000000 +0200 +++ /var/tmp/diff_new_pack.ZTKpin/_new 2016-05-08 10:38:46.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-update -Version: 3.1.37 +Version: 3.1.39 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,8 +44,8 @@ Requires: yast2 >= 3.1.126 Requires: yast2-installation -# product update summary -Requires: yast2-packager >= 3.1.24 +# packager/product_patterns.rb +Requires: yast2-packager >= 3.1.95 # Pkg.TargetInitializeOptions() Requires: yast2-pkg-bindings >= 3.1.14 ++++++ yast2-update-3.1.37.tar.bz2 -> yast2-update-3.1.39.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-3.1.37/package/yast2-update.changes new/yast2-update-3.1.39/package/yast2-update.changes --- old/yast2-update-3.1.37/package/yast2-update.changes 2016-03-14 13:57:32.000000000 +0100 +++ new/yast2-update-3.1.39/package/yast2-update.changes 2016-05-03 17:16:47.000000000 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Tue May 3 09:54:40 UTC 2016 - lslezak@suse.cz + +- Updated yast2-packager dependency (FATE#320199) +- 3.1.39 + +------------------------------------------------------------------- +Fri Apr 22 16:37:31 UTC 2016 - lslezak@suse.cz + +- Select the default product patterns in the pattern based upgrade + (FATE#320199) +- 3.1.38 + +------------------------------------------------------------------- Mon Mar 14 10:27:34 UTC 2016 - igonzalezsosa@suse.com - Remove Yast::Transfer::FileFromUrl as it will be present diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-3.1.37/package/yast2-update.spec new/yast2-update-3.1.39/package/yast2-update.spec --- old/yast2-update-3.1.37/package/yast2-update.spec 2016-03-14 13:57:32.000000000 +0100 +++ new/yast2-update-3.1.39/package/yast2-update.spec 2016-05-03 17:16:47.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-update -Version: 3.1.37 +Version: 3.1.39 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,8 +46,8 @@ Requires: yast2 >= 3.1.126 Requires: yast2-installation -# product update summary -Requires: yast2-packager >= 3.1.24 +# packager/product_patterns.rb +Requires: yast2-packager >= 3.1.95 # Pkg.TargetInitializeOptions() Requires: yast2-pkg-bindings >= 3.1.14 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-update-3.1.37/src/clients/update_proposal.rb new/yast2-update-3.1.39/src/clients/update_proposal.rb --- old/yast2-update-3.1.37/src/clients/update_proposal.rb 2016-03-14 13:57:32.000000000 +0100 +++ new/yast2-update-3.1.39/src/clients/update_proposal.rb 2016-05-03 17:16:47.000000000 +0200 @@ -502,14 +502,22 @@ Pkg::ResolvableInstall(package, :package) end + Packages.SelectProduct + + # upgrade based on patterns if !Update.OnlyUpdateInstalled Packages.default_patterns.each do |pattern| select_pattern_result = Pkg.ResolvableInstall(pattern, :pattern) log.info "Pre-select pattern #{pattern}: #{select_pattern_result}" end - end - Packages.SelectProduct + # preselect the default product patterns (FATE#320199) + # note: must be called *after* selecting the products + require "packager/product_patterns" + product_patterns = ProductPatterns.new + log.info "Selecting the default product patterns: #{product_patterns.names}" + product_patterns.select + end # FATE #301990, Bugzilla #238488 # Control the upgrade process better