Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-agama-yast for openSUSE:Factory checked in at 2026-07-17 18:47:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-agama-yast (Old) and /work/SRC/openSUSE:Factory/.rubygem-agama-yast.new.24530 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-agama-yast" Fri Jul 17 18:47:26 2026 rev:49 rq:1366196 version:22.devel456.ce0fb8baf Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-agama-yast/rubygem-agama-yast.changes 2026-07-15 16:30:40.272110080 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-agama-yast.new.24530/rubygem-agama-yast.changes 2026-07-17 18:48:00.114261722 +0200 @@ -1,0 +2,6 @@ +Thu Jul 16 11:01:58 UTC 2026 - Michal Filka <[email protected]> + +- AutoYaST to Agama profile conversion doesn't crash when empty + profile is provided. + +------------------------------------------------------------------- Old: ---- agama-yast-22.devel398.d23cf880d.gem New: ---- agama-yast-22.devel456.ce0fb8baf.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ agama-yast.spec ++++++ --- /var/tmp/diff_new_pack.cbkSmJ/_old 2026-07-17 18:48:01.138296248 +0200 +++ /var/tmp/diff_new_pack.cbkSmJ/_new 2026-07-17 18:48:01.138296248 +0200 @@ -17,7 +17,7 @@ Name: agama-yast -Version: 22.devel398.d23cf880d +Version: 22.devel456.ce0fb8baf Release: 0 %define mod_name agama-yast %define mod_full_name %{mod_name}-%{version} ++++++ rubygem-agama-yast.spec ++++++ --- /var/tmp/diff_new_pack.cbkSmJ/_old 2026-07-17 18:48:01.206298541 +0200 +++ /var/tmp/diff_new_pack.cbkSmJ/_new 2026-07-17 18:48:01.206298541 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-agama-yast -Version: 22.devel398.d23cf880d +Version: 22.devel456.ce0fb8baf Release: 0 %define mod_name agama-yast %define mod_full_name %{mod_name}-%{version} ++++++ agama-yast-22.devel398.d23cf880d.gem -> agama-yast-22.devel456.ce0fb8baf.gem ++++++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/agama/autoyast/converter.rb new/lib/agama/autoyast/converter.rb --- old/lib/agama/autoyast/converter.rb 1980-01-02 01:00:00.000000000 +0100 +++ new/lib/agama/autoyast/converter.rb 1980-01-02 01:00:00.000000000 +0100 @@ -49,7 +49,10 @@ # Converts the given AutoYaST profile to an Agama profile. # # @return [Hash] + # rubocop:disable Metrics/AbcSize def to_agama(profile) + return {} if profile.empty? + [ BootloaderReader.new(profile).read, DASDReader.new(profile).read, @@ -69,6 +72,7 @@ ZFCPReader.new(profile).read ].inject(:merge) end + # rubocop:enable Metrics/AbcSize end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/agama/commands/agama_autoyast.rb new/lib/agama/commands/agama_autoyast.rb --- old/lib/agama/commands/agama_autoyast.rb 1980-01-02 01:00:00.000000000 +0100 +++ new/lib/agama/commands/agama_autoyast.rb 1980-01-02 01:00:00.000000000 +0100 @@ -51,6 +51,18 @@ # Run the command fetching, checking, converting and writing the Agama configuration. def run profile = fetch_profile + + if profile.nil? + if ENV["YAST_SKIP_PROFILE_FETCH_ERROR"] == "1" + # Silently ignore profile fetch errors whenever underlying yast is asked to do so + # We need to create fake agama profile to avoid failures further in processing chain + profile = {} + else + logger.info("Cannot fetch profile from provided location: #{url}") + return false + end + end + unsupported = check_profile(profile) return false unless report_unsupported(unsupported) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 1980-01-02 01:00:00.000000000 +0100 +++ new/metadata 1980-01-02 01:00:00.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: agama-yast version: !ruby/object:Gem::Version - version: 22.devel398.d23cf880d + version: 22.devel456.ce0fb8baf platform: ruby authors: - YaST Team ++++++ po.tar.bz2 ++++++
