Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package autoyast2 for openSUSE:Factory checked in at 2025-03-24 13:25:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old) and /work/SRC/openSUSE:Factory/.autoyast2.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "autoyast2" Mon Mar 24 13:25:22 2025 rev:339 rq:1255023 version:5.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes 2025-02-25 16:39:32.434738683 +0100 +++ /work/SRC/openSUSE:Factory/.autoyast2.new.2696/autoyast2.changes 2025-03-24 13:25:24.890705520 +0100 @@ -1,0 +2,7 @@ +Thu Mar 20 10:50:34 UTC 2025 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- Allow skipping profile fetch errors by setting + YAST_SKIP_PROFILE_FETCH_ERROR=1 (see gh#agama-project/agama#2180). +- 5.0.5 + +------------------------------------------------------------------- Old: ---- autoyast2-5.0.4.tar.bz2 New: ---- autoyast2-5.0.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ autoyast2.spec ++++++ --- /var/tmp/diff_new_pack.he2PZh/_old 2025-03-24 13:25:26.390768022 +0100 +++ /var/tmp/diff_new_pack.he2PZh/_new 2025-03-24 13:25:26.394768188 +0100 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 5.0.4 +Version: 5.0.5 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only ++++++ autoyast2-5.0.4.tar.bz2 -> autoyast2-5.0.5.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-5.0.4/package/autoyast2.changes new/autoyast2-5.0.5/package/autoyast2.changes --- old/autoyast2-5.0.4/package/autoyast2.changes 2025-02-24 09:44:06.000000000 +0100 +++ new/autoyast2-5.0.5/package/autoyast2.changes 2025-03-21 14:48:49.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Mar 20 10:50:34 UTC 2025 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- Allow skipping profile fetch errors by setting + YAST_SKIP_PROFILE_FETCH_ERROR=1 (see gh#agama-project/agama#2180). +- 5.0.5 + +------------------------------------------------------------------- Thu Feb 20 14:29:46 UTC 2025 - Knut Anderssen <kanders...@suse.com> - Update the partitioning schema to support the pervasive encryption diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-5.0.4/package/autoyast2.spec new/autoyast2-5.0.5/package/autoyast2.spec --- old/autoyast2-5.0.4/package/autoyast2.spec 2025-02-24 09:44:06.000000000 +0100 +++ new/autoyast2-5.0.5/package/autoyast2.spec 2025-03-21 14:48:49.000000000 +0100 @@ -22,7 +22,7 @@ %endif Name: autoyast2 -Version: 5.0.4 +Version: 5.0.5 Release: 0 Summary: YaST2 - Automated Installation License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-5.0.4/src/modules/ProfileLocation.rb new/autoyast2-5.0.5/src/modules/ProfileLocation.rb --- old/autoyast2-5.0.4/src/modules/ProfileLocation.rb 2025-02-24 09:44:06.000000000 +0100 +++ new/autoyast2-5.0.5/src/modules/ProfileLocation.rb 2025-03-21 14:48:49.000000000 +0100 @@ -123,7 +123,7 @@ if !ret # autoyast hit an error while fetching it's config file error = _("An error occurred while fetching the profile:\n") - Report.Error(Ops.add(error, @GET_error)) + Report.Error(Ops.add(error, @GET_error)) if ENV["YAST_SKIP_PROFILE_FETCH_ERROR"] != "1" return false end tmp = SCR.Read(path(".target.string"), localfile) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/autoyast2-5.0.4/test/ProfileLocation_test.rb new/autoyast2-5.0.5/test/ProfileLocation_test.rb --- old/autoyast2-5.0.4/test/ProfileLocation_test.rb 2025-02-24 09:44:06.000000000 +0100 +++ new/autoyast2-5.0.5/test/ProfileLocation_test.rb 2025-03-21 14:48:49.000000000 +0100 @@ -71,6 +71,30 @@ end end + context "when the profile does not exist" do + before do + allow(subject).to receive(:Get).and_return(false) + end + + it "reports an error" do + expect(Yast::Report).to receive(:Error) + expect(subject.Process).to eq(false) + end + + context "and fetch errors are disabled" do + around do |example| + ENV["YAST_SKIP_PROFILE_FETCH_ERROR"] = "1" + example.run + ENV.delete("YAST_SKIP_PROFILE_FETCH_ERROR") + end + + it "does not report an error" do + expect(Yast::Report).to_not receive(:Error) + expect(subject.Process).to eq(false) + end + end + end + context "when the profile is an erb file" do let(:filepath) { "autoinst.erb" }