commit autoyast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2021-02-26 21:58:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old) and /work/SRC/openSUSE:Factory/.autoyast2.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "autoyast2" Fri Feb 26 21:58:55 2021 rev:297 rq:875325 version:4.3.69 Changes: -------- --- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes 2021-02-01 14:42:22.876726069 +0100 +++ /work/SRC/openSUSE:Factory/.autoyast2.new.2378/autoyast2.changes 2021-02-26 21:59:03.743800319 +0100 @@ -1,0 +2,14 @@ +Fri Feb 26 09:47:17 UTC 2021 - David Diaz <dgonzalez@suse.com> + +- Select patterns during auto installation even when not using the + confirm mode (related to jsc#SMO-20 and bsc#1182543). +- 4.3.69 + +------------------------------------------------------------------- +Mon Feb 15 15:08:35 UTC 2021 - Josef Reidinger <jreidinger@suse.com> + +- Adapted unit test to recent changes in Yast::Report (related to + bsc#1179893). +- 4.3.68 + +------------------------------------------------------------------- Old: ---- autoyast2-4.3.67.tar.bz2 New: ---- autoyast2-4.3.69.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.LRIBdv/_old 2021-02-26 21:59:04.455800945 +0100 +++ /var/tmp/diff_new_pack.LRIBdv/_new 2021-02-26 21:59:04.459800948 +0100 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.3.67 +Version: 4.3.69 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only ++++++ autoyast2-4.3.67.tar.bz2 -> autoyast2-4.3.69.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/package/autoyast2.changes new/autoyast2-4.3.69/package/autoyast2.changes --- old/autoyast2-4.3.67/package/autoyast2.changes 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/package/autoyast2.changes 2021-02-26 11:34:40.000000000 +0100 @@ -1,4 +1,18 @@ ------------------------------------------------------------------- +Fri Feb 26 09:47:17 UTC 2021 - David Diaz <dgonzalez@suse.com> + +- Select patterns during auto installation even when not using the + confirm mode (related to jsc#SMO-20 and bsc#1182543). +- 4.3.69 + +------------------------------------------------------------------- +Mon Feb 15 15:08:35 UTC 2021 - Josef Reidinger <jreidinger@suse.com> + +- Adapted unit test to recent changes in Yast::Report (related to + bsc#1179893). +- 4.3.68 + +------------------------------------------------------------------- Mon Feb 1 09:09:15 UTC 2021 - Ancor Gonzalez Sosa <ancor@suse.com> - AutoYaST UI: fixed field Mount Options (fstopt) in the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/package/autoyast2.spec new/autoyast2-4.3.69/package/autoyast2.spec --- old/autoyast2-4.3.67/package/autoyast2.spec 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/package/autoyast2.spec 2021-02-26 11:34:40.000000000 +0100 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 4.3.67 +Version: 4.3.69 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/src/modules/AutoinstSoftware.rb new/autoyast2-4.3.69/src/modules/AutoinstSoftware.rb --- old/autoyast2-4.3.67/src/modules/AutoinstSoftware.rb 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/src/modules/AutoinstSoftware.rb 2021-02-26 11:34:40.000000000 +0100 @@ -416,6 +416,8 @@ end end + Packages.SelectSystemPatterns(false) + # # Now remove all packages listed in remove-packages # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/test/AutoInstallRules_test.rb new/autoyast2-4.3.69/test/AutoInstallRules_test.rb --- old/autoyast2-4.3.67/test/AutoInstallRules_test.rb 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/test/AutoInstallRules_test.rb 2021-02-26 11:34:40.000000000 +0100 @@ -14,6 +14,8 @@ before do Y2Storage::StorageManager.create_test_instance allow(profile_checker).to receive(:valid_profile?).and_return(true) + # do not crash on reporting errors + allow(Yast::Report).to receive(:Error) end let(:root_path) { File.expand_path("..", __dir__) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/test/AutoinstConfig_test.rb new/autoyast2-4.3.69/test/AutoinstConfig_test.rb --- old/autoyast2-4.3.67/test/AutoinstConfig_test.rb 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/test/AutoinstConfig_test.rb 2021-02-26 11:34:40.000000000 +0100 @@ -17,6 +17,7 @@ let(:slp_server_reply) { [] } it "returns nil" do + expect(Yast::Report).to receive(:Error) expect(subject.find_slp_autoyast).to eq(nil) end end @@ -91,7 +92,7 @@ context "when the profile url is invalid" do let(:autoyast_profile_url) { "//file:8080/path/auto-installation.xml" } it "reports an error and returns false" do - expect(Yast::Report).to receive(:Error).with(/Invalid.*/).and_call_original + expect(Yast::Report).to receive(:Error).with(/Invalid.*/) expect(subject.ParseCmdLine(autoyast_profile_url)).to eq(false) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/test/AutoinstGeneral_test.rb new/autoyast2-4.3.69/test/AutoinstGeneral_test.rb --- old/autoyast2-4.3.67/test/AutoinstGeneral_test.rb 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/test/AutoinstGeneral_test.rb 2021-02-26 11:34:40.000000000 +0100 @@ -102,6 +102,8 @@ expect(Yast::SCR).to_not receive(:Execute) .with(path(".target.bash"), "/sbin/hwclock --systohc") + expect(Yast::Report).to receive(:Error) + subject.Write end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/test/ProfileLocation_test.rb new/autoyast2-4.3.69/test/ProfileLocation_test.rb --- old/autoyast2-4.3.67/test/ProfileLocation_test.rb 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/test/ProfileLocation_test.rb 2021-02-26 11:34:40.000000000 +0100 @@ -17,6 +17,8 @@ allow(Yast::InstURL).to receive(:installInf2Url).and_return( "http://download.opensuse.org/distribution/leap/15.1/repo/oss/" ) + allow(Yast::SCR).to receive(:Read).and_return("test") + allow(Yast::Report).to receive(:Error) # test is already quite weak and some errors are shown end context "when scheme is \"relurl\"" do @@ -24,7 +26,10 @@ expect(subject).to receive(:Get).with("http", "download.opensuse.org", "/distribution/leap/15.1/repo/oss/autoinst.xml", - "/tmp/123") + "/tmp/123").and_return(false) + # ^^^ Intentionally kill Process after get as rest of method is not tested and has too much + # side effects + subject.Process end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/test/lib/clients/inst_autosetup_upgrade_test.rb new/autoyast2-4.3.69/test/lib/clients/inst_autosetup_upgrade_test.rb --- old/autoyast2-4.3.67/test/lib/clients/inst_autosetup_upgrade_test.rb 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/test/lib/clients/inst_autosetup_upgrade_test.rb 2021-02-26 11:34:40.000000000 +0100 @@ -57,6 +57,7 @@ allow(Yast::UI).to receive(:SetLanguage) allow(Yast::AutoinstFunctions).to receive(:available_base_products).and_return([]) allow(Yast::Product).to receive(:FindBaseProducts).and_return([]) + allow(Yast::ProductControl).to receive(:RunFrom).and_return(:next) end describe "#main" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-4.3.67/test/test_helper.rb new/autoyast2-4.3.69/test/test_helper.rb --- old/autoyast2-4.3.67/test/test_helper.rb 2021-02-01 11:13:12.000000000 +0100 +++ new/autoyast2-4.3.69/test/test_helper.rb 2021-02-26 11:34:40.000000000 +0100 @@ -105,5 +105,9 @@ c.before do allow(Y2Packager::MediumType).to receive(:detect_medium_type).and_return(:standard) + # FIXME: temporary mock to avoid interdependencies failures + allow(Yast::Report).to receive(:Error) + allow(Yast::Report).to receive(:Warning) + allow(Yast::Report).to receive(:Message) end end
participants (1)
-
Source-Sync