Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2022-02-17 00:30:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old) and /work/SRC/openSUSE:Factory/.autoyast2.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autoyast2" Thu Feb 17 00:30:07 2022 rev:317 rq:954719 version:4.4.30 Changes: -------- --- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes 2022-02-09 20:39:13.818380314 +0100 +++ /work/SRC/openSUSE:Factory/.autoyast2.new.1956/autoyast2.changes 2022-02-17 00:30:27.605434029 +0100 @@ -1,0 +2,7 @@ +Mon Feb 14 16:30:39 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- The ayast_setup client imports the general settings + (bsc#1195631). +- 4.4.30 + +------------------------------------------------------------------- Old: ---- autoyast2-4.4.29.tar.bz2 New: ---- autoyast2-4.4.30.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.AR5HFO/_old 2022-02-17 00:30:28.457433882 +0100 +++ /var/tmp/diff_new_pack.AR5HFO/_new 2022-02-17 00:30:28.461433881 +0100 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.4.29 +Version: 4.4.30 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only @@ -44,13 +44,13 @@ # Replace PackageSystem with Package BuildRequires: yast2 >= 4.4.38 # FileSystems.read_default_subvol_from_target -BuildRequires: yast2-xml BuildRequires: yast2-services-manager BuildRequires: yast2-transfer +BuildRequires: yast2-xml # ProductSpec API -BuildRequires: yast2-packager >= 4.4.13 BuildRequires: yast2-country BuildRequires: yast2-network >= 3.1.145 +BuildRequires: yast2-packager >= 4.4.13 BuildRequires: yast2-slp BuildRequires: yast2-update >= 3.3.0 # Required for test suite testing one time sync @@ -79,8 +79,8 @@ Requires: yast2-transfer >= 2.21.0 Requires: yast2-xml # New API for Y2Storage::PackageHandler and storage features -Requires: yast2-storage-ng >= 4.2.95 Requires: yast2-ruby-bindings >= 1.0.0 +Requires: yast2-storage-ng >= 4.2.95 Conflicts: yast2-installation < 3.1.166 ++++++ autoyast2-4.4.29.tar.bz2 -> autoyast2-4.4.30.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.4.29/package/autoyast2.changes new/autoyast2-4.4.30/package/autoyast2.changes --- old/autoyast2-4.4.29/package/autoyast2.changes 2022-02-07 17:26:06.000000000 +0100 +++ new/autoyast2-4.4.30/package/autoyast2.changes 2022-02-15 12:03:32.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Feb 14 16:30:39 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- The ayast_setup client imports the general settings + (bsc#1195631). +- 4.4.30 + +------------------------------------------------------------------- Mon Feb 7 14:19:37 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> - Fix the profile update when using an <ask/> element diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.4.29/package/autoyast2.spec new/autoyast2-4.4.30/package/autoyast2.spec --- old/autoyast2-4.4.29/package/autoyast2.spec 2022-02-07 17:26:06.000000000 +0100 +++ new/autoyast2-4.4.30/package/autoyast2.spec 2022-02-15 12:03:32.000000000 +0100 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.4.29 +Version: 4.4.30 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.4.29/src/lib/autoinstall/clients/ayast_setup.rb new/autoyast2-4.4.30/src/lib/autoinstall/clients/ayast_setup.rb --- old/autoyast2-4.4.29/src/lib/autoinstall/clients/ayast_setup.rb 2022-02-07 17:26:06.000000000 +0100 +++ new/autoyast2-4.4.30/src/lib/autoinstall/clients/ayast_setup.rb 2022-02-15 12:03:32.000000000 +0100 @@ -27,6 +27,7 @@ Yast.import "AutoinstSoftware" Yast.import "Package" Yast.import "AutoinstData" +Yast.import "AutoinstGeneral" Yast.import "Lan" Yast.import "Pkg" @@ -48,6 +49,8 @@ Yast::Mode.SetMode("autoinstallation") Yast::Stage.Set("continue") + Yast::AutoinstGeneral.Import(Yast::Profile.current.fetch("general", {})) + # IPv6 settings will be written despite the have been # changed or not. So we have to read them at first. # FIXME: Move it to Lan.rb and remove the Lan import dependency. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.4.29/test/lib/clients/ayast_setup_test.rb new/autoyast2-4.4.30/test/lib/clients/ayast_setup_test.rb --- old/autoyast2-4.4.29/test/lib/clients/ayast_setup_test.rb 2022-02-07 17:26:06.000000000 +0100 +++ new/autoyast2-4.4.30/test/lib/clients/ayast_setup_test.rb 2022-02-15 12:03:32.000000000 +0100 @@ -34,7 +34,12 @@ describe "Y2Autoinstall::Clients::AyastSetup" do let(:subject) { Yast::DummyClient.new } - let(:profile) { { "software" => { "post-packages" => packages } } } + let(:profile) do + { + "general" => { "mode" => { "confirm" => true } }, + "software" => { "post-packages" => packages } + } + end let(:packages) { ["vim"] } let(:dopackages) { false } @@ -52,6 +57,7 @@ before do Yast::Profile.current = profile allow(Yast::AutoInstall).to receive(:Save) + allow(Yast::AutoinstGeneral).to receive(:Import) allow(Yast::WFM).to receive(:CallFunction) allow(Yast::Mode).to receive(:SetMode) allow(Yast::Stage).to receive(:Set) @@ -110,5 +116,12 @@ subject.Setup expect(Yast::Profile.current.keys).to_not include("networking") end + + it "imports general settings" do + expect(Yast::AutoinstGeneral).to receive(:Import).with( + "mode" => { "confirm" => true } + ) + subject.Setup + end end end