Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-registration for openSUSE:Factory checked in at 2022-01-25 17:35:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-registration (Old) and /work/SRC/openSUSE:Factory/.yast2-registration.new.1938 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-registration" Tue Jan 25 17:35:56 2022 rev:82 rq:948460 version:4.4.13 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-registration/yast2-registration.changes 2022-01-11 00:01:59.581245567 +0100 +++ /work/SRC/openSUSE:Factory/.yast2-registration.new.1938/yast2-registration.changes 2022-01-25 17:37:02.441933258 +0100 @@ -1,0 +2,12 @@ +Mon Jan 24 15:29:29 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- Fix detection of base products coming from SCC (bsc#1194989). +- 4.4.13 + +------------------------------------------------------------------- +Fri Jan 21 06:29:22 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz> + +- Unify YaST module mocking in unit tests (related to bsc#1194784) +- 4.4.12 + +------------------------------------------------------------------- Old: ---- yast2-registration-4.4.11.tar.bz2 New: ---- yast2-registration-4.4.13.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-registration.spec ++++++ --- /var/tmp/diff_new_pack.NhcBh6/_old 2022-01-25 17:37:03.537925709 +0100 +++ /var/tmp/diff_new_pack.NhcBh6/_new 2022-01-25 17:37:03.541925682 +0100 @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 4.4.11 +Version: 4.4.13 Release: 0 Summary: YaST2 - Registration Module License: GPL-2.0-only @@ -38,6 +38,8 @@ # ProductSpec API BuildRequires: yast2-packager >= 4.4.13 BuildRequires: yast2-update >= 3.1.36 +# yast/rspec/helpers.rb +BuildRequires: yast2-ruby-bindings >= 4.4.7 # ProductSpec API Requires: yast2 >= 4.4.21 ++++++ yast2-registration-4.4.11.tar.bz2 -> yast2-registration-4.4.13.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/.github/workflows/ci.yml new/yast2-registration-4.4.13/.github/workflows/ci.yml --- old/yast2-registration-4.4.11/.github/workflows/ci.yml 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/.github/workflows/ci.yml 2022-01-24 18:23:49.000000000 +0100 @@ -8,8 +8,14 @@ jobs: Tests: runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + distro: [ "tumbleweed", "leap_latest" ] + container: - image: registry.opensuse.org/yast/head/containers/yast-ruby:latest + image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby steps: @@ -28,14 +34,22 @@ # send the coverage report to coveralls.io - name: Coveralls Report + # send it only from the TW build to avoid duplicate submits + if: ${{ matrix.distro == 'tumbleweed' }} uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} Rubocop: runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + distro: [ "leap_latest" ] + container: - image: registry.opensuse.org/yast/head/containers/yast-ruby:latest + image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby steps: @@ -47,8 +61,14 @@ Package: runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + distro: [ "tumbleweed", "leap_latest" ] + container: - image: registry.opensuse.org/yast/head/containers/yast-ruby:latest + image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby steps: @@ -60,8 +80,14 @@ Yardoc: runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + distro: [ "leap_latest" ] + container: - image: registry.opensuse.org/yast/head/containers/yast-ruby:latest + image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby steps: @@ -75,8 +101,14 @@ # checks into one job avoids that overhead Checks: runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + distro: [ "leap_latest" ] + container: - image: registry.opensuse.org/yast/head/containers/yast-ruby:latest + image: registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby steps: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/package/yast2-registration.changes new/yast2-registration-4.4.13/package/yast2-registration.changes --- old/yast2-registration-4.4.11/package/yast2-registration.changes 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/package/yast2-registration.changes 2022-01-24 18:23:49.000000000 +0100 @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Mon Jan 24 15:29:29 UTC 2022 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> + +- Fix detection of base products coming from SCC (bsc#1194989). +- 4.4.13 + +------------------------------------------------------------------- +Fri Jan 21 06:29:22 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz> + +- Unify YaST module mocking in unit tests (related to bsc#1194784) +- 4.4.12 + +------------------------------------------------------------------- Mon Jan 10 09:51:02 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz> - Removed rubygem-ffi dependency, suse-connect-ng now uses diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/package/yast2-registration.spec new/yast2-registration-4.4.13/package/yast2-registration.spec --- old/yast2-registration-4.4.11/package/yast2-registration.spec 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/package/yast2-registration.spec 2022-01-24 18:23:49.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 4.4.11 +Version: 4.4.13 Release: 0 Summary: YaST2 - Registration Module License: GPL-2.0-only @@ -38,6 +38,8 @@ # ProductSpec API BuildRequires: yast2-packager >= 4.4.13 BuildRequires: yast2-update >= 3.1.36 +# yast/rspec/helpers.rb +BuildRequires: yast2-ruby-bindings >= 4.4.7 # ProductSpec API Requires: yast2 >= 4.4.21 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/src/lib/registration/ui/migration_repos_workflow.rb new/yast2-registration-4.4.13/src/lib/registration/ui/migration_repos_workflow.rb --- old/yast2-registration-4.4.11/src/lib/registration/ui/migration_repos_workflow.rb 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/src/lib/registration/ui/migration_repos_workflow.rb 2022-01-24 18:23:49.000000000 +0100 @@ -562,7 +562,7 @@ # update the $releasever def update_releasever - new_base = selected_migration.find(&:base) + new_base = selected_migration.find(&:isbase) if new_base log.info "Activating new $releasever for base product: #{new_base}" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/src/lib/registration/ui/migration_selection_dialog.rb new/yast2-registration-4.4.13/src/lib/registration/ui/migration_selection_dialog.rb --- old/yast2-registration-4.4.11/src/lib/registration/ui/migration_selection_dialog.rb 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/src/lib/registration/ui/migration_selection_dialog.rb 2022-01-24 18:23:49.000000000 +0100 @@ -181,7 +181,7 @@ # @return [String] textual representation of base product living in arr def base_product_text_for(arr) - base_product = arr.find(&:base) + base_product = arr.find(&:isbase) base_product.friendly_name || base_product.short_name || (base_product.identifier + "-" + base_product.version) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/test/fixtures/migration_sles15_offline_migrations.yml new/yast2-registration-4.4.13/test/fixtures/migration_sles15_offline_migrations.yml --- old/yast2-registration-4.4.11/test/fixtures/migration_sles15_offline_migrations.yml 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/test/fixtures/migration_sles15_offline_migrations.yml 2022-01-24 18:23:49.000000000 +0100 @@ -7,7 +7,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: true + :isbase: true :product_type: base :free: false :release_stage: beta @@ -19,7 +19,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released @@ -31,7 +31,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released @@ -43,7 +43,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released @@ -55,7 +55,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released @@ -67,7 +67,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released @@ -79,7 +79,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released @@ -91,7 +91,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released @@ -103,7 +103,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released @@ -115,7 +115,7 @@ :version: '15' :arch: x86_64 :release_type: - :base: false + :isbase: false :product_type: module :free: true :release_stage: released diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/test/fixtures/migration_to_sles12_sp1.yml new/yast2-registration-4.4.13/test/fixtures/migration_to_sles12_sp1.yml --- old/yast2-registration-4.4.11/test/fixtures/migration_to_sles12_sp1.yml 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/test/fixtures/migration_to_sles12_sp1.yml 2022-01-24 18:23:49.000000000 +0100 @@ -7,5 +7,5 @@ :release_type: :friendly_name: SUSE Linux Enterprise Server SP1 x86_64 :shortname: SLES12-SP1 - :base: true + :isbase: true :product_type: base diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/test/registration/clients/scc_auto_test.rb new/yast2-registration-4.4.13/test/registration/clients/scc_auto_test.rb --- old/yast2-registration-4.4.11/test/registration/clients/scc_auto_test.rb 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/test/registration/clients/scc_auto_test.rb 2022-01-24 18:23:49.000000000 +0100 @@ -2,17 +2,6 @@ require_relative "../../spec_helper" -# we have enabled strict method checking in rspec, so we need to define profile method -# by opening class. Profile is stubbed, so it is just fake class - -module Yast - class Profile - def self.current - {} - end - end -end - describe Registration::Clients::SCCAuto do let(:config) { ::Registration::Storage::Config.instance } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.4.11/test/spec_helper.rb new/yast2-registration-4.4.13/test/spec_helper.rb --- old/yast2-registration-4.4.11/test/spec_helper.rb 2022-01-10 11:22:05.000000000 +0100 +++ new/yast2-registration-4.4.13/test/spec_helper.rb 2022-01-24 18:23:49.000000000 +0100 @@ -81,6 +81,7 @@ end require "yast" +require "yast/rspec" require "y2packager/product" def stub_product_selection name = "AutoinstFunctions" @@ -98,14 +99,8 @@ stub_product_selection -# stub module to prevent its Import -# Useful for modules from different yast packages, to avoid build dependencies -def stub_module(name) - Yast.const_set name.to_sym, Class.new { def self.fake_method; end } -end - # stub classes from other modules to avoid build dependencies -stub_module("Profile") +Yast::RSpec::Helpers.define_yast_module("Profile", methods: [:current]) # load data generators require_relative "factories"