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-02-26 21:58:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-configuration-management (Old)
and /work/SRC/openSUSE:Factory/.yast2-configuration-management.new.2378
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-configuration-management"
Fri Feb 26 21:58:28 2021 rev:20 rq:873490 version:4.3.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/yast2-configuration-management/yast2-configuration-management.changes
2020-10-20 16:03:21.417809391 +0200
+++
/work/SRC/openSUSE:Factory/.yast2-configuration-management.new.2378/yast2-configuration-management.changes
2021-02-26 21:58:29.759770473 +0100
@@ -1,0 +2,7 @@
+Thu Feb 18 15:39:36 UTC 2021 - Ancor Gonzalez Sosa <[email protected]>
+
+- Adapted unit test to recent changes in Yast::Report (related to
+ bsc#1179893).
+- 4.3.5
+
+-------------------------------------------------------------------
Old:
----
yast2-configuration-management-4.3.4.tar.bz2
New:
----
yast2-configuration-management-4.3.5.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-configuration-management.spec ++++++
--- /var/tmp/diff_new_pack.TkSIQJ/_old 2021-02-26 21:58:30.243770898 +0100
+++ /var/tmp/diff_new_pack.TkSIQJ/_new 2021-02-26 21:58:30.247770902 +0100
@@ -1,7 +1,7 @@
#
# spec file for package yast2-configuration-management
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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-configuration-management
-Version: 4.3.4
+Version: 4.3.5
Release: 0
URL: https://github.com/yast/yast-migration
Summary: YaST2 - YaST Configuration Management
++++++ yast2-configuration-management-4.3.4.tar.bz2 ->
yast2-configuration-management-4.3.5.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-configuration-management-4.3.4/.github/workflows/ci.yml
new/yast2-configuration-management-4.3.5/.github/workflows/ci.yml
--- old/yast2-configuration-management-4.3.4/.github/workflows/ci.yml
1970-01-01 01:00:00.000000000 +0100
+++ new/yast2-configuration-management-4.3.5/.github/workflows/ci.yml
2021-02-18 17:01:02.000000000 +0100
@@ -0,0 +1,85 @@
+
+# See
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
+
+name: CI
+
+on: [push, pull_request]
+
+jobs:
+ Tests:
+ runs-on: ubuntu-latest
+ container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+ steps:
+
+ - name: Git Checkout
+ uses: actions/checkout@v2
+
+ # just for easier debugging...
+ - name: Inspect Installed Packages
+ run: rpm -qa | sort
+
+ - name: Unit Tests
+ run: rake test:unit
+ # enable code coverage reporting
+ env:
+ COVERAGE: 1
+
+ # send the coverage report to coveralls.io
+ - name: Coveralls Report
+ 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
+
+ steps:
+
+ - name: Git Checkout
+ uses: actions/checkout@v2
+
+ - name: Rubocop
+ run: rake check:rubocop
+
+ Package:
+ runs-on: ubuntu-latest
+ container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+ steps:
+
+ - name: Git Checkout
+ uses: actions/checkout@v2
+
+ - name: Package Build
+ run: yast-ci-ruby -o package
+
+ Yardoc:
+ runs-on: ubuntu-latest
+ container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+ steps:
+
+ - name: Git Checkout
+ uses: actions/checkout@v2
+
+ - name: Yardoc
+ run: rake check:doc
+
+ # downloading the Docker image takes some time so bundling several fast
+ # checks into one job avoids that overhead
+ Checks:
+ runs-on: ubuntu-latest
+ container: registry.opensuse.org/yast/head/containers/yast-ruby:latest
+
+ steps:
+
+ - name: Git Checkout
+ uses: actions/checkout@v2
+
+ - name: Perl Syntax
+ run: yast-ci-ruby -o perl_syntax
+
+ - name: POT Check
+ run: rake check:pot
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-configuration-management-4.3.4/.travis.yml
new/yast2-configuration-management-4.3.5/.travis.yml
--- old/yast2-configuration-management-4.3.4/.travis.yml 2020-10-16
09:58:38.000000000 +0200
+++ new/yast2-configuration-management-4.3.5/.travis.yml 1970-01-01
01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-sudo: required
-language: bash
-services:
- - docker
-
-before_install:
- - docker build -t yast-configuration-management-image .
-script:
- # the "yast-travis-ruby" script is included in the base yastdevel/ruby image
- # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby
-- docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID"
yast-configuration-management-image yast-travis-ruby
-- docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID"
yast-configuration-management-image rake check:doc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-configuration-management-4.3.4/Dockerfile
new/yast2-configuration-management-4.3.5/Dockerfile
--- old/yast2-configuration-management-4.3.4/Dockerfile 2020-10-16
09:58:38.000000000 +0200
+++ new/yast2-configuration-management-4.3.5/Dockerfile 1970-01-01
01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-FROM registry.opensuse.org/yast/head/containers/yast-ruby:latest
-COPY . /usr/src/app
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-configuration-management-4.3.4/README.md
new/yast2-configuration-management-4.3.5/README.md
--- old/yast2-configuration-management-4.3.4/README.md 2020-10-16
09:58:38.000000000 +0200
+++ new/yast2-configuration-management-4.3.5/README.md 2021-02-18
17:01:02.000000000 +0100
@@ -1,7 +1,9 @@
# YaST Configuration Management
-[](
- https://travis-ci.org/yast/yast-configuration-management)
+[](
+https://github.com/yast/yast-configuration-management/actions?query=branch%3Amaster)
+[](
+https://ci.opensuse.org/view/Yast/job/yast-yast-configuration-management-master/)
[](
https://coveralls.io/github/yast/yast-configuration-management?branch=master)
[](
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-configuration-management-4.3.4/package/yast2-configuration-management.changes
new/yast2-configuration-management-4.3.5/package/yast2-configuration-management.changes
---
old/yast2-configuration-management-4.3.4/package/yast2-configuration-management.changes
2020-10-16 09:58:38.000000000 +0200
+++
new/yast2-configuration-management-4.3.5/package/yast2-configuration-management.changes
2021-02-18 17:01:02.000000000 +0100
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Thu Feb 18 15:39:36 UTC 2021 - Ancor Gonzalez Sosa <[email protected]>
+
+- Adapted unit test to recent changes in Yast::Report (related to
+ bsc#1179893).
+- 4.3.5
+
+-------------------------------------------------------------------
Sat Oct 10 08:47:44 UTC 2020 - Imobach Gonzalez Sosa <[email protected]>
- Clean-up the libzypp's raw cache before running the finish client
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-configuration-management-4.3.4/package/yast2-configuration-management.spec
new/yast2-configuration-management-4.3.5/package/yast2-configuration-management.spec
---
old/yast2-configuration-management-4.3.4/package/yast2-configuration-management.spec
2020-10-16 09:58:38.000000000 +0200
+++
new/yast2-configuration-management-4.3.5/package/yast2-configuration-management.spec
2021-02-18 17:01:02.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-configuration-management
-Version: 4.3.4
+Version: 4.3.5
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.3.4/test/spec_helper.rb
new/yast2-configuration-management-4.3.5/test/spec_helper.rb
--- old/yast2-configuration-management-4.3.4/test/spec_helper.rb
2020-10-16 09:58:38.000000000 +0200
+++ new/yast2-configuration-management-4.3.5/test/spec_helper.rb
2021-02-18 17:01:02.000000000 +0100
@@ -35,16 +35,24 @@
add_filter "/test/"
end
+ src_location = File.expand_path("../src", __dir__)
# track all ruby files under src
- src_location = File.expand_path("../../src", __FILE__)
- SimpleCov.track_files("#{src_location}/{module,lib}/**/*.rb")
+ SimpleCov.track_files("#{src_location}/**/*.rb")
+
+ # additionally use the LCOV format for on-line code coverage reporting at CI
+ if ENV["CI"] || ENV["COVERAGE_LCOV"]
+ require "simplecov-lcov"
+
+ SimpleCov::Formatter::LcovFormatter.config do |c|
+ c.report_with_single_file = true
+ # this is the default Coveralls GitHub Action location
+ # https://github.com/marketplace/actions/coveralls-github-action
+ c.single_report_path = "coverage/lcov.info"
+ end
- # use coveralls for on-line code coverage reporting at Travis CI
- if ENV["TRAVIS"]
- require "coveralls"
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
- Coveralls::SimpleCov::Formatter
+ SimpleCov::Formatter::LcovFormatter
]
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/collection_test.rb
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/collection_test.rb
---
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/collection_test.rb
2020-10-16 09:58:38.000000000 +0200
+++
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/collection_test.rb
2021-02-18 17:01:02.000000000 +0100
@@ -29,7 +29,21 @@
subject(:collection) { described_class.new(spec, controller, locator) }
- include_examples "CWM::CustomWidget"
+ context "with a correct value" do
+ before do
+ allow(subject).to receive(:value).and_return [double("item1"),
double("item2")]
+ end
+
+ include_examples "CWM::CustomWidget"
+ end
+
+ context "with the default value" do
+ before do
+ allow(Yast::Report).to receive(:Error)
+ end
+
+ include_examples "CWM::CustomWidget"
+ end
let(:form_spec) do
Y2ConfigurationManagement::Salt::Form.from_file(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/color_test.rb
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/color_test.rb
---
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/color_test.rb
2020-10-16 09:58:38.000000000 +0200
+++
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/color_test.rb
2021-02-18 17:01:02.000000000 +0100
@@ -64,7 +64,13 @@
context "when the current value is not a valid HEX color" do
let(:value) { "#ahrdfH" }
+ it "reports an error" do
+ expect(Yast::Report).to receive(:Error)
+ color.validate
+ end
+
it "returns false" do
+ allow(Yast::Report).to receive(:Error)
expect(color.validate).to eql(false)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/email_test.rb
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/email_test.rb
---
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/email_test.rb
2020-10-16 09:58:38.000000000 +0200
+++
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/email_test.rb
2021-02-18 17:01:02.000000000 +0100
@@ -59,6 +59,7 @@
end
it "returns false" do
+ allow(Yast::Report).to receive(:Error)
expect(email.validate).to eql(false)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/key_value_test.rb
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/key_value_test.rb
---
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/key_value_test.rb
2020-10-16 09:58:38.000000000 +0200
+++
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/key_value_test.rb
2021-02-18 17:01:02.000000000 +0100
@@ -41,7 +41,22 @@
let(:key_widget) { dictionary.send(:key_widget) }
let(:value_widget) { dictionary.send(:value_widget) }
subject(:dictionary) { described_class.new(spec, locator) }
- include_examples "CWM::CustomWidget"
+
+ context "with a valid value" do
+ before do
+ allow(key_widget).to receive(:value).and_return "YaST"
+ end
+
+ include_examples "CWM::CustomWidget"
+ end
+
+ context "with the initial value" do
+ before do
+ allow(Yast::Report).to receive(:Error)
+ end
+
+ include_examples "CWM::CustomWidget"
+ end
describe "#contents" do
it "contains a InputFIeld for the $key and $value" do
@@ -117,7 +132,13 @@
context "when the $key input is empty" do
let(:key_widget_value) { "" }
+ it "reports an error" do
+ expect(Yast::Report).to receive(:Error)
+ subject.validate
+ end
+
it "returns false" do
+ allow(Yast::Report).to receive(:Error)
expect(subject.validate).to eql(false)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/url_test.rb
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/url_test.rb
---
old/yast2-configuration-management-4.3.4/test/y2configuration_management/widgets/url_test.rb
2020-10-16 09:58:38.000000000 +0200
+++
new/yast2-configuration-management-4.3.5/test/y2configuration_management/widgets/url_test.rb
2021-02-18 17:01:02.000000000 +0100
@@ -59,6 +59,7 @@
end
it "returns false" do
+ allow(Yast::Report).to receive(:Error)
expect(url.validate).to eql(false)
end
end