Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-snapper for openSUSE:Factory checked in at 2021-04-23 17:50:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-snapper (Old) and /work/SRC/openSUSE:Factory/.yast2-snapper.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-snapper" Fri Apr 23 17:50:23 2021 rev:62 rq:887197 version:4.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-snapper/yast2-snapper.changes 2019-07-31 14:21:05.774562152 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-snapper.new.12324/yast2-snapper.changes 2021-04-23 17:50:31.142783178 +0200 @@ -1,0 +2,13 @@ +Tue Apr 20 18:14:05 UTC 2021 - Dirk M??ller <[email protected]> + +- stop packaging docdir, it only contained the license which + is now in licensedir (bsc#1184897) +- spec file cleanups +- 4.4.1 + +------------------------------------------------------------------- +Tue Apr 20 13:51:55 UTC 2021 - Ladislav Slez??k <[email protected]> + +- 4.4.0 + +------------------------------------------------------------------- Old: ---- yast2-snapper-4.2.0.tar.bz2 New: ---- yast2-snapper-4.4.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-snapper.spec ++++++ --- /var/tmp/diff_new_pack.NpJDRM/_old 2021-04-23 17:50:31.610783983 +0200 +++ /var/tmp/diff_new_pack.NpJDRM/_new 2021-04-23 17:50:31.614783990 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2-snapper # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,34 +12,29 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: yast2-snapper -Version: 4.2.0 +Version: 4.4.1 Release: 0 Summary: YaST - file system snapshots review License: GPL-2.0-only Group: System/YaST -Url: https://github.com/yast/yast-snapper/ - +URL: https://github.com/yast/yast-snapper/ Source0: %{name}-%{version}.tar.bz2 - -Requires: snapper -Requires: yast2 >= 4.1.60 -Requires: yast2-ruby-bindings >= 1.0.0 -Requires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) - BuildRequires: doxygen BuildRequires: update-desktop-files BuildRequires: yast2 >= 4.1.60 -BuildRequires: yast2-devtools >= 4.2.2 +BuildRequires: yast2-devtools >= 4.4.0 BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) BuildRequires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) - +Requires: snapper +Requires: yast2 >= 4.1.60 +Requires: yast2-ruby-bindings >= 1.0.0 +Requires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) Supplements: (snapper and yast2) - # change to noarch causes problems according to behlert # BuildArch: noarch @@ -57,13 +52,12 @@ %yast_metainfo %files +%license COPYING %{yast_yncludedir} %{yast_clientdir} %{yast_moduledir} %{yast_desktopdir} %{yast_metainfodir} %{yast_icondir} -%doc %{yast_docdir} -%license COPYING %changelog ++++++ yast2-snapper-4.2.0.tar.bz2 -> yast2-snapper-4.4.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-snapper-4.2.0/.github/workflows/ci.yml new/yast2-snapper-4.4.1/.github/workflows/ci.yml --- old/yast2-snapper-4.2.0/.github/workflows/ci.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-snapper-4.4.1/.github/workflows/ci.yml 2021-04-21 09:09:54.000000000 +0200 @@ -0,0 +1,82 @@ + +# 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: POT Check + run: rake check:pot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-snapper-4.2.0/.travis.yml new/yast2-snapper-4.4.1/.travis.yml --- old/yast2-snapper-4.2.0/.travis.yml 2019-06-04 17:51:51.000000000 +0200 +++ new/yast2-snapper-4.4.1/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -sudo: required -language: bash -services: - - docker - -before_install: - - docker build -t yast-snapper-image . - # list the installed packages (just for easier debugging) - - docker run --rm -it yast-snapper-image rpm -qa | sort - -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-snapper-image yast-travis-ruby - - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-snapper-image rake check:doc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-snapper-4.2.0/CONTRIBUTING.md new/yast2-snapper-4.4.1/CONTRIBUTING.md --- old/yast2-snapper-4.2.0/CONTRIBUTING.md 2019-06-04 17:51:51.000000000 +0200 +++ new/yast2-snapper-4.4.1/CONTRIBUTING.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,89 +0,0 @@ -YaST Contribution Guidelines -============================ - -YaST is an open source project and as such it welcomes all kinds of -contributions. If you decide to contribute, please follow these guidelines to -ensure the process is effective and pleasant both for you and the YaST maintainers. - -There are two main forms of contribution: reporting bugs and performing code -changes. - -Bug Reports ------------ - -If you find a problem, please report it either using -[Bugzilla](https://bugzilla.suse.com/enter_bug.cgi?format=guided&product=openSUSE+Factory&component=YaST2) -or [GitHub issues](../../issues). (For Bugzilla, use the [simplified -registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp) -if you don't have an account yet.) - -When creating a bug report, please follow our [bug reporting -guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug). - -We can't guarantee that every bug will be fixed, but we'll try. - -Code Changes ------------- - -We welcome all kinds of code contributions, from simple bug fixes to significant -refactorings and implementation of new features. However, before making any -non-trivial contribution, get in touch with us first ??? this can prevent wasted -effort on both sides. Also, have a look at our [development -documentation](http://en.opensuse.org/openSUSE:YaST_development). - -To send us your code change, use GitHub pull requests. The workflow is as -follows: - - 1. Fork the project. - - 2. Create a topic branch based on `master`. - - 3. Implement your change, including tests (if possible). Make sure you adhere - to the [Ruby style - guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md). - - 4. Update the package version (in `packages/*.spec`, usually by - `rake version:bump`) and add a new entry to the `package/*.changes` file - (by `osc vc package`). - For bigger changes or changes which need longer discussion it is advised to - add this as a separate last commit so it can be easily updated when another - change is merged in the meantime. - - 5. Make sure your change didn't break anything by building the RPM package - (`rake osc:build`). The build process includes running the full testsuite. - - 6. Publish the branch and create a pull request. - - 7. YaST developers will review your change and possibly point out issues. - Adapt the code under their guidance until they are all resolved. - - 8. Finally, the pull request will get merged or rejected. - -See also [GitHub's guide on -contributing](https://help.github.com/articles/fork-a-repo). - -If you want to do multiple unrelated changes, use separate branches and pull -requests. - -### Commits - -Each commit in the pull request should do only one thing, which is clearly -described by its commit message. Especially avoid mixing formatting changes and -functional changes into one commit. When writing commit messages, adhere to -[widely used -conventions](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html). - -If your commit is related to a bug in Bugzilla or an issue on GitHub, make sure -you mention it in the commit message for cross-reference. Use format like -bnc#775814 or gh#yast/yast-foo#42. See also [GitHub -autolinking](https://help.github.com/articles/github-flavored-markdown#references) -and [openSUSE abbreviation -reference](http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Current_set_of_abbreviations). - -Additional Information ----------------------- - -If you have any question, feel free to ask at the [development mailing -list](http://lists.opensuse.org/yast-devel/) or at the -[#yast](http://webchat.freenode.net/?channels=%23yast) IRC channel on freenode. -We'll do our best to provide a timely and accurate answer. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-snapper-4.2.0/Dockerfile new/yast2-snapper-4.4.1/Dockerfile --- old/yast2-snapper-4.2.0/Dockerfile 2019-06-04 17:51:51.000000000 +0200 +++ new/yast2-snapper-4.4.1/Dockerfile 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -FROM registry.opensuse.org/yast/head/containers/yast-ruby:latest -RUN RUBY_VERSION=`rpm --eval '%{rb_default_ruby_abi}'` && \ - zypper --gpg-auto-import-keys --non-interactive in --no-recommends \ - "rubygem($RUBY_VERSION:ruby-dbus)" -COPY . /usr/src/app diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-snapper-4.2.0/README.md new/yast2-snapper-4.4.1/README.md --- old/yast2-snapper-4.2.0/README.md 2019-06-04 17:51:51.000000000 +0200 +++ new/yast2-snapper-4.4.1/README.md 2021-04-21 09:09:54.000000000 +0200 @@ -1,6 +1,8 @@ # YaST - The Snapper Module # -[](https://travis-ci.org/yast/yast-snapper) -[](https://ci.opensuse.org/view/Yast/job/yast-snapper-master/) -[](https://coveralls.io/github/yast/yast-snapper?branch=master) - +[]( +https://github.com/yast/yast-snapper/actions?query=branch%3Amaster) +[]( +https://ci.opensuse.org/view/Yast/job/yast-yast-snapper-master/) +[](https://coveralls.io/r/yast/yast-snapper?branch=master) +[](http://inch-ci.org/github/yast/yast-snapper) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-snapper-4.2.0/package/yast2-snapper.changes new/yast2-snapper-4.4.1/package/yast2-snapper.changes --- old/yast2-snapper-4.2.0/package/yast2-snapper.changes 2019-06-04 17:51:51.000000000 +0200 +++ new/yast2-snapper-4.4.1/package/yast2-snapper.changes 2021-04-21 09:09:54.000000000 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Tue Apr 20 18:14:05 UTC 2021 - Dirk M??ller <[email protected]> + +- stop packaging docdir, it only contained the license which + is now in licensedir (bsc#1184897) +- spec file cleanups +- 4.4.1 + +------------------------------------------------------------------- +Tue Apr 20 13:51:55 UTC 2021 - Ladislav Slez??k <[email protected]> + +- 4.4.0 + +------------------------------------------------------------------- Fri May 31 12:39:43 UTC 2019 - Stasiek Michalski <[email protected]> - Add metainfo (fate#319035) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-snapper-4.2.0/package/yast2-snapper.spec new/yast2-snapper-4.4.1/package/yast2-snapper.spec --- old/yast2-snapper-4.2.0/package/yast2-snapper.spec 2019-06-04 17:51:51.000000000 +0200 +++ new/yast2-snapper-4.4.1/package/yast2-snapper.spec 2021-04-21 09:09:54.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2-snapper # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -15,30 +15,26 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + Name: yast2-snapper -Version: 4.2.0 +Version: 4.4.1 Release: 0 -Group: System/YaST Summary: YaST - file system snapshots review -Url: https://github.com/yast/yast-snapper/ License: GPL-2.0-only - +Group: System/YaST +URL: https://github.com/yast/yast-snapper/ Source0: %{name}-%{version}.tar.bz2 - -Requires: snapper -Requires: yast2 >= 4.1.60 -Requires: yast2-ruby-bindings >= 1.0.0 -Requires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) - BuildRequires: doxygen BuildRequires: update-desktop-files BuildRequires: yast2 >= 4.1.60 -BuildRequires: yast2-devtools >= 4.2.2 +BuildRequires: yast2-devtools >= 4.4.0 BuildRequires: rubygem(%{rb_default_ruby_abi}:rspec) BuildRequires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) - +Requires: snapper +Requires: yast2 >= 4.1.60 +Requires: yast2-ruby-bindings >= 1.0.0 +Requires: rubygem(%{rb_default_ruby_abi}:ruby-dbus) Supplements: (snapper and yast2) - # change to noarch causes problems according to behlert # BuildArch: noarch @@ -56,11 +52,12 @@ %yast_metainfo %files +%license COPYING %{yast_yncludedir} %{yast_clientdir} %{yast_moduledir} %{yast_desktopdir} %{yast_metainfodir} %{yast_icondir} -%doc %{yast_docdir} -%license COPYING + +%changelog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-snapper-4.2.0/test/test_helper.rb new/yast2-snapper-4.4.1/test/test_helper.rb --- old/yast2-snapper-4.2.0/test/test_helper.rb 2019-06-04 17:51:51.000000000 +0200 +++ new/yast2-snapper-4.4.1/test/test_helper.rb 2021-04-21 09:09:54.000000000 +0200 @@ -2,23 +2,41 @@ require "yast" +RSpec.configure do |config| + config.mock_with :rspec do |mocks| + # If you misremember a method name both in code and in tests, + # will save you. + # https://relishapp.com/rspec/rspec-mocks/v/3-0/docs/verifying-doubles/partial-doubles + # + # With graceful degradation for RSpec 2 + mocks.verify_partial_doubles = true if mocks.respond_to?(:verify_partial_doubles=) + end +end + if ENV["COVERAGE"] require "simplecov" SimpleCov.start do - # Don't measure coverage of the tests themselves. 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}/**/*.rb") - # use coveralls for on-line code coverage reporting at Travis CI - if ENV["TRAVIS"] - require "coveralls" + # 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 + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, - Coveralls::SimpleCov::Formatter + SimpleCov::Formatter::LcovFormatter ] end end
