Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-configuration-management for openSUSE:Factory checked in at 2021-12-22 20:17:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-configuration-management (Old) and /work/SRC/openSUSE:Factory/.yast2-configuration-management.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-configuration-management" Wed Dec 22 20:17:51 2021 rev:22 rq:941863 version:4.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-configuration-management/yast2-configuration-management.changes 2021-05-02 18:36:06.924947968 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-configuration-management.new.2520/yast2-configuration-management.changes 2021-12-22 20:18:34.107861164 +0100 @@ -1,0 +2,6 @@ +Tue Dec 21 14:19:55 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- Adapt to ruby3 (bsc#1193192) +- 4.4.1 + +------------------------------------------------------------------- Old: ---- yast2-configuration-management-4.4.0.tar.bz2 New: ---- yast2-configuration-management-4.4.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-configuration-management.spec ++++++ --- /var/tmp/diff_new_pack.FHF7uz/_old 2021-12-22 20:18:34.519861357 +0100 +++ /var/tmp/diff_new_pack.FHF7uz/_new 2021-12-22 20:18:34.527861361 +0100 @@ -17,7 +17,7 @@ Name: yast2-configuration-management -Version: 4.4.0 +Version: 4.4.1 Release: 0 URL: https://github.com/yast/yast-migration Summary: YaST2 - YaST Configuration Management ++++++ yast2-configuration-management-4.4.0.tar.bz2 -> yast2-configuration-management-4.4.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.0/.github/workflows/ci.yml new/yast2-configuration-management-4.4.1/.github/workflows/ci.yml --- old/yast2-configuration-management-4.4.0/.github/workflows/ci.yml 2021-04-30 18:14:20.000000000 +0200 +++ new/yast2-configuration-management-4.4.1/.github/workflows/ci.yml 2021-12-21 16:06:05.000000000 +0100 @@ -8,7 +8,8 @@ jobs: Tests: runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + container: + image: registry.opensuse.org/yast/head/containers/yast-ruby:latest steps: @@ -33,7 +34,8 @@ Rubocop: runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + container: + image: registry.opensuse.org/yast/head/containers/yast-ruby:latest steps: @@ -45,7 +47,8 @@ Package: runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + container: + image: registry.opensuse.org/yast/head/containers/yast-ruby:latest steps: @@ -57,7 +60,8 @@ Yardoc: runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + container: + image: registry.opensuse.org/yast/head/containers/yast-ruby:latest steps: @@ -71,7 +75,8 @@ # checks into one job avoids that overhead Checks: runs-on: ubuntu-latest - container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + container: + image: registry.opensuse.org/yast/head/containers/yast-ruby:latest steps: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.0/package/yast2-configuration-management.changes new/yast2-configuration-management-4.4.1/package/yast2-configuration-management.changes --- old/yast2-configuration-management-4.4.0/package/yast2-configuration-management.changes 2021-04-30 18:14:20.000000000 +0200 +++ new/yast2-configuration-management-4.4.1/package/yast2-configuration-management.changes 2021-12-21 16:06:05.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Dec 21 14:19:55 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- Adapt to ruby3 (bsc#1193192) +- 4.4.1 + +------------------------------------------------------------------- Tue Apr 20 13:51:55 UTC 2021 - Ladislav Slez??k <lsle...@suse.cz> - 4.4.0 (bsc#1185510) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.0/package/yast2-configuration-management.spec new/yast2-configuration-management-4.4.1/package/yast2-configuration-management.spec --- old/yast2-configuration-management-4.4.0/package/yast2-configuration-management.spec 2021-04-30 18:14:20.000000000 +0200 +++ new/yast2-configuration-management-4.4.1/package/yast2-configuration-management.spec 2021-12-21 16:06:05.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-configuration-management -Version: 4.4.0 +Version: 4.4.1 Release: 0 Url: https://github.com/yast/yast-migration Summary: YaST2 - YaST Configuration Management diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.0/src/lib/y2configuration_management/configurators/base.rb new/yast2-configuration-management-4.4.1/src/lib/y2configuration_management/configurators/base.rb --- old/yast2-configuration-management-4.4.0/src/lib/y2configuration_management/configurators/base.rb 2021-04-30 18:14:20.000000000 +0200 +++ new/yast2-configuration-management-4.4.1/src/lib/y2configuration_management/configurators/base.rb 2021-12-21 16:06:05.000000000 +0100 @@ -117,9 +117,10 @@ # failed or was aborted. # # @see .mode - def prepare(opts = {}) + def prepare(**opts) + puts "prepare with #{opts.inspect}" ::FileUtils.mkdir_p(target_path(config.work_dir)) if mode?(:masterless) - send("prepare_#{config.mode}", opts) + send("prepare_#{config.mode}", **opts) end # Determines whether the configurator is operating in the given module diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.0/src/lib/y2configuration_management/configurators/puppet.rb new/yast2-configuration-management-4.4.1/src/lib/y2configuration_management/configurators/puppet.rb --- old/yast2-configuration-management-4.4.0/src/lib/y2configuration_management/configurators/puppet.rb 2021-04-30 18:14:20.000000000 +0200 +++ new/yast2-configuration-management-4.4.1/src/lib/y2configuration_management/configurators/puppet.rb 2021-12-21 16:06:05.000000000 +0100 @@ -29,14 +29,14 @@ # @return [Symbol] :finish when configuration was successful; :back when the user # :abort when configuration failed or was aborted. - mode(:masterless) do |_opts| + mode(:masterless) do |**_opts| update_configuration fetch_config(config.modules_url, target_path(config.work_dir)) ? :finish : :abort end # @return [Symbol] :finish when configuration was successful; :abort when configuration failed # or was aborted. - mode(:client) do |_opts| + mode(:client) do |**_opts| update_configuration fetch_keys(config.keys_url, private_key_path, public_key_path) ? :finish : :abort end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.0/src/lib/y2configuration_management/configurators/salt.rb new/yast2-configuration-management-4.4.1/src/lib/y2configuration_management/configurators/salt.rb --- old/yast2-configuration-management-4.4.0/src/lib/y2configuration_management/configurators/salt.rb 2021-04-30 18:14:20.000000000 +0200 +++ new/yast2-configuration-management-4.4.1/src/lib/y2configuration_management/configurators/salt.rb 2021-12-21 16:06:05.000000000 +0100 @@ -39,7 +39,7 @@ end # @see Base#prepare - mode(:client) do |_opts| + mode(:client) do |**_opts| fetch_keys(config.keys_url, private_key_path, public_key_path) update_configuration ? :finish : :abort end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-configuration-management-4.4.0/test/y2configuration_management/configurators/base_test.rb new/yast2-configuration-management-4.4.1/test/y2configuration_management/configurators/base_test.rb --- old/yast2-configuration-management-4.4.0/test/y2configuration_management/configurators/base_test.rb 2021-04-30 18:14:20.000000000 +0200 +++ new/yast2-configuration-management-4.4.1/test/y2configuration_management/configurators/base_test.rb 2021-12-21 16:06:05.000000000 +0100 @@ -46,11 +46,13 @@ before do allow(config).to receive(:work_dir).and_return(work_dir) allow(FileUtils).to receive(:mkdir_p) + # both needed as ruby2 pass empty hash, but ruby3 pass nothing allow(configurator).to receive(:send).with("prepare_client", {}) + allow(configurator).to receive(:send).with("prepare_client") end it "calls to 'prepare_MODE' method with passed options" do - expect(configurator).to receive(:send).with("prepare_client", {}) + expect(configurator).to receive(:send) { |arg, **_| expect(arg).to eq "prepare_client" } configurator.prepare end @@ -58,7 +60,9 @@ let(:master) { nil } before do + # both needed as ruby2 pass empty hash, but ruby3 pass nothing allow(configurator).to receive(:send).with("prepare_masterless", {}) + allow(configurator).to receive(:send).with("prepare_masterless") end it "creates the work_dir" do