Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-ftp-server for
openSUSE:Factory checked in at 2022-01-25 17:35:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-ftp-server (Old)
and /work/SRC/openSUSE:Factory/.yast2-ftp-server.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-ftp-server"
Tue Jan 25 17:35:49 2022 rev:76 rq:947888 version:4.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-ftp-server/yast2-ftp-server.changes
2021-06-15 16:37:16.449686955 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-ftp-server.new.1938/yast2-ftp-server.changes
2022-01-25 17:36:42.750068883 +0100
@@ -1,0 +2,6 @@
+Fri Jan 21 09:02:31 UTC 2022 - Ladislav Slez??k <[email protected]>
+
+- Unify YaST module mocking in unit tests (related to bsc#1194784)
+- 4.4.2
+
+-------------------------------------------------------------------
Old:
----
yast2-ftp-server-4.4.1.tar.bz2
New:
----
yast2-ftp-server-4.4.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ftp-server.spec ++++++
--- /var/tmp/diff_new_pack.kU0Fxa/_old 2022-01-25 17:36:43.262065357 +0100
+++ /var/tmp/diff_new_pack.kU0Fxa/_new 2022-01-25 17:36:43.274065273 +0100
@@ -1,7 +1,7 @@
#
# spec file for package yast2-ftp-server
#
-# 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-ftp-server
-Version: 4.4.1
+Version: 4.4.2
Release: 0
Summary: YaST2 - FTP configuration
License: GPL-2.0-only
++++++ yast2-ftp-server-4.4.1.tar.bz2 -> yast2-ftp-server-4.4.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ftp-server-4.4.1/.github/workflows/ci.yml
new/yast2-ftp-server-4.4.2/.github/workflows/ci.yml
--- old/yast2-ftp-server-4.4.1/.github/workflows/ci.yml 2021-06-09
13:28:04.000000000 +0200
+++ new/yast2-ftp-server-4.4.2/.github/workflows/ci.yml 2022-01-21
10:16:08.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-ftp-server-4.4.1/README.md
new/yast2-ftp-server-4.4.2/README.md
--- old/yast2-ftp-server-4.4.1/README.md 2021-06-09 13:28:04.000000000
+0200
+++ new/yast2-ftp-server-4.4.2/README.md 2022-01-21 10:16:08.000000000
+0100
@@ -1,5 +1,8 @@
# YaST - The FTP Server Configuration Module #
-[](https://travis-ci.org/yast/yast-ftp-server)
-[](https://ci.opensuse.org/view/Yast/job/yast-ftp-server-master/)
-[](https://coveralls.io/github/yast/yast-ftp-server?branch=master)
+[](
+https://github.com/yast/yast-ftp-server/actions?query=branch%3Amaster)
+[](
+https://ci.opensuse.org/view/Yast/job/yast-yast-ftp-server-master/)
+[](
+https://coveralls.io/github/yast/yast-ftp-server?branch=master)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ftp-server-4.4.1/package/yast2-ftp-server.changes
new/yast2-ftp-server-4.4.2/package/yast2-ftp-server.changes
--- old/yast2-ftp-server-4.4.1/package/yast2-ftp-server.changes 2021-06-09
13:28:04.000000000 +0200
+++ new/yast2-ftp-server-4.4.2/package/yast2-ftp-server.changes 2022-01-21
10:16:08.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Fri Jan 21 09:02:31 UTC 2022 - Ladislav Slez??k <[email protected]>
+
+- Unify YaST module mocking in unit tests (related to bsc#1194784)
+- 4.4.2
+
+-------------------------------------------------------------------
Wed Jun 9 07:11:51 UTC 2021 - Imobach Gonzalez Sosa <[email protected]>
- Fix the label of the certificate input field (bsc#1183786).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ftp-server-4.4.1/package/yast2-ftp-server.spec
new/yast2-ftp-server-4.4.2/package/yast2-ftp-server.spec
--- old/yast2-ftp-server-4.4.1/package/yast2-ftp-server.spec 2021-06-09
13:28:04.000000000 +0200
+++ new/yast2-ftp-server-4.4.2/package/yast2-ftp-server.spec 2022-01-21
10:16:08.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-ftp-server
-Version: 4.4.1
+Version: 4.4.2
Release: 0
Summary: YaST2 - FTP configuration
License: GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ftp-server-4.4.1/test/spec_helper.rb
new/yast2-ftp-server-4.4.2/test/spec_helper.rb
--- old/yast2-ftp-server-4.4.1/test/spec_helper.rb 2021-06-09
13:28:04.000000000 +0200
+++ new/yast2-ftp-server-4.4.2/test/spec_helper.rb 2022-01-21
10:16:08.000000000 +0100
@@ -25,14 +25,7 @@
ENV["LANG"] = "en_US.utf-8"
require "yast"
-
-# 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_module("Users")
+require "yast/rspec"
RSpec.configure do |config|
config.mock_with :rspec do |c|
@@ -69,3 +62,6 @@
]
end
end
+
+# stub classes from other modules to avoid build dependencies
+Yast::RSpec::Helpers.define_yast_module("Users")