Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2018-03-26 12:17:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old) and /work/SRC/openSUSE:Factory/.autoyast2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autoyast2" Mon Mar 26 12:17:20 2018 rev:240 rq:590684 version:4.0.44 Changes: -------- --- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes 2018-03-18 21:43:24.128831729 +0100 +++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2018-03-26 12:17:25.191952567 +0200 @@ -1,0 +2,40 @@ +Fri Mar 23 11:58:50 UTC 2018 - jlo...@suse.com + +- Properly abort when probing devices fails (part of bsc#1083672). +- 4.0.44 + +------------------------------------------------------------------- +Fri Mar 23 11:39:33 UTC 2018 - igonzalezs...@suse.com + +- Do not export an <id/> element in the partitioning section + (bsc#1013047) + +------------------------------------------------------------------- +Thu Mar 22 13:37:23 CET 2018 - sch...@suse.de + +- Add-On-Products: Handling error popup for wrong settings. + (bnc#1084596) +- 4.0.43 + +------------------------------------------------------------------- +Thu Mar 22 08:03:28 UTC 2018 - knut.anders...@suse.com + +- Permitted the use of 'listentry' element in all the software + AutoYaST schema list entries (bsc#1013047) +- 4.0.42 + +------------------------------------------------------------------- +Wed Mar 21 15:55:03 UTC 2018 - knut.anders...@suse.com + +- Added more entries to be used instead of the listentry tag when + cloning the system (bsc#1013047) +- 4.0.41 + +------------------------------------------------------------------- +Tue Mar 20 15:24:43 CET 2018 - sch...@suse.de + +- Improved error message if the base product cannot be found. + (follow up of bnc#1084820) +- 4.0.40 + +------------------------------------------------------------------- Old: ---- autoyast2-4.0.39.tar.bz2 New: ---- autoyast2-4.0.44.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.Lf23bj/_old 2018-03-26 12:17:26.835893618 +0200 +++ /var/tmp/diff_new_pack.Lf23bj/_new 2018-03-26 12:17:26.839893474 +0200 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.0.39 +Version: 4.0.44 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -37,8 +37,9 @@ BuildRequires: libxml2-tools # xsltproc for AutoinstClass BuildRequires: libxslt -BuildRequires: yast2 BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) +# Yast::Popup.ErrorAnyQuestion fixed +BuildRequires: yast2 >= 4.0.60 # FileSystems.read_default_subvol_from_target BuildRequires: yast2-country BuildRequires: yast2-packager @@ -59,8 +60,8 @@ Requires: autoyast2-installation = %{version} Requires: libxslt -Requires: yast2 -Requires: yast2 >= 3.1.183 +# Yast::Popup.ErrorAnyQuestion fixed +Requires: yast2 >= 4.0.60 Requires: yast2-core Requires: yast2-country >= 3.1.13 Requires: yast2-network >= 3.1.145 ++++++ autoyast2-4.0.39.tar.bz2 -> autoyast2-4.0.44.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/doc/profile_changes_SLE15.md new/autoyast2-4.0.44/doc/profile_changes_SLE15.md --- old/autoyast2-4.0.39/doc/profile_changes_SLE15.md 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/doc/profile_changes_SLE15.md 2018-03-23 14:08:51.000000000 +0100 @@ -171,10 +171,10 @@ ```xml <firewall> - FW_SERVICES_DMZ_TCP="ftp ssh 80 5900:5999" - FW_SERVICES_EXT_UDP="1723 ipsec-nat-t" - FW_SERVICES_EXT_IP="esp icmp gre" - FW_MASQUERADE="yes" + <FW_SERVICES_DMZ_TCP>ftp ssh 80 5900:5999</FW_SERVICES_DMZ_TCP> + <FW_SERVICES_EXT_UDP>1723 ipsec-nat-t</FW_SERVICES_EXT_UDP> + <FW_SERVICES_EXT_IP>esp icmp gre</FW_SERVICES_EXT_IP> + <FW_MASQUERADE>yes</FW_MASQUERADE> </firewall> ``` @@ -484,3 +484,11 @@ You can list the available extensions and modules in a registered system using the `SUSEConnect --list-extensions` command. + +## Upgrade + +In previous versions, there were two modes of evaluation of the packages +that need upgrade. This is now gone, packages to upgrade are always evaluated +by the dependency solver (equivalent of 'zypper dup'). + +This makes the option 'only_installed_packages' obsolete. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/package/autoyast2.changes new/autoyast2-4.0.44/package/autoyast2.changes --- old/autoyast2-4.0.39/package/autoyast2.changes 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/package/autoyast2.changes 2018-03-23 14:08:51.000000000 +0100 @@ -1,4 +1,44 @@ ------------------------------------------------------------------- +Fri Mar 23 11:58:50 UTC 2018 - jlo...@suse.com + +- Properly abort when probing devices fails (part of bsc#1083672). +- 4.0.44 + +------------------------------------------------------------------- +Fri Mar 23 11:39:33 UTC 2018 - igonzalezs...@suse.com + +- Do not export an <id/> element in the partitioning section + (bsc#1013047) + +------------------------------------------------------------------- +Thu Mar 22 13:37:23 CET 2018 - sch...@suse.de + +- Add-On-Products: Handling error popup for wrong settings. + (bnc#1084596) +- 4.0.43 + +------------------------------------------------------------------- +Thu Mar 22 08:03:28 UTC 2018 - knut.anders...@suse.com + +- Permitted the use of 'listentry' element in all the software + AutoYaST schema list entries (bsc#1013047) +- 4.0.42 + +------------------------------------------------------------------- +Wed Mar 21 15:55:03 UTC 2018 - knut.anders...@suse.com + +- Added more entries to be used instead of the listentry tag when + cloning the system (bsc#1013047) +- 4.0.41 + +------------------------------------------------------------------- +Tue Mar 20 15:24:43 CET 2018 - sch...@suse.de + +- Improved error message if the base product cannot be found. + (follow up of bnc#1084820) +- 4.0.40 + +------------------------------------------------------------------- Thu Mar 15 09:47:33 UTC 2018 - igonzalezs...@suse.com - Reuse encrypted devices when required (bsc#1085439). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/package/autoyast2.spec new/autoyast2-4.0.44/package/autoyast2.spec --- old/autoyast2-4.0.39/package/autoyast2.spec 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/package/autoyast2.spec 2018-03-23 14:08:51.000000000 +0100 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.0.39 +Version: 4.0.44 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -38,7 +38,8 @@ # xsltproc for AutoinstClass BuildRequires: libxslt BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) -BuildRequires: yast2 +# Yast::Popup.ErrorAnyQuestion fixed +BuildRequires: yast2 >= 4.0.60 # FileSystems.read_default_subvol_from_target BuildRequires: yast2-xml BuildRequires: yast2-transfer @@ -59,8 +60,8 @@ Requires: autoyast2-installation = %{version} Requires: libxslt -Requires: yast2 -Requires: yast2 >= 3.1.183 +# Yast::Popup.ErrorAnyQuestion fixed +Requires: yast2 >= 4.0.60 Requires: yast2-core Requires: yast2-country >= 3.1.13 Requires: yast2-ntp-client >= 4.0.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/src/autoyast-rnc/software.rnc new/autoyast2-4.0.44/src/autoyast-rnc/software.rnc --- old/autoyast2-4.0.39/src/autoyast-rnc/software.rnc 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/src/autoyast-rnc/software.rnc 2018-03-23 14:08:51.000000000 +0100 @@ -21,43 +21,43 @@ patterns = element patterns { LIST, - element pattern { text }+ + element (pattern | listentry) { text }+ } kernel = element kernel { text } post-packages = element post-packages { LIST, - element package {text}+ + element (package | listentry) {text}+ } post-patterns = element post-patterns { LIST, - element pattern {text}+ + element (pattern | listentry) {text}+ } packages = element packages { LIST, - element package {text}+ + element (package | listentry) {text}+ } remove-packages = element remove-packages { LIST, - element package {text}+ + element (package | listentry) {text}+ } remove-patterns = element remove-patterns { LIST, - element pattern {text}+ + element (pattern | listentry) {text}+ } products = element products { LIST, - element product {text}+ + element (product | listentry) {text}+ } remove-products = element remove-products { LIST, - element product {text}+ + element (product | listentry) {text}+ } script_params = element script_params { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/src/clients/inst_autoinit.rb new/autoyast2-4.0.44/src/clients/inst_autoinit.rb --- old/autoyast2-4.0.39/src/clients/inst_autoinit.rb 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/src/clients/inst_autoinit.rb 2018-03-23 14:08:51.000000000 +0100 @@ -87,7 +87,8 @@ Progress.Finish if !(Mode.autoupgrade && AutoinstConfig.ProfileInRootPart) - WFM.CallFunction("inst_system_analysis", []) + @ret = WFM.CallFunction("inst_system_analysis", []) + return @ret if @ret == :abort end if Builtins.haskey(Profile.current, "iscsi-client") @@ -109,8 +110,13 @@ end if !AutoinstFunctions.selected_product - Report.Error(_("No base product selected")) - + msg = _("None or wrong base product has been defined in the AutoYaST configuration file. " \ + "Please check the <b>products</b> entry in the <b>software</b> section.<br><br>" \ + "Following base products are available:<br>") + Y2Packager::Product.available_base_products.each do |product| + msg += "#{product.name} (#{product.display_name})<br>" + end + Popup.LongError(msg) # No timeout because we are stopping the installation/upgrade. return :abort end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/src/clients/inst_autosetup.rb new/autoyast2-4.0.44/src/clients/inst_autosetup.rb --- old/autoyast2-4.0.39/src/clients/inst_autosetup.rb 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/src/clients/inst_autosetup.rb 2018-03-23 14:08:51.000000000 +0100 @@ -183,10 +183,14 @@ if Builtins.haskey(Profile.current, "add-on") Progress.Title(_("Handling Add-On Products...")) - Call.Function( - "add-on_auto", - ["Import", Ops.get_map(Profile.current, "add-on", {})] - ) + unless Call.Function( + "add-on_auto", + ["Import", Ops.get_map(Profile.current, "add-on", {})] + ) + + log.warn("User has aborted the installation.") + return :abort + end Call.Function("add-on_auto", ["Write"]) # Recover partitioning settings that were removed by the add-on_auto client (bsc#1073548) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/src/clients/inst_autosetup_upgrade.rb new/autoyast2-4.0.44/src/clients/inst_autosetup_upgrade.rb --- old/autoyast2-4.0.39/src/clients/inst_autosetup_upgrade.rb 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/src/clients/inst_autosetup_upgrade.rb 2018-03-23 14:08:51.000000000 +0100 @@ -126,10 +126,14 @@ AutoinstGeneral.Write if Builtins.haskey(Profile.current, "add-on") - Call.Function( - "add-on_auto", - ["Import", Ops.get_map(Profile.current, "add-on", {})] - ) + unless Call.Function( + "add-on_auto", + ["Import", Ops.get_map(Profile.current, "add-on", {})] + ) + + log.warn("User has aborted the installation.") + return :abort + end Call.Function("add-on_auto", ["Write"]) # Recover partitioning settings that were removed by the add-on_auto client (bsc#1073548) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/src/include/autoinstall/xml.rb new/autoyast2-4.0.44/src/include/autoinstall/xml.rb --- old/autoyast2-4.0.39/src/include/autoinstall/xml.rb 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/src/include/autoinstall/xml.rb 2018-03-23 14:08:51.000000000 +0100 @@ -102,7 +102,12 @@ "ask-list" => "ask", "device_order" => "device", "param-list" => "param", - "semi-automatic" => "module" + "semi-automatic" => "module", + "ports" => "port", + "sources" => "source", + "zones" => "zone", + "authorized_keys" => "authorized_key", + "products" => "product" } ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/src/modules/AutoinstPartPlan.rb new/autoyast2-4.0.44/src/modules/AutoinstPartPlan.rb --- old/autoyast2-4.0.39/src/modules/AutoinstPartPlan.rb 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/src/modules/AutoinstPartPlan.rb 2018-03-23 14:08:51.000000000 +0100 @@ -407,6 +407,7 @@ def Export log.info("entering Export with #{@AutoPartPlan.inspect}") drives = deep_copy(@AutoPartPlan) + drives.each { |d| d.delete("_id") } # Adding skipped devices to partitioning section. # These devices will not be taken in the AutoYaSt configuration file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.0.39/test/AutoinstPartPlan_test.rb new/autoyast2-4.0.44/test/AutoinstPartPlan_test.rb --- old/autoyast2-4.0.39/test/AutoinstPartPlan_test.rb 2018-03-15 13:24:51.000000000 +0100 +++ new/autoyast2-4.0.44/test/AutoinstPartPlan_test.rb 2018-03-23 14:08:51.000000000 +0100 @@ -92,6 +92,11 @@ snapshots = subvolumes.select { |s| s.include?("snapshot") } expect(snapshots).to be_empty end + + it "does not include drive indexes" do + drives = subject.Export + expect(drives.first.keys).to_not include("_id") + end end describe "#getDrive" do