Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-firewall for openSUSE:Factory 
checked in at 2022-01-25 17:35:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-firewall (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-firewall.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-firewall"

Tue Jan 25 17:35:50 2022 rev:93 rq:947892 version:4.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-firewall/yast2-firewall.changes    
2021-06-25 15:01:06.968135343 +0200
+++ /work/SRC/openSUSE:Factory/.yast2-firewall.new.1938/yast2-firewall.changes  
2022-01-25 17:36:44.750055108 +0100
@@ -1,0 +2,6 @@
+Fri Jan 21 07:37:21 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Unify YaST module mocking in unit tests (related to bsc#1194784)
+- 4.4.2
+
+-------------------------------------------------------------------

Old:
----
  yast2-firewall-4.4.1.tar.bz2

New:
----
  yast2-firewall-4.4.2.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-firewall.spec ++++++
--- /var/tmp/diff_new_pack.bFKDP4/_old  2022-01-25 17:36:45.318051196 +0100
+++ /var/tmp/diff_new_pack.bFKDP4/_new  2022-01-25 17:36:45.318051196 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yast2-firewall
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-firewall
-Version:        4.4.1
+Version:        4.4.2
 Release:        0
 Summary:        YaST2 - Firewall Configuration
 License:        GPL-2.0-only

++++++ yast2-firewall-4.4.1.tar.bz2 -> yast2-firewall-4.4.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-firewall-4.4.1/.github/workflows/ci.yml 
new/yast2-firewall-4.4.2/.github/workflows/ci.yml
--- old/yast2-firewall-4.4.1/.github/workflows/ci.yml   2021-06-22 
11:13:15.000000000 +0200
+++ new/yast2-firewall-4.4.2/.github/workflows/ci.yml   2022-01-21 
10:19:28.000000000 +0100
@@ -8,7 +8,14 @@
 jobs:
   Tests:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+    strategy:
+      fail-fast: false
+      matrix:
+        distro:  [ "tumbleweed", "leap_latest" ]
+
+    container:
+      image: 
registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
 
     steps:
 
@@ -27,13 +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
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+    strategy:
+      fail-fast: false
+      matrix:
+        distro: [ "leap_latest" ]
+
+    container:
+      image: 
registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
 
     steps:
 
@@ -45,7 +61,14 @@
 
   Package:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+    strategy:
+      fail-fast: false
+      matrix:
+        distro:  [ "tumbleweed", "leap_latest" ]
+
+    container:
+      image: 
registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
 
     steps:
 
@@ -57,7 +80,14 @@
 
   Yardoc:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+    strategy:
+      fail-fast: false
+      matrix:
+        distro: [ "leap_latest" ]
+
+    container:
+      image: 
registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
 
     steps:
 
@@ -71,7 +101,14 @@
   # checks into one job avoids that overhead
   Checks:
     runs-on: ubuntu-latest
-    container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+    strategy:
+      fail-fast: false
+      matrix:
+        distro: [ "leap_latest" ]
+
+    container:
+      image: 
registry.opensuse.org/yast/head/containers_${{matrix.distro}}/yast-ruby
 
     steps:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-firewall-4.4.1/package/yast2-firewall.changes 
new/yast2-firewall-4.4.2/package/yast2-firewall.changes
--- old/yast2-firewall-4.4.1/package/yast2-firewall.changes     2021-06-22 
11:13:15.000000000 +0200
+++ new/yast2-firewall-4.4.2/package/yast2-firewall.changes     2022-01-21 
10:19:28.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Jan 21 07:37:21 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz>
+
+- Unify YaST module mocking in unit tests (related to bsc#1194784)
+- 4.4.2
+
+-------------------------------------------------------------------
 Wed Jun 16 12:33:45 UTC 2021 - Jos?? Iv??n L??pez Gonz??lez <jlo...@suse.com>
 
 - Use Installation::SecuritySettings (related to jsc#PM-2620).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-firewall-4.4.1/package/yast2-firewall.spec 
new/yast2-firewall-4.4.2/package/yast2-firewall.spec
--- old/yast2-firewall-4.4.1/package/yast2-firewall.spec        2021-06-22 
11:13:15.000000000 +0200
+++ new/yast2-firewall-4.4.2/package/yast2-firewall.spec        2022-01-21 
10:19:28.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-firewall
-Version:        4.4.1
+Version:        4.4.2
 Release:        0
 Summary:        YaST2 - Firewall Configuration
 Group:          System/YaST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-firewall-4.4.1/test/test_helper.rb 
new/yast2-firewall-4.4.2/test/test_helper.rb
--- old/yast2-firewall-4.4.1/test/test_helper.rb        2021-06-22 
11:13:15.000000000 +0200
+++ new/yast2-firewall-4.4.2/test/test_helper.rb        2022-01-21 
10:19:28.000000000 +0100
@@ -40,18 +40,6 @@
   end
 end
 
-# stub module to prevent its Import
-# Useful for modules from different yast packages, to avoid build dependencies
-def stub_module(name, fake_class = nil)
-  fake_class = Class.new { def self.fake_method; end } if fake_class.nil?
-  Yast.const_set name.to_sym, fake_class
-end
-
-# stub classes from other modules to speed up a build
-# rubocop:disable Style/SingleLineMethods
-stub_module("AutoInstall", Class.new { def self.issues_list; []; end })
-# rubocop:enable Style/SingleLineMethods
-
 # some tests have translatable messages
 ENV["LANG"] = "en_US.UTF-8"
 ENV["LC_ALL"] = "en_US.UTF-8"
@@ -90,3 +78,6 @@
     ]
   end
 end
+
+# stub classes from other modules to avoid build dependencies
+Yast::RSpec::Helpers.define_yast_module("AutoInstall", methods: [:issues_list])

Reply via email to